[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CX5B3H2T094MZW6PTVG69D":3,"skill-same:01M6CX5B3H2T094MZW6PTVG69D":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":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M6CX5B3H2T094MZW6PTVG69D","changedown",null,"Durable change tracking with annotations for AI agents","hackerbara\u002Fchangedown","hackerbara","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F264918693?v=4","01M6CX5543NWWB79REVZ03HFRR","Hackerbara","01M6CX558R4QPPWP1DKSYEXFF5",6,"MIT","https:\u002F\u002Fgithub.com\u002Fhackerbara\u002Fchangedown\u002Fblob\u002Fmain\u002Fchangedown-plugin\u002Fskills\u002Fchangedown\u002FSKILL.md",[],[5,19,20,21,22],"ai agents","change","annotations","tracking","2026-11-10 10:12:30",false,"---\nname: changedown\ndescription: Durable change tracking with annotations for AI agents\n---\n\n# ChangeDown — Change Tracking for AI Agents\n\n## Session Start\n\nDeclare your identity using the `author` parameter on every `propose_change` and `review_changes` call.\n\n## Rules\n\n1. **Use `propose_change` for ALL edits to tracked files.** Never use Edit\u002FWrite directly. If you do, hooks auto-wrap your edit in CriticMarkup — but with worse formatting and no annotations.\n\n2. **Read before you write.** Call `read_tracked_file` first. It gives you the content, change status, and addressing information for precise targeting.\n\n3. **Use `review_changes` to approve, reject, or discuss.** One call handles one or many reviews. Include a reason for every decision.\n\n## Reading Surfaces\n\n- **review** (alias: `all`) - Full annotations at point of contact. Default for most projects.\n- **changes** (alias: `simple`) - Committed text with P\u002FA flags in margin. Clean prose, change awareness.\n- **settled** (alias: `final`) - Accept-all preview. Clean text for coherence checking.\n- **raw** - Literal file bytes. For debugging only.\n\nDefault view is project-configured. Omit the `view` parameter to use the project default.\n\nAll views are writable projection surfaces. You can propose changes from any view using lines or coordinates from that view's output.[^sc-18.1]\n\n## The Six Tools\n\n> **Tool naming:** This document uses short names (e.g., `read_tracked_file`). Your MCP client registers them with a prefix — look for tools ending in these suffixes in your available tool list.\n\n| # | Tool | What it does |\n|---|------|-------------|\n| 1 | `read_tracked_file` | See what's there. Default: review view (three-zone format). |\n| 2 | `propose_change` | Make changes. Your first `read_tracked_file` includes editing syntax for this project. |\n| 3 | `review_changes` | Decide on changes. Accept\u002Freject with `reviews`. Reply to threads with `responses`. |\n| 4 | `amend_change` | Fix YOUR OWN proposals. Same-author enforcement. |\n| 5 | `list_changes` | Change inventory with detail levels. `detail=summary` for overview, `detail=context` for surrounding lines, `detail=full` for threads and revision history. Use `change_id` or `change_ids` to fetch specific changes. Filter by status. **Prefer using `propose_change` response data** (contains change IDs, `affected_lines`, and per-change `preview`)[^sc-21.1] over calling this — saves a round trip. |\n| 6 | `supersede_change` | Replace someone else's proposal. Atomically rejects old + proposes new. |\n\n## Reading the Three-Zone Format (review view)\n\nEvery line in the review view has three zones:\n\n```\nMARGIN | CONTENT | METADATA\n```\n\n- **Zone 1 (Margin)**: Addressing and flags. `P` = pending proposal, `A` = accepted change.\n- **Zone 2 (Content)**: Committed text with CriticMarkup inline. `[sc-N]` anchors link to Zone 3.\n- **Zone 3 (Metadata)**: `{>>sc-N @author: reason | K replies\u003C\u003C}` at end of line. WHO proposed and WHY.\n\nExample:\n```\n 3:3f P| The service should use {~~REST~>GraphQL~~}[sc-4] for the external interface. {>>sc-4 @claude: paradigm shift | 2 replies\u003C\u003C}\n 4:b2  | Rate limiting should be set to 1000 requests per minute.\n```\n\n## Deletion Semantics\n\nIn review view, `{--text--}` means *proposed for deletion* — the text is still present in the committed document. The deleted text is still present in the committed content until the deletion is accepted. When targeting this text for further edits, account for the deletion markup in what you see.\n\n## Tool Routing\n\n- To propose a new change: `propose_change`\n- To approve\u002Freject existing proposals: `review_changes` with `reviews` array\n- To reply to a discussion thread: `review_changes` with `responses` array\n- To revise YOUR OWN proposal: `amend_change` (same-author enforcement)\n- To replace someone else's proposal: `supersede_change` (rejects old, proposes new)\n- To get full thread\u002Fhistory context: `list_changes` with `change_id` + `detail=full`\n- To see all changes at a glance: `list_changes`\n\n## Workflow\n\n```\n1. read_tracked_file(file)               — get content + addressing\n2. propose_change(file, ...)             — make edits (use addressing from step 1)\n3. Fire more propose_change calls        — server auto-relocates shifted lines\n4. review_changes(file, reviews=[...])   — approve\u002Freject when done\n```\n\nYour first `read_tracked_file` call includes an **editing guide** tailored to this project — syntax, identity rules, and view semantics. That guide is your reference for how to structure `propose_change` calls.\n\n**Strict mode:** In strict-mode projects, raw `Read` calls on tracked markdown files are blocked. Use `read_tracked_file` — it is the only path to tracked content.\n\n**Subagents:** When spawning subagents (e.g., via Claude Code's Task tool), include `include_guide: true` in the subagent's first `read_tracked_file` call. All subagents share one MCP session, so only the first agent gets the guide automatically — subsequent agents must request it explicitly.[^sc-19]\n\n**Check rejection history before proposing.** If you're modifying a section that others have reviewed, read it in `review` view first. Rejected proposals leave orphaned footnote refs (`[^sc-N]` with `rejected` status) visible in review mode — these tell you what was tried and why it was rejected, preventing wasted proposals. Read the rejection reason before proposing similar changes.\n\n**Chaining:** No re-read is needed when follow-up edits use fresh response coordinates or semantically anchored text\u002Fcontext. If you are targeting blank\u002Fstructural lines or coordinate-only range replacements after prior writes, re-read or use context-bearing range replacement. Each `propose_change` response includes `affected_lines` (neighboring lines with content and addressing) and per-change `preview` in the `applied` array. Use those for your next edit.[^sc-21.2] Re-read after review (accept\u002Freject) or when relocation is ambiguous.\n\n**UX:** After applying changes, mention the modified file path in your reply so the user can click to open it.\n\n---\n\n## propose_change\n\n**Annotations:** Skip for obvious edits (typos, formatting). Include when the \"why\" isn't clear from the \"what.\"\n\nWhen proposing changes to a file with existing proposals, batch all your changes in one `propose_change` call. The overlap guard will reject changes that conflict with existing proposals — use `amend_change` (for your own proposals) or `supersede_change` (for others' proposals) to modify existing work.\n\n---\n\n## review_changes\n\nReview one or more changes in a single call:\n\n```\nreview_changes(file, reviews=[\n  {change_id: \"sc-1\", decision: \"approve\", reason: \"Correct fix for the timeout issue\"},\n  {change_id: \"sc-2\", decision: \"reject\", reason: \"This breaks backward compatibility\"},\n], author=\"ai:claude-opus-4.6\")\n```\n\nReasoning is required for every review decision.\n\n**Thread responses:** To respond without approving\u002Frejecting, use the `responses` array:\n\n```\nreview_changes(file, responses=[\n  {change_id: \"sc-1\", response: \"Good point, will revise\", label: \"thought\"},\n], author=\"ai:claude-opus-4.6\")\n```\n\n**Settlement:** Handled by the server. When you approve a change, the project's config controls whether accepted markup is compacted immediately (common default). No separate settle step — approve is done.\n\n**Group cascade:** Approving a group parent (e.g., `sc-1`) cascades to all children still at `proposed` status. Children with existing individual decisions (already accepted\u002Frejected) are preserved.[^sc-18.2]\n\n---\n\n## list_changes — detail levels\n\n```\nlist_changes(file, change_id=\"sc-7\", detail=\"full\")    — full thread + context for one change\nlist_changes(file, change_ids=[\"sc-5\",\"sc-7\"])          — batch lookup (defaults to detail=full)\nlist_changes(file, detail=\"context\", context_lines=2)   — all changes with surrounding lines\nlist_changes(file, status=\"proposed\")                   — filter by status (summary detail)\n```\n\nDetail levels: `summary` (default for lists), `context` (adds markup + surrounding lines), `full` (adds footnote, discussion threads, participants, group info).\n\n---\n\n## amend_change\n\nRevise your own proposal without losing the discussion thread:\n\n```\namend_change(file, \"sc-7\", new_text=\"better text\", reason=\"fixed the edge case\", author=\"ai:claude-opus-4.6\")\n```\n\n- Same-author only. Preserves change ID, discussion thread, and footnote reference.\n- Adds `revised:` + `previous:` entries to footnote history.\n- Do not reject-and-re-propose — that severs the deliberation history.\n\n---\n\n## read_tracked_file\n\n```\nread_tracked_file(file=\"path\u002Fto\u002Ffile.md\")\n```\n\n**Views (canonical names):**\n- `review` (aliases: `all`, `meta`) — full annotations at point of contact, deliberation summary header. Output includes P\u002FA flags in the margin. CriticMarkup overlays show what's proposed. Best for evaluating and triaging proposals.\n- `changes` (aliases: `simple`, `committed`) — committed text with P\u002FA flags in the margin. No inline CriticMarkup. Clean prose with \"fresh eyes.\" Best for copy-editing and independent judgment.\n- `settled` (aliases: `final`) — document as if all proposals were accepted. Clean text. Best for coherence checks before approving.\n- `raw` (aliases: `content`, `full`) — literal file bytes with all CriticMarkup markup and footnotes visible. Diagnostic\u002Fdebugging only. Not a writable surface.\n\n**P\u002FA flags in the margin:**\n```\n 4:b2  | The API should use REST for the external interface.\n 5:6f P| Rate limiting should be set to 1000 requests per minute.\n 6:e1 A| Error responses include a human-readable message in the body.\n```\n- `P` = pending proposal(s) on this line\n- `A` = accepted change(s) settled on this line (recent activity)\n- *(blank)* = no change activity\n\n**Options:** `offset` \u002F `limit` for pagination (default: 500 lines, max: 2000), `include_meta` for change levels in header, `include_guide: true` to re-deliver the editing guide (for subagents sharing an MCP session).[^sc-20]\n\n**Always use `read_tracked_file`** for tracked files, not the built-in `read` tool. `read_tracked_file` provides addressing, change awareness, and session binding. The built-in `read` returns raw bytes without any of these features.\n\n---\n\n## File Tracking\n\nTracked files have `\u003C!-- changedown.com\u002Fv1: tracked -->` at the top. The tooling manages this automatically.\n\n- Tracked file: use `propose_change` (never Edit\u002FWrite)\n- Untracked file: use normal Edit\u002FWrite\n\nIf `propose_change` fails with \"file not tracked,\" the response includes diagnostic info.\n\n---\n\n## Troubleshooting\n\n| Situation | Action |\n|-----------|--------|\n| propose_change fails with \"file not tracked\" | Check response diagnostic; file needs tracking header |\n| File has accepted-but-unsettled markup | Re-read; compaction is automatic on approve. If markup persists, re-read the file — the settled view (`read_tracked_file(file, view=\"settled\")`) confirms what the final text looks like |\n| propose_change fails with unexpected content | Re-read with `read_tracked_file` for current content and fresh addressing |\n| Batch fails with addressing mismatch | Re-read file for fresh addressing, then retry |\n| Editing non-tracked files (.ts, .json) | Normal Edit\u002FWrite — hooks do not intercept |\n\n---\n\n## The Format (Read-Only Understanding)\n\nYou do not write CriticMarkup manually — the tools handle it. But you read and understand it when opening files with existing markup.\n\n### Inline Changes\n\n```\nThe API uses {~~REST~>GraphQL~~}[^sc-1] for the public interface.\nWe {--removed this--}[^sc-2] and {++added this++}[^sc-3] instead.\n{==Rate limiting is set to 100 req\u002Fmin==}{>>needs load testing\u003C\u003C}\n```\n\n| Type | Syntax |\n|------|--------|\n| Substitution | `{~~old~>new~~}[^sc-N]` |\n| Deletion | `{--text--}[^sc-N]` |\n| Insertion | `{++text++}[^sc-N]` |\n| Highlight | `{==text==}` |\n| Comment | `{>>text\u003C\u003C}` |\n\nGrouped changes use dotted IDs: `[^sc-17.1]`, `[^sc-17.2]`.\n\n### Footnote Definitions\n\n```\n[^sc-1]: @ai:claude-opus-4.6 | 2026-02-10 | sub | proposed\n    context: \"Authentication uses {API keys} for all endpoints\"\n    @ai:claude-opus-4.6 2026-02-10T14:32:05Z: GraphQL gives clients query flexibility\n    approved: @carol 2026-02-11T09:15:22Z \"Benchmarks look good\"\n```\n\n**Header:** `[^sc-N]: @author | date | type | status`\n- Status: `proposed`, `accepted`, `rejected`\n- Types: `ins`, `del`, `sub`, `highlight`, `comment`, `group`\n\n**Timestamps:** System-generated events use full ISO 8601 UTC (2026-02-10T14:32:05Z). Human-written timestamps accept date-only (2026-02-10), informal time (2026-02-10 2:30pm), or full ISO. The system stores exactly what was written.\n\n## Hooks\n\nChangeDown uses platform hooks to enforce tracking discipline:\n\n**Claude Code:** PreToolUse blocks raw Edit\u002FWrite before execution (strict mode) or logs for batch-wrapping (safety-net mode).\n\n**Cursor:** beforeReadFile blocks raw reads on tracked files (strict mode), beforeMCPExecution validates tool inputs, afterFileEdit + stop log and batch-wrap raw edits (safety-net mode).\n\n**Both platforms guarantee the same final state** — tracked files end up with CriticMarkup. The difference is timing: Claude Code prevents; Cursor catches and wraps.\n\n**If a raw read is blocked:** Use `read_tracked_file` instead. It provides deliberation context, addressing, and change metadata.\n\n**Safety-net wrapping** produces worse formatting than `propose_change` — no annotations, no grouping, substitution markup instead of clean insertions\u002Fdeletions. Always prefer `propose_change`.\n\n---\n\n## Multi-file editing\n\nWhen editing multiple tracked files, batch by phase — not by file:\n\n```\n1. read_tracked_file(file_A)\n2. read_tracked_file(file_B)\n3. propose_change(file_A, changes=[...])     — batch all edits per file\n4. propose_change(file_B, changes=[...])\n5. review_changes(file_A, reviews=[...])     — group-level: approve sc-1 to cascade\n6. review_changes(file_B, reviews=[...])\n```\n\n**Why:** Reading all files first gives you the full picture before making changes. Proposing all before reviewing avoids interleaving that triggers unnecessary re-reads.\n\n**Group-level review is the key efficiency lever.** When your batch creates `sc-1.1` through `sc-1.15`, approve just `sc-1` — it cascades to all children at `proposed` status.\n\n---\n\n## Word Document Round Trips\n\nWhen a user gives you a `.docx` or asks for one back, use the CLI to convert:\n\n    cdown import document.docx                    # → document-changedown.md (tracked)\n    cdown export document-changedown.md          # → document-changedown.docx\n    cdown export document.md --mode clean          # → clean DOCX, no tracked changes\n\nImport converts Word tracked changes to CriticMarkup with footnotes (authors, dates, comments,\nthreads, images with positioning all preserved). The output is tracked — edit with\n`read_tracked_file` and `propose_change` normally.\n\nExport converts back to Word-native tracked changes. Modes: `tracked` (default — proposals\nstay as revisions), `settled` (decided changes applied), `clean` (no revisions).\n\n**What round-trips:** insertions, deletions, substitutions, author attribution, dates,\ncomment threads, images (including floating\u002Fanchored positioning), formatting (bold, italic).\n\n\n[^sc-18.1]: @ai:claude-opus-4.6 | 2026-02-25 | sub | accepted\n    @ai:claude-opus-4.6 2026-02-25: consolidate view descriptions, add raw, remove token count details\n    approved: @ai:claude-opus-4.6 2026-02-25 \"Cleaner view descriptions with raw view added\"\n\n[^sc-18.2]: @ai:claude-opus-4.6 | 2026-02-25 | ins | accepted\n    @ai:claude-opus-4.6 2026-02-25: document new group cascade behavior\n    approved: @ai:claude-opus-4.6 2026-02-25 \"Documents new group cascade behavior\"\n\n[^sc-18]: @ai:claude-opus-4.6 | 2026-02-25 | group | accepted\n    @ai:claude-opus-4.6 2026-02-25: propose_batch\n    approved: @ai:claude-opus-4.6 2026-02-25 \"Concise view descriptions and group cascade documentation — addresses benchmark ergonomics findings\"\n\n[^sc-19]: @ai:claude-opus-4.6 | 2026-02-26 | sub | accepted\n    @ai:claude-opus-4.6 2026-02-26: document include_guide parameter for multi-agent sessions\n    approved: @ai:claude-opus-4.6 2026-02-26 \"Documents include_guide for subagent guide re-delivery\"\n\n[^sc-20]: @ai:claude-opus-4.6 | 2026-02-26 | sub | accepted\n    @ai:claude-opus-4.6 2026-02-26: add include_guide to options list\n    approved: @ai:claude-opus-4.6 2026-02-26 \"Adds include_guide to options list\"\n\n[^sc-21.1]: @ai:claude-opus-4.6 | 2026-02-27 | sub | accepted\n    approved: @ai:claude-opus-4.6 2026-02-27 \"Update SKILL.md to reference affected_lines and per-change preview instead of deprecated updated_lines\" (cascaded from sc-21)\n\n[^sc-21.2]: @ai:claude-opus-4.6 | 2026-02-27 | sub | accepted\n    approved: @ai:claude-opus-4.6 2026-02-27 \"Update SKILL.md to reference affected_lines and per-change preview instead of deprecated updated_lines\" (cascaded from sc-21)\n\n[^sc-21]: @ai:claude-opus-4.6 | 2026-02-27 | group | accepted\n    @ai:claude-opus-4.6 2026-02-27: propose_batch\n    approved: @ai:claude-opus-4.6 2026-02-27 \"Update SKILL.md to reference affected_lines and per-change preview instead of deprecated updated_lines\"\n","# ChangeDown — Change Tracking for AI Agents\n\n## Session Start\n\nDeclare your identity using the `author` parameter on every `propose_change` and `review_changes` call.\n\n## Rules\n\n1. **Use `propose_change` for ALL edits to tracked files.** Never use Edit\u002FWrite directly. If you do, hooks auto-wrap your edit in CriticMarkup — but with worse formatting and no annotations.\n\n2. **Read before you write.** Call `read_tracked_file` first. It gives you the content, change status, and addressing information for precise targeting.\n\n3. **Use `review_changes` to approve, reject, or discuss.** One call handles one or many reviews. Include a reason for every decision.\n\n## Reading Surfaces\n\n- **review** (alias: `all`) - Full annotations at point of contact. Default for most projects.\n- **changes** (alias: `simple`) - Committed text with P\u002FA flags in margin. Clean prose, change awareness.\n- **settled** (alias: `final`) - Accept-all preview. Clean text for coherence checking.\n- **raw** - Literal file bytes. For debugging only.\n\nDefault view is project-configured. Omit the `view` parameter to use the project default.\n\nAll views are writable projection surfaces. You can propose changes from any view using lines or coordinates from that view's output.[^sc-18.1]\n\n## The Six Tools\n\n> **Tool naming:** This document uses short names (e.g., `read_tracked_file`). Your MCP client registers them with a prefix — look for tools ending in these suffixes in your available tool list.\n\n| # | Tool | What it does |\n|---|------|-------------|\n| 1 | `read_tracked_file` | See what's there. Default: review view (three-zone format). |\n| 2 | `propose_change` | Make changes. Your first `read_tracked_file` includes editing syntax for this project. |\n| 3 | `review_changes` | Decide on changes. Accept\u002Freject with `reviews`. Reply to threads with `responses`. |\n| 4 | `amend_change` | Fix YOUR OWN proposals. Same-author enforcement. |\n| 5 | `list_changes` | Change inventory with detail levels. `detail=summary` for overview, `detail=context` for surrounding lines, `detail=full` for threads and revision history. Use `change_id` or `change_ids` to fetch specific changes. Filter by status. **Prefer using `propose_change` response data** (contains change IDs, `affected_lines`, and per-change `preview`)[^sc-21.1] over calling this — saves a round trip. |\n| 6 | `supersede_change` | Replace someone else's proposal. Atomically rejects old + proposes new. |\n\n## Reading the Three-Zone Format (review view)\n\nEvery line in the review view has three zones:\n\n```\nMARGIN | CONTENT | METADATA\n```\n\n- **Zone 1 (Margin)**: Addressing and flags. `P` = pending proposal, `A` = accepted change.\n- **Zone 2 (Content)**: Committed text with CriticMarkup inline. `[sc-N]` anchors link to Zone 3.\n- **Zone 3 (Metadata)**: `{>>sc-N @author: reason | K replies\u003C\u003C}` at end of line. WHO proposed and WHY.\n\nExample:\n```\n 3:3f P| The service should use {~~REST~>GraphQL~~}[sc-4] for the external interface. {>>sc-4 @claude: paradigm shift | 2 replies\u003C\u003C}\n 4:b2  | Rate limiting should be set to 1000 requests per minute.\n```\n\n## Deletion Semantics\n\nIn review view, `{--text--}` means *proposed for deletion* — the text is still present in the committed document. The deleted text is still present in the committed content until the deletion is accepted. When targeting this text for further edits, account for the deletion markup in what you see.\n\n## Tool Routing\n\n- To propose a new change: `propose_change`\n- To approve\u002Freject existing proposals: `review_changes` with `reviews` array\n- To reply to a discussion thread: `review_changes` with `responses` array\n- To revise YOUR OWN proposal: `amend_change` (same-author enforcement)\n- To replace someone else's proposal: `supersede_change` (rejects old, proposes new)\n- To get full thread\u002Fhistory context: `list_changes` with `change_id` + `detail=full`\n- To see all changes at a glance: `list_changes`\n\n## Workflow\n\n```\n1. read_tracked_file(file)               — get content + addressing\n2. propose_change(file, ...)             — make edits (use addressing from step 1)\n3. Fire more propose_change calls        — server auto-relocates shifted lines\n4. review_changes(file, reviews=[...])   — approve\u002Freject when done\n```\n\nYour first `read_tracked_file` call includes an **editing guide** tailored to this project — syntax, identity rules, and view semantics. That guide is your reference for how to structure `propose_change` calls.\n\n**Strict mode:** In strict-mode projects, raw `Read` calls on tracked markdown files are blocked. Use `read_tracked_file` — it is the only path to tracked content.\n\n**Subagents:** When spawning subagents (e.g., via Claude Code's Task tool), include `include_guide: true` in the subagent's first `read_tracked_file` call. All subagents share one MCP session, so only the first agent gets the guide automatically — subsequent agents must request it explicitly.[^sc-19]\n\n**Check rejection history before proposing.** If you're modifying a section that others have reviewed, read it in `review` view first. Rejected proposals leave orphaned footnote refs (`[^sc-N]` with `rejected` status) visible in review mode — these tell you what was tried and why it was rejected, preventing wasted proposals. Read the rejection reason before proposing similar changes.\n\n**Chaining:** No re-read is needed when follow-up edits use fresh response coordinates or semantically anchored text\u002Fcontext. If you are targeting blank\u002Fstructural lines or coordinate-only range replacements after prior writes, re-read or use context-bearing range replacement. Each `propose_change` response includes `affected_lines` (neighboring lines with content and addressing) and per-change `preview` in the `applied` array. Use those for your next edit.[^sc-21.2] Re-read after review (accept\u002Freject) or when relocation is ambiguous.\n\n**UX:** After applying changes, mention the modified file path in your reply so the user can click to open it.\n\n---\n\n## propose_change\n\n**Annotations:** Skip for obvious edits (typos, formatting). Include when the \"why\" isn't clear from the \"what.\"\n\nWhen proposing changes to a file with existing proposals, batch all your changes in one `propose_change` call. The overlap guard will reject changes that conflict with existing proposals — use `amend_change` (for your own proposals) or `supersede_change` (for others' proposals) to modify existing work.\n\n---\n\n## review_changes\n\nReview one or more changes in a single call:\n\n```\nreview_changes(file, reviews=[\n  {change_id: \"sc-1\", decision: \"approve\", reason: \"Correct fix for the timeout issue\"},\n  {change_id: \"sc-2\", decision: \"reject\", reason: \"This breaks backward compatibility\"},\n], author=\"ai:claude-opus-4.6\")\n```\n\nReasoning is required for every review decision.\n\n**Thread responses:** To respond without approving\u002Frejecting, use the `responses` array:\n\n```\nreview_changes(file, responses=[\n  {change_id: \"sc-1\", response: \"Good point, will revise\", label: \"thought\"},\n], author=\"ai:claude-opus-4.6\")\n```\n\n**Settlement:** Handled by the server. When you approve a change, the project's config controls whether accepted markup is compacted immediately (common default). No separate settle step — approve is done.\n\n**Group cascade:** Approving a group parent (e.g., `sc-1`) cascades to all children still at `proposed` status. Children with existing individual decisions (already accepted\u002Frejected) are preserved.[^sc-18.2]\n\n---\n\n## list_changes — detail levels\n\n```\nlist_changes(file, change_id=\"sc-7\", detail=\"full\")    — full thread + context for one change\nlist_changes(file, change_ids=[\"sc-5\",\"sc-7\"])          — batch lookup (defaults to detail=full)\nlist_changes(file, detail=\"context\", context_lines=2)   — all changes with surrounding lines\nlist_changes(file, status=\"proposed\")                   — filter by status (summary detail)\n```\n\nDetail levels: `summary` (default for lists), `context` (adds markup + surrounding lines), `full` (adds footnote, discussion threads, participants, group info).\n\n---\n\n## amend_change\n\nRevise your own proposal without losing the discussion thread:\n\n```\namend_change(file, \"sc-7\", new_text=\"better text\", reason=\"fixed the edge case\", author=\"ai:claude-opus-4.6\")\n```\n\n- Same-author only. Preserves change ID, discussion thread, and footnote reference.\n- Adds `revised:` + `previous:` entries to footnote history.\n- Do not reject-and-re-propose — that severs the deliberation history.\n\n---\n\n## read_tracked_file\n\n```\nread_tracked_file(file=\"path\u002Fto\u002Ffile.md\")\n```\n\n**Views (canonical names):**\n- `review` (aliases: `all`, `meta`) — full annotations at point of contact, deliberation summary header. Output includes P\u002FA flags in the margin. CriticMarkup overlays show what's proposed. Best for evaluating and triaging proposals.\n- `changes` (aliases: `simple`, `committed`) — committed text with P\u002FA flags in the margin. No inline CriticMarkup. Clean prose with \"fresh eyes.\" Best for copy-editing and independent judgment.\n- `settled` (aliases: `final`) — document as if all proposals were accepted. Clean text. Best for coherence checks before approving.\n- `raw` (aliases: `content`, `full`) — literal file bytes with all CriticMarkup markup and footnotes visible. Diagnostic\u002Fdebugging only. Not a writable surface.\n\n**P\u002FA flags in the margin:**\n```\n 4:b2  | The API should use REST for the external interface.\n 5:6f P| Rate limiting should be set to 1000 requests per minute.\n 6:e1 A| Error responses include a human-readable message in the body.\n```\n- `P` = pending proposal(s) on this line\n- `A` = accepted change(s) settled on this line (recent activity)\n- *(blank)* = no change activity\n\n**Options:** `offset` \u002F `limit` for pagination (default: 500 lines, max: 2000), `include_meta` for change levels in header, `include_guide: true` to re-deliver the editing guide (for subagents sharing an MCP session).[^sc-20]\n\n**Always use `read_tracked_file`** for tracked files, not the built-in `read` tool. `read_tracked_file` provides addressing, change awareness, and session binding. The built-in `read` returns raw bytes without any of these features.\n\n---\n\n## File Tracking\n\nTracked files have `\u003C!-- changedown.com\u002Fv1: tracked -->` at the top. The tooling manages this automatically.\n\n- Tracked file: use `propose_change` (never Edit\u002FWrite)\n- Untracked file: use normal Edit\u002FWrite\n\nIf `propose_change` fails with \"file not tracked,\" the response includes diagnostic info.\n\n---\n\n## Troubleshooting\n\n| Situation | Action |\n|-----------|--------|\n| propose_change fails with \"file not tracked\" | Check response diagnostic; file needs tracking header |\n| File has accepted-but-unsettled markup | Re-read; compaction is automatic on approve. If markup persists, re-read the file — the settled view (`read_tracked_file(file, view=\"settled\")`) confirms what the final text looks like |\n| propose_change fails with unexpected content | Re-read with `read_tracked_file` for current content and fresh addressing |\n| Batch fails with addressing mismatch | Re-read file for fresh addressing, then retry |\n| Editing non-tracked files (.ts, .json) | Normal Edit\u002FWrite — hooks do not intercept |\n\n---\n\n## The Format (Read-Only Understanding)\n\nYou do not write CriticMarkup manually — the tools handle it. But you read and understand it when opening files with existing markup.\n\n### Inline Changes\n\n```\nThe API uses {~~REST~>GraphQL~~}[^sc-1] for the public interface.\nWe {--removed this--}[^sc-2] and {++added this++}[^sc-3] instead.\n{==Rate limiting is set to 100 req\u002Fmin==}{>>needs load testing\u003C\u003C}\n```\n\n| Type | Syntax |\n|------|--------|\n| Substitution | `{~~old~>new~~}[^sc-N]` |\n| Deletion | `{--text--}[^sc-N]` |\n| Insertion | `{++text++}[^sc-N]` |\n| Highlight | `{==text==}` |\n| Comment | `{>>text\u003C\u003C}` |\n\nGrouped changes use dotted IDs: `[^sc-17.1]`, `[^sc-17.2]`.\n\n### Footnote Definitions\n\n```\n[^sc-1]: @ai:claude-opus-4.6 | 2026-02-10 | sub | proposed\n    context: \"Authentication uses {API keys} for all endpoints\"\n    @ai:claude-opus-4.6 2026-02-10T14:32:05Z: GraphQL gives clients query flexibility\n    approved: @carol 2026-02-11T09:15:22Z \"Benchmarks look good\"\n```\n\n**Header:** `[^sc-N]: @author | date | type | status`\n- Status: `proposed`, `accepted`, `rejected`\n- Types: `ins`, `del`, `sub`, `highlight`, `comment`, `group`\n\n**Timestamps:** System-generated events use full ISO 8601 UTC (2026-02-10T14:32:05Z). Human-written timestamps accept date-only (2026-02-10), informal time (2026-02-10 2:30pm), or full ISO. The system stores exactly what was written.\n\n## Hooks\n\nChangeDown uses platform hooks to enforce tracking discipline:\n\n**Claude Code:** PreToolUse blocks raw Edit\u002FWrite before execution (strict mode) or logs for batch-wrapping (safety-net mode).\n\n**Cursor:** beforeReadFile blocks raw reads on tracked files (strict mode), beforeMCPExecution validates tool inputs, afterFileEdit + stop log and batch-wrap raw edits (safety-net mode).\n\n**Both platforms guarantee the same final state** — tracked files end up with CriticMarkup. The difference is timing: Claude Code prevents; Cursor catches and wraps.\n\n**If a raw read is blocked:** Use `read_tracked_file` instead. It provides deliberation context, addressing, and change metadata.\n\n**Safety-net wrapping** produces worse formatting than `propose_change` — no annotations, no grouping, substitution markup instead of clean insertions\u002Fdeletions. Always prefer `propose_change`.\n\n---\n\n## Multi-file editing\n\nWhen editing multiple tracked files, batch by phase — not by file:\n\n```\n1. read_tracked_file(file_A)\n2. read_tracked_file(file_B)\n3. propose_change(file_A, changes=[...])     — batch all edits per file\n4. propose_change(file_B, changes=[...])\n5. review_changes(file_A, reviews=[...])     — group-level: approve sc-1 to cascade\n6. review_changes(file_B, reviews=[...])\n```\n\n**Why:** Reading all files first gives you the full picture before making changes. Proposing all before reviewing avoids interleaving that triggers unnecessary re-reads.\n\n**Group-level review is the key efficiency lever.** When your batch creates `sc-1.1` through `sc-1.15`, approve just `sc-1` — it cascades to all children at `proposed` status.\n\n---\n\n## Word Document Round Trips\n\nWhen a user gives you a `.docx` or asks for one back, use the CLI to convert:\n\n    cdown import document.docx                    # → document-changedown.md (tracked)\n    cdown export document-changedown.md          # → document-changedown.docx\n    cdown export document.md --mode clean          # → clean DOCX, no tracked changes\n\nImport converts Word tracked changes to CriticMarkup with footnotes (authors, dates, comments,\nthreads, images with positioning all preserved). The output is tracked — edit with\n`read_tracked_file` and `propose_change` normally.\n\nExport converts back to Word-native tracked changes. Modes: `tracked` (default — proposals\nstay as revisions), `settled` (decided changes applied), `clean` (no revisions).\n\n**What round-trips:** insertions, deletions, substitutions, author attribution, dates,\ncomment threads, images (including floating\u002Fanchored positioning), formatting (bold, italic).\n\n\n[^sc-18.1]: @ai:claude-opus-4.6 | 2026-02-25 | sub | accepted\n    @ai:claude-opus-4.6 2026-02-25: consolidate view descriptions, add raw, remove token count details\n    approved: @ai:claude-opus-4.6 2026-02-25 \"Cleaner view descriptions with raw view added\"\n\n[^sc-18.2]: @ai:claude-opus-4.6 | 2026-02-25 | ins | accepted\n    @ai:claude-opus-4.6 2026-02-25: document new group cascade behavior\n    approved: @ai:claude-opus-4.6 2026-02-25 \"Documents new group cascade behavior\"\n\n[^sc-18]: @ai:claude-opus-4.6 | 2026-02-25 | group | accepted\n    @ai:claude-opus-4.6 2026-02-25: propose_batch\n    approved: @ai:claude-opus-4.6 2026-02-25 \"Concise view descriptions and group cascade documentation — addresses benchmark ergonomics findings\"\n\n[^sc-19]: @ai:claude-opus-4.6 | 2026-02-26 | sub | accepted\n    @ai:claude-opus-4.6 2026-02-26: document include_guide parameter for multi-agent sessions\n    approved: @ai:claude-opus-4.6 2026-02-26 \"Documents include_guide for subagent guide re-delivery\"\n\n[^sc-20]: @ai:claude-opus-4.6 | 2026-02-26 | sub | accepted\n    @ai:claude-opus-4.6 2026-02-26: add include_guide to options list\n    approved: @ai:claude-opus-4.6 2026-02-26 \"Adds include_guide to options list\"\n\n[^sc-21.1]: @ai:claude-opus-4.6 | 2026-02-27 | sub | accepted\n    approved: @ai:claude-opus-4.6 2026-02-27 \"Update SKILL.md to reference affected_lines and per-change preview instead of deprecated updated_lines\" (cascaded from sc-21)\n\n[^sc-21.2]: @ai:claude-opus-4.6 | 2026-02-27 | sub | accepted\n    approved: @ai:claude-opus-4.6 2026-02-27 \"Update SKILL.md to reference affected_lines and per-change preview instead of deprecated updated_lines\" (cascaded from sc-21)\n\n[^sc-21]: @ai:claude-opus-4.6 | 2026-02-27 | group | accepted\n    @ai:claude-opus-4.6 2026-02-27: propose_batch\n    approved: @ai:claude-opus-4.6 2026-02-27 \"Update SKILL.md to reference affected_lines and per-change preview instead of deprecated updated_lines\"\n",{"name":5,"description":7},"main","bf0b4d0cdd73c147890238c7fd0b2fd6111bf50a","changedown-plugin\u002Fskills\u002Fchangedown",0,"https:\u002F\u002Fgithub.com\u002Fhackerbara\u002Fchangedown","https:\u002F\u002Fgithub.com\u002Fhackerbara","just a lil guy hacking away","2026-05-21 11:44:44",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add hackerbara\u002Fchangedown --skill changedown",{"tool":42,"command":43},"bunx","bunx skills add hackerbara\u002Fchangedown --skill changedown",{"tool":45,"command":46},"pnpm","pnpm dlx skills add hackerbara\u002Fchangedown --skill changedown","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhackerbara\u002Fchangedown\u002Fblob\u002Fmain\u002Fchangedown-plugin\u002Fskills\u002Fchangedown\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"scripts\u002Frest_request.py","SCRIPT","脚本",10728,"https:\u002F\u002Fgithub.com\u002Filderaj\u002Fagent-plugin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fcodex--life-science-research\u002Fskills\u002Freactome-skill\u002Fscripts\u002Frest_request.py",[57,73,78,84],{"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":23},"01M6CX5GMDB09YH2QX4QQ65Y3T","testing","How to write and run tests in the ChangeDown monorepo. Use before writing any test code.","https:\u002F\u002Fgithub.com\u002Fhackerbara\u002Fchangedown\u002Fblob\u002Fmain\u002Fpackages\u002Ftests\u002Fskills\u002Ftesting\u002FSKILL.md",[],[59,5,64,65,66,67,68,69,70,71,72],"use","write","monorepo","how","code","run","run tests","test","writing",{"skillNo":74,"name":5,"nameZh":6,"description":6,"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":23},"01M6CX5FMSB8RY3FSAHR724NDZ","https:\u002F\u002Fgithub.com\u002Fhackerbara\u002Fchangedown\u002Fblob\u002Fmain\u002Fpackages\u002Fopencode-plugin\u002Fskills\u002Fchangedown\u002FSKILL.md",[],[5],{"skillNo":79,"name":80,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":23},"01M6CX5EJ8T7AHWM4VDWBGCVQ1","instructions","https:\u002F\u002Fgithub.com\u002Fhackerbara\u002Fchangedown\u002Fblob\u002Fmain\u002Fpackages\u002Fopencode-plugin\u002Finstructions\u002FSKILL.md",[],[80],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":23},"01M6CX588W21TV4K6YEDE2J90F","changedown-codex","Use ChangeDown from Codex via MCP to read tracked Markdown, propose durable CriticMarkup changes, review changes, and work with active Word sessions. Use before editing Markdown in a ChangeDown-tracked project or when the user mentions ChangeDown, tracked changes, CriticMarkup, review changes, or word:\u002F\u002F sessions.","https:\u002F\u002Fgithub.com\u002Fhackerbara\u002Fchangedown\u002Fblob\u002Fmain\u002Fchangedown-plugin\u002Fskills\u002Fchangedown-codex\u002FSKILL.md",[],[91,92,93,94,95,64,96,97,98,99,100,101,102,103,104],"codex","changedown codex","MCP","project","active","user","read","editing","work","Word","markdown","review changes","sessions","review"]