← ClaudeAtlas

scope-instructionslisted

Sorts a repo's agent instructions into the homes that load them when they are needed. Weighs each section of a root CLAUDE.md or AGENTS.md, each folder README's must-know lines and each file another coding tool reads against root, a paths: rule, a nested CLAUDE.md or AGENTS.md, a skill, a hook, a README or nowhere, by the event that loads each home and whether that event comes before the mistake. Reads every instruction file itself, in its own context, so the scoping rule loads where the proposal is written. Measures the repo's own session transcripts per folder with a bundled script: who worked there, whether they opened its README first, which nested files and rules loaded, how often they compacted. Finds an AGENTS.md a CLAUDE.md silences and a fact two tools' files hold apart. Proposes every move in one table and edits only on approval. Where /init and /doctor refresh and trim a root file, this moves what does not belong there.
wardawgmalvicious/claude-plugins · ★ 0 · AI & Automation · score 78
Install: claude install-skill wardawgmalvicious/claude-plugins
# Scope instructions: where each piece of guidance lives The question about a repo's agent guidance is rarely what to write and usually where. Each home loads on its own trigger and misses in silence: the guidance is on disk, correct, and never read. The built-ins answer the other questions. In a trial on 2026-10-15, `CLAUDE_CODE_NEW_INIT=1` `/init` and the `claude-md-improver` skill each cut derivable lines, surfaced a README's rule and caught a stale command, and in three runs neither moved a section out of a root `CLAUDE.md` into a nested file or a `paths:` rule. This skill asks what they skip, of every section: **what event loads its home, and does that event come before the mistake it guards against?** The homes and how each fails live in one place, the user-scope rule `agent-instructions-scoping.md`, which this skill applies and does not restate. It **proposes**; files change only on approval, and committing is `commit-changes`'s. Past that rule, the live page: code.claude.com by the `claude-code-docs` MCP server or `curl -s https://code.claude.com/docs/en/<page>.md`, and another tool's file by that tool's own markdown source, else `WebFetch`, saying it read a summary. A live page that contradicts a line here wins: say so, act on the page, and route the fix by `capture-learning`, bar a dated measured line that names the page it overrules and the call that measured it, which a page changed since its date sends back to re-measure. An observed claim is cited or marked p