[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MMRMTWPPBEDEH5AZK384M":3,"skill-same:01M77MMRMTWPPBEDEH5AZK384M":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":49},"01M77MMRMTWPPBEDEH5AZK384M","reanchor",null,"Check a session's working assumptions for drift: PRs, issues and branches a handoff or plan cites, base-branch moves, renamed skills. Use when resuming an old plan or handoff: 'is this still current', 'has main moved since'. To resume: \u002Fsession-flow:keep-going.","melodic-software\u002Fclaude-code-plugins","melodic-software","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F58273638?v=4","01M77JVQTXNGKCE4MDFY2BC936","Melodic Software","01M77JVQVN9QDWKAH6W03ANP76",30,"MIT","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsession-flow\u002Fskills\u002Freanchor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Check a session's working assumptions for drift: PRs, issues and branches a handoff or plan cites, base-branch moves, renamed skills. Use when resuming an old plan or handoff: 'is this still current', 'has main moved since'. To resume: \u002Fsession-flow:keep-going.\"\nuser-invocable: true\ndisable-model-invocation: false\nmetadata:\n  workflow-stage: session\n  summary: Verify working assumptions are still true before building on them\n---\n\n# Reanchor\n\n## Purpose\n\nLong-lived and resumed sessions act on stale premises: main has moved, a\nreferenced PR merged or changed shape, a cited skill was renamed, an installed\nplugin shipped a new version, a locked plan references work that has since\nlanded. This skill checks each premise the session's inputs depend on against\nthe current state, reports what drifted, and hands back a corrected picture to\nplan from.\n\nIt verifies premises; it does not resume the work. Run it before continuing on\nold inputs, then hand off by invoking `\u002Fsession-flow:keep-going` via the Skill tool to actually pick the work\nback up.\n\n## What it re-anchors\n\n1. **Handoff \u002F plan premises.** For every PR, issue, or branch a handoff or\n   locked plan references, confirm it is still in the state the document claims:\n   open vs merged\u002Fclosed, same head, same base, not renamed. A plan that\n   assumes an in-flight PR is often built on one that already landed.\n2. **Base-branch drift.** Check whether the working branch is now behind its\n   base. Derive the base from the base branch of the PR whose head is the current\n   working branch (or, absent such a PR, the remote's default HEAD), not another\n   referenced PR's base and not an assumed `main`, and mark the check\n   unverifiable if the base cannot be resolved. Fetch that resolved base ref\n   explicitly and count against the just-fetched tip: `git fetch \u003Cremote>\n   \u003Cbase-branch>`, then measure against `FETCH_HEAD`\n   (e.g. `git rev-list --count HEAD..FETCH_HEAD`). A bare `git fetch`, or a count\n   against a local `origin\u002F\u003Cbase>` tracking ref, can read falsely clean in a\n   single-branch or shallow checkout where that ref was never updated.\n   `FETCH_HEAD` always holds what this fetch actually retrieved. If the fetch\n   cannot run, report the check as unverifiable rather than assuming none. Unless the inputs record a base-tip\n   or merge-base baseline, report the *current* divergence rather than claiming\n   it all accrued since the inputs were written, the branch may already have\n   been behind.\n3. **Renamed \u002F retired \u002F version-drifted surfaces.** For the skills, plugins,\n   and commands the session's inputs name, confirm they still exist under that\n   name and, when the session is working inside a plugin's source tree, that\n   the version effective in the current project's scope (honoring install-scope\n   precedence, not merely the highest installed version a plugin listing\n   reports; pointer: \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Finstall#choose-an-install-scope>)\n   matches that source manifest; a rename or version bump\n   silently invalidates cited invocations and assumed behavior. When a cited plugin's source manifest is not\n   locatable in the working tree, report the version comparison as unverifiable\n   rather than guessing Claude Code's internal cache layout.\n4. **Stale memory-tier files.** For the session's handoff \u002F todo \u002F working-memory\n   files, flag entries whose subjects have since merged or landed, so the next\n   step neither re-does settled work nor chases a closed thread.\n5. **The recorded goal, and whether the planned work still serves it.** A\n   handoff's `Original goal` is a premise like any other, a documented claim\n   about what the work is FOR, and the cross-link comparison below is the one\n   test only reanchor performs (the other resume-path checks read a single\n   document). Confirm it is present; confirm a document that chains from another\n   carries the prior link's quote **unchanged**, read from that file rather than\n   from the current document's own wording; then confirm the planned next\n   actions still connect to it, stated in one sentence. A quote that was\n   re-derived instead of copied is reported as drift between the links, the\n   paraphrase IS the drift, and it is invisible at any single hop because each\n   rewording is individually plausible. For a shape-3 handoff (`handoff_shape: 3`)\n   that comparison is\n   `python3 -X utf8 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsave_point.py\" validate \u003Cfile>`\n   (`python` when `python3` is absent, 3.10+) on each shape-3 link: an exit 0 means\n   that link's goal section starts with its predecessor's verbatim, and a FAIL line\n   naming `Original goal` is the drift finding, so the links' text never needs\n   reading. Open the prior link's file only for a shape-1 or shape-2 link, or when\n   `validate` cannot run. An absent `Original goal` is itself a\n   defect: never infer the goal from the process the document describes, because\n   that process is the thing that drifted. Ask for it in the user's own words.\n   Where the next actions cannot be tied to the goal in a sentence, that is the\n   finding, not a wording problem.\n\n## Flow\n\n1. Gather the session's inputs, the handoff \u002F plan \u002F memory files, the\n   `Original goal` they record, and any PRs, issues, branches, skills, or plugin\n   versions they name. When an input chains from a prior handoff, the goal check\n   compares links, which a single document cannot do: validate a shape-3 input,\n   and open the prior file for an older one (check 5).\n2. Run the five checks above against live reality. Fetch\u002Fread the live source\n   (`git fetch` the base, query `gh`, read installed vs repo-source manifests).\n   When a check cannot reach what it needs (no network, no `gh`, no fetch),\n   report that premise as **unverifiable** rather than assuming it is unchanged;\n   a silent \"no drift\" from stale local state is the exact failure this skill\n   exists to prevent.\n3. Report drift as a short list, premise → claimed state → actual state, plus\n   the re-anchored picture. Surface it; do not silently rewrite the plan or\n   auto-fix. The session re-plans on the corrected reality.\n\n## What this skill does NOT do\n\n- **Does not inventory worktrees.** Enumerating every worktree by\n  path \u002F branch \u002F PR \u002F commit-age staleness is `\u002Fsource-control:worktree`\n  status's job when that plugin is installed (it reports no behind-base or\n  dirty-tree signal); reanchor does its own base-drift check (a `git`\n  behind-count on the working branch) and never reimplements that\n  cross-worktree inventory.\n- **Does not classify PR feedback or run the PR loop.** Per-PR fresh-evidence\n  discipline and feedback triage are `\u002Fsource-control:babysit-prs`'s job when\n  it is installed; reanchor never performs them. It only checks whether a\n  *referenced* PR is still in its claimed state.\n- **Does not re-anchor a standing rule or discipline.** Correcting behavioral\n  doctrine mid-session (a standing-rule re-anchor) is a separate concern; this\n  skill re-anchors factual assumptions against live reality, not rules.\n- **Does not solely own the goal check.** Reanchor is opt-in, so a check living\n  only here fires only once staleness is already suspected, which is exactly\n  when a drifted chain looks healthiest. The resume-prompt directive carries it\n  on every resume and `\u002Fsession-flow:keep-going` carries it on the interrupted\n  one; this copy serves the deliberate \"is this still current\" pass over an old\n  plan, where the other two never run.\n- **Does not auto-fix drift.** It reports; the session decides. On a goal\n  misalignment that means naming it and handing off by invoking\n  `\u002Fsession-flow:keep-going` via the Skill tool,\n  reanchor never re-derives the next action or amends a recorded goal, which\n  changes only on an explicit statement from whoever set it.\n\n## Gotchas\n\n- A premise that \"looks\" current is the failure mode: a PR cited as open may\n  have merged minutes ago; a plugin cited by version may have bumped. Check the\n  live source, never the input's own claim.\n- Scope to what the session's inputs actually reference. Re-anchoring is bounded\n  by the premises in play, not a full-repo audit.\n","# Reanchor\n\n## Purpose\n\nLong-lived and resumed sessions act on stale premises: main has moved, a\nreferenced PR merged or changed shape, a cited skill was renamed, an installed\nplugin shipped a new version, a locked plan references work that has since\nlanded. This skill checks each premise the session's inputs depend on against\nthe current state, reports what drifted, and hands back a corrected picture to\nplan from.\n\nIt verifies premises; it does not resume the work. Run it before continuing on\nold inputs, then hand off by invoking `\u002Fsession-flow:keep-going` via the Skill tool to actually pick the work\nback up.\n\n## What it re-anchors\n\n1. **Handoff \u002F plan premises.** For every PR, issue, or branch a handoff or\n   locked plan references, confirm it is still in the state the document claims:\n   open vs merged\u002Fclosed, same head, same base, not renamed. A plan that\n   assumes an in-flight PR is often built on one that already landed.\n2. **Base-branch drift.** Check whether the working branch is now behind its\n   base. Derive the base from the base branch of the PR whose head is the current\n   working branch (or, absent such a PR, the remote's default HEAD), not another\n   referenced PR's base and not an assumed `main`, and mark the check\n   unverifiable if the base cannot be resolved. Fetch that resolved base ref\n   explicitly and count against the just-fetched tip: `git fetch \u003Cremote>\n   \u003Cbase-branch>`, then measure against `FETCH_HEAD`\n   (e.g. `git rev-list --count HEAD..FETCH_HEAD`). A bare `git fetch`, or a count\n   against a local `origin\u002F\u003Cbase>` tracking ref, can read falsely clean in a\n   single-branch or shallow checkout where that ref was never updated.\n   `FETCH_HEAD` always holds what this fetch actually retrieved. If the fetch\n   cannot run, report the check as unverifiable rather than assuming none. Unless the inputs record a base-tip\n   or merge-base baseline, report the *current* divergence rather than claiming\n   it all accrued since the inputs were written, the branch may already have\n   been behind.\n3. **Renamed \u002F retired \u002F version-drifted surfaces.** For the skills, plugins,\n   and commands the session's inputs name, confirm they still exist under that\n   name and, when the session is working inside a plugin's source tree, that\n   the version effective in the current project's scope (honoring install-scope\n   precedence, not merely the highest installed version a plugin listing\n   reports; pointer: \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Finstall#choose-an-install-scope>)\n   matches that source manifest; a rename or version bump\n   silently invalidates cited invocations and assumed behavior. When a cited plugin's source manifest is not\n   locatable in the working tree, report the version comparison as unverifiable\n   rather than guessing Claude Code's internal cache layout.\n4. **Stale memory-tier files.** For the session's handoff \u002F todo \u002F working-memory\n   files, flag entries whose subjects have since merged or landed, so the next\n   step neither re-does settled work nor chases a closed thread.\n5. **The recorded goal, and whether the planned work still serves it.** A\n   handoff's `Original goal` is a premise like any other, a documented claim\n   about what the work is FOR, and the cross-link comparison below is the one\n   test only reanchor performs (the other resume-path checks read a single\n   document). Confirm it is present; confirm a document that chains from another\n   carries the prior link's quote **unchanged**, read from that file rather than\n   from the current document's own wording; then confirm the planned next\n   actions still connect to it, stated in one sentence. A quote that was\n   re-derived instead of copied is reported as drift between the links, the\n   paraphrase IS the drift, and it is invisible at any single hop because each\n   rewording is individually plausible. For a shape-3 handoff (`handoff_shape: 3`)\n   that comparison is\n   `python3 -X utf8 \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsave_point.py\" validate \u003Cfile>`\n   (`python` when `python3` is absent, 3.10+) on each shape-3 link: an exit 0 means\n   that link's goal section starts with its predecessor's verbatim, and a FAIL line\n   naming `Original goal` is the drift finding, so the links' text never needs\n   reading. Open the prior link's file only for a shape-1 or shape-2 link, or when\n   `validate` cannot run. An absent `Original goal` is itself a\n   defect: never infer the goal from the process the document describes, because\n   that process is the thing that drifted. Ask for it in the user's own words.\n   Where the next actions cannot be tied to the goal in a sentence, that is the\n   finding, not a wording problem.\n\n## Flow\n\n1. Gather the session's inputs, the handoff \u002F plan \u002F memory files, the\n   `Original goal` they record, and any PRs, issues, branches, skills, or plugin\n   versions they name. When an input chains from a prior handoff, the goal check\n   compares links, which a single document cannot do: validate a shape-3 input,\n   and open the prior file for an older one (check 5).\n2. Run the five checks above against live reality. Fetch\u002Fread the live source\n   (`git fetch` the base, query `gh`, read installed vs repo-source manifests).\n   When a check cannot reach what it needs (no network, no `gh`, no fetch),\n   report that premise as **unverifiable** rather than assuming it is unchanged;\n   a silent \"no drift\" from stale local state is the exact failure this skill\n   exists to prevent.\n3. Report drift as a short list, premise → claimed state → actual state, plus\n   the re-anchored picture. Surface it; do not silently rewrite the plan or\n   auto-fix. The session re-plans on the corrected reality.\n\n## What this skill does NOT do\n\n- **Does not inventory worktrees.** Enumerating every worktree by\n  path \u002F branch \u002F PR \u002F commit-age staleness is `\u002Fsource-control:worktree`\n  status's job when that plugin is installed (it reports no behind-base or\n  dirty-tree signal); reanchor does its own base-drift check (a `git`\n  behind-count on the working branch) and never reimplements that\n  cross-worktree inventory.\n- **Does not classify PR feedback or run the PR loop.** Per-PR fresh-evidence\n  discipline and feedback triage are `\u002Fsource-control:babysit-prs`'s job when\n  it is installed; reanchor never performs them. It only checks whether a\n  *referenced* PR is still in its claimed state.\n- **Does not re-anchor a standing rule or discipline.** Correcting behavioral\n  doctrine mid-session (a standing-rule re-anchor) is a separate concern; this\n  skill re-anchors factual assumptions against live reality, not rules.\n- **Does not solely own the goal check.** Reanchor is opt-in, so a check living\n  only here fires only once staleness is already suspected, which is exactly\n  when a drifted chain looks healthiest. The resume-prompt directive carries it\n  on every resume and `\u002Fsession-flow:keep-going` carries it on the interrupted\n  one; this copy serves the deliberate \"is this still current\" pass over an old\n  plan, where the other two never run.\n- **Does not auto-fix drift.** It reports; the session decides. On a goal\n  misalignment that means naming it and handing off by invoking\n  `\u002Fsession-flow:keep-going` via the Skill tool,\n  reanchor never re-derives the next action or amends a recorded goal, which\n  changes only on an explicit statement from whoever set it.\n\n## Gotchas\n\n- A premise that \"looks\" current is the failure mode: a PR cited as open may\n  have merged minutes ago; a plugin cited by version may have bumped. Check the\n  live source, never the input's own claim.\n- Scope to what the session's inputs actually reference. Re-anchoring is bounded\n  by the premises in play, not a full-repo audit.\n",{"metadata":24,"description":7,"user-invocable":27,"disable-model-invocation":20},{"summary":25,"workflow-stage":26},"Verify working assumptions are still true before building on them","session",true,"main","d0e68c3f36b92a1d6381f0ba0060d7a0b8b886c5","plugins\u002Fsession-flow\u002Fskills\u002Freanchor",7,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins","https:\u002F\u002Fgithub.com\u002Fmelodic-software","https:\u002F\u002Fmelodicsoftware.com","Independent software studio building developer tools, automation, and application services, with roots in music.","2026-11-15 05:15:06",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":27},[39,42,45],{"tool":40,"command":41},"npx","npx skills add melodic-software\u002Fclaude-code-plugins --skill reanchor",{"tool":43,"command":44},"bunx","bunx skills add melodic-software\u002Fclaude-code-plugins --skill reanchor",{"tool":46,"command":47},"pnpm","pnpm dlx skills add melodic-software\u002Fclaude-code-plugins --skill reanchor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsession-flow\u002Fskills\u002Freanchor\u002FSKILL.md",[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"evals\u002Fevals.json","REFERENCE","参考文档",8350,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsession-flow\u002Fskills\u002Freanchor\u002Fevals\u002Fevals.json",[57,64,71,78,83,90],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7DYYDG31B9YX7N9MB9QW2GW","track","Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsession-flow\u002Fevals\u002Frecall-still-reports-reopened-bug\u002Fwork-items-stub\u002Fskills\u002Ftrack\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7DYXVBAVG3NV30PA7GKW9Q6","reviewer-media","Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from \u002Freview:explain-change's digest, has \u002Fexplainer-video:produce render it and hands the manifest to \u002Fsource-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Freviewer-media\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7DYRZ5YD44AMYH26YR25GZ8","route","Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-pin-without-override\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":79,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7DYRTVT4FWTGDJY0HCCFJMZ","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-override-from-route\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7DYNZC8PNW3T27V2ADKECKJ","principles","Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is \u002Farchitecture:improve.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fskills\u002Fprinciples\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7DYNMCZNEWBFHV9KTSS6H60","write","Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fevals\u002Fdeepening-defect-goes-to-bugs-write\u002Fbugs-stub\u002Fskills\u002Fwrite\u002FSKILL.md",[],[]]