Skip to content
Agentmart
Submit a tool

scope-lock

Produces a short context manifest of which files and directories are in-bounds for the current task on a medium or large existing codebase.

Skill by lynchypin

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/lynchypin-scope-lock

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Produces a short context manifest of which files and directories are in-bounds for the current task on a medium or large existing codebase. Keeps subsequent reading inside that boundary unless explicitly widened. Prevents context bloat.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/scope-lock

What's inside

Skill name
scope-lock
Description
Produces a short context manifest of which files and directories are in-bounds for the current task on a medium or large existing codebase. Keeps subsequent reading inside that boundary unless explicitly widened. Prevents context bloat.
License
MIT
Instructions
39 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Scope-lock

Before researching anything in a codebase big enough that reading all of
it would be wasteful, decide what's in bounds and write it down.

## Process

1. **Start from whatever's already known.** If the user or wayfinder
   already named a specific area ("the payments module", "the login
   flow"), that's the starting point.

2. **If nothing specific has been named**, do a cheap structural pass:
   top-level directory listing, `README`/root `CLAUDE.md` if present,
   `git log --stat -20` for recently-active areas, and any subdirectory
   `CLAUDE.md` files near likely locations. Do not read full file
   contents broadly — structure and names are enough.

3. **Propose a boundary.** State it back to the user: "This looks like
   it lives mostly in `src/checkout/` and touches `src/payments/` —
   I'll focus there." One confirmation is enough.

4. **Write the manifest.** Record the in-bounds paths in
   `.agent/state.json` (add a `context_manifest` field if needed).

5. **Hold the boundary.** Treat anything outside the manifest as
   out-of-bounds for Read/Grep/Glob. If the boundary proves too narrow,
   say so and widen explicitly. If the research pass was substantial
   and `handoff` is detected, use it to compact before continuing.

6. **Re-scope per task, not per project.** A manifest set for one
   feature doesn't carry to an unrelated task in the same repo.

## What this skill must never do

- Never read an entire large repository before scoping.
- Never lock scope without at least one confirmation from the user.
- Never treat the manifest as permanent across unrelated tasks.

From lynchypin/project-onboard, MIT.

More from lynchypin/project-onboard

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 5, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from lynchypin

Cite this page

scope-lock skill. Agent Mart. https://agentmart.dev/skills/lynchypin-scope-lock (last updated 2026-10-24)