Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By chinlungv1.1.1MITIn 1 marketplace
Per-goal scope ledger (.claude/scope-ledger.local.md, converge or harvest mode; the next request on the same line of work is appended with `add`, not a new ledger) plus a per-repository follow-ups backlog, a `scope facts` script that computes the mechanical half of a finding's triage (inside the branch diff or not, sibling occurrences, MUST-rule candidates — also the neutral state for a calibrated classifier), a `scope stats` script that sums each review tool's finding outcomes (fixed / deferred / wrong / intentional / moot, precision) across projects, and six fail-open hooks: the first source write without a ledger — through Edit/Write or through sed -i / perl -pi / redirects / cp / mv / patch in Bash — is denied once; the first prompt of a session gets a non-blocking reminder; review entries (a Skill call, a typed slash command, or a Workflow run such as `tree` with recipe review or `claude-security:scan`) inject a mode-aware finding-triage policy — in full once per session, a one-line pointer after — (adopt what belongs to this change plus exploitable security findings, sibling defects, MUST rules and boy-scout fixes; defer the rest with severity, reason and destination; deferring is scheduling, not dismissal) and count rounds; a Stop with open in-scope items is blocked once per state; SessionStart replays the ledger and announces open follow-ups. Keeps review-driven work from expanding past the original request without letting real bugs or security findings be skipped.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
scope, scope-creep, triage, review-findings, stop-hook, session-continuity, compaction
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A per-goal scope ledger, a per-repository follow-ups backlog, and six fail-open hooks that keep review-driven work from expanding past the original request — without letting a real bug or an exploitable security finding be skipped. The goal is written down before the first write, every review finding is triaged into the ledger before it becomes work, deferring is scheduling rather than dismissal, a session cannot end quietly with in-scope items open, and the ledger comes back after a context compaction.
Layered review (self-review before commit, cross-vendor review, security review before push, PR gate, CI review, periodic audits) is a good thing — a missed real bug costs far more than a false positive. But every layer is also a finding generator, and nothing sits between "a reviewer produced a finding" and "that finding became work". Findings become fixes, fixes trigger the next review, the next review produces more findings. The original request is never marked done, and after a compaction it is not even in the transcript any more.
The opposite failure is just as real: a scope rule applied naively turns "not this change" into "not my problem", and a real defect goes into a list nobody reads. This plugin is built to fail neither way.
Measured before designing it (aggregates only): across every recorded session the built-in todo tool had been called zero times; one four-day session started from a single bug, ran 23 security reviews across 17 PRs and ended with the user asking "what are D12, D42, D43 … about"; another used the task tool for every batch and the user still asked five separate times what was left undone, because the audit's backlog lived outside the task list; nine of thirteen long sessions switch branches three or more times under one goal; about a quarter of sessions start from an audit-type request; hundreds of source files were written through sed -i, perl -pi and heredoc redirects rather than the Edit tool.
/plugin marketplace add chinlung/claude-dev-workflow
/plugin install scope-ledger@scl-claude-plugins
Then, in any git project, the first time Claude writes a source file the gate asks for a ledger:
/scope-ledger:scope init "fix the notification that is not sent when a roster is uploaded"
That is the whole ceremony. Everything else is the hooks reminding, counting and blocking at the right moments.
Add *.local.md to the project's .gitignore if it is not there yet — init checks with git check-ignore, names the exact line to add, and repeats the reminder on every status until it is done, but never edits .gitignore itself.
first source write (Edit/Write, or sed -i / perl -pi / first prompt of the session
> / tee / cp / mv / patch in Bash) └─ scope-prompt-reminder.sh (UserPromptSubmit)
└─ scope-gate.sh / scope-gate-bash.sh (PreToolUse) no ledger? one non-blocking line: init, plus
main thread, project has no ledger? open follow-ups count (HIGH first); once per session
→ deny ONCE, ask for `scope init`
(retry passes; the two gates share one flag; review-entry Skill call or typed /command | review Workflow | companion | review Agent
subagents, .claude/, openspec/, $TMPDIR, └─ scope-review-triage.sh (PostToolUse, UserPromptSubmit)
outside-project paths exempt) entry: review_rounds += 1 and inject the mode's policy
companion / Agent: inject only
(policy in full once per session, a pointer after)
Stop converge: warn from round 3 · harvest: check-in every 5
└─ scope-stop-check.sh
In scope still has "- [ ]" items? SessionStart (startup/resume/compact/clear)
→ block ONCE per distinct state, ask for a └─ scope-session-start.sh
per-item status; whether work continues is ledger → frontmatter + whole In scope + counts
the user's last instruction, not the hook's follow-ups → open count, HIGH items listed
Every hook exits 0 on any unexpected condition (missing jq, unreadable ledger, not a git repo). They force the judgement to happen and be written down; they do not evaluate it.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub chinlung/claude-dev-workflow --plugin scope-ledgerPlugins from other owners that cover similar ground