[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77KA3E3B1YQBHP82FZDQF8X":3,"skill-same:01M77KA3E3B1YQBHP82FZDQF8X":103},{"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":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":35,"ownerDescription":36,"updatedAt":37,"install":38,"resources":50},"01M77KA3E3B1YQBHP82FZDQF8X","audit",null,"When the bundled explain-usage skill resolves in this session, prefer it for where this session's tokens went; this skill for startup cost before any work, per-tool attribution, and whether a settings change saved anything. Use when: 'what is eating my context window at startup', 'measure my startup payload', 'which built-in tools cost the most', 'did that settings change save tokens'. Read-only; `fix` applies one trim behind approval.","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\u002Fcontext-budget\u002Fskills\u002Faudit\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"When the bundled explain-usage skill resolves in this session, prefer it for where this session's tokens went; this skill for startup cost before any work, per-tool attribution, and whether a settings change saved anything. Use when: 'what is eating my context window at startup', 'measure my startup payload', 'which built-in tools cost the most', 'did that settings change save tokens'. Read-only; `fix` applies one trim behind approval.\"\nargument-hint: \"[--full-sweep|--tools T1,T2|--ledger|--measure-only|fix] [--unattended]\"\nuser-invocable: true\ndisable-model-invocation: false\nmetadata:\n  workflow-stage: anytime\n  summary: Measure the startup context payload per item and ledger every lever's real delta\n---\n\n**Arguments.** `[--full-sweep|--tools T1,T2|--ledger|--measure-only|fix] [--unattended]`. Full form: [--full-sweep] every live tool, engine flag --tools from-baseline | [--tools T1,T2] | [--ledger] history | [--measure-only] read-only startup figures, see below | [fix] guided trim (explicit override) | [--unattended] nobody is present, see the Boundary sections\n\n## Measure-only mode (`--measure-only`)\n\nFor a read-only caller, such as a sweep that must write nothing outside its own data folder. Run\nthis and stop; skip the Prerequisites install offer and every Workflow step below:\n\n```shell\nnode \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs\" snapshot --measure-only \\\n  --sdk-dir \"${CLAUDE_PLUGIN_DATA}\u002Fsdk\"\n```\n\n- **Output.** One measurement session; the snapshot record on stdout, stamped as every report is.\n  Report `categories` (tokens per category) with the stamp.\n- **Writes nothing of its own.** No ledger row, snapshot, report or other file, under the plugin\n  data directory or anywhere else. The engine refuses `--out`, `--deny` and `--label` here\n  (exit 2). Any file the spawned headless session keeps for itself is not this skill's output and\n  is not covered by this claim.\n- **Installs nothing.** It never runs or offers the SDK install.\n- **Exit codes.** `0` measured; `2` usage error; `3` measurement failed (no binary, or the SDK\n  session failed); `4` the Agent SDK is absent, with a `context-budget.error\u002F1` record\n  (`error: \"sdk-absent\"`) on stdout. It does not fall back to `cli-parse`, so exit 4 is not\n  exit 3. The engine also prints a one-line message on stderr; relay it and stop; the caller reports the area as not checked.\n- Each measurement still spawns a short-lived headless session, as the full audit does.\n\n## Purpose\n\nPer-skill, per-agent, and per-MCP-tool attribution stays with `\u002Fcontext`, which the person runs\n(the Boundary section below). This skill covers what our measurements see `\u002Fcontext` report only\nas totals: the built-in tool pools, `System tools` and `System tools (deferred)`. Together they\nare typically the largest single contributor to the fixed startup payload. This skill measures\nthat attribution on the consumer's own machine by A\u002FB differencing: a baseline session versus one\nsession per candidate tool with that tool denied by bare name. The two attributed buckets compose differently, so price a basket\nper bucket rather than as one number: deferred-side deltas add, and a basket's deferred saving is\nthe sum of its members; prefix-side deltas double-count, and their sum is only an upper bound on\nwhat the basket saves on the prefix side. Confirm both on this binary with\n`attribute --verify-additivity`, which reports its verdict per bucket.\n\n**Bundled files.** Every reference file this skill links is in\n`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Freference\u002F`. Read each one with the `Read` tool, never through\nBash (`cat`, `sed`, `grep`), Glob or Grep.\n\nTwo rules govern everything this skill says, per the plugin's\n[`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Freference\u002Fengine.md`](reference\u002Fengine.md):\n\n1. **Only measured numbers are reported.** No token figure, tool inventory, or threshold ships in\n   this skill; values drift with every CLI release. If a number was not produced by a run on this\n   machine in this audit, it is not stated.\n2. **Every report is stamped** with the measured binary path and version, the measurement mode\n   (`sdk` exact vs `cli-parse` display-rounded), and the session kind (headless). Machines with\n   two CLI installs produce different answers per binary; the stamp is what makes the answer a\n   claim instead of a guess.\n\n## Scope boundary (route out)\n\n- Which skills to turn off → the built-in `\u002Fskill-doctor`; unused MCP servers and plugins → the\n  bundled `\u002Fdoctor`. Tell the operator to run either one themselves;\n  never reimplement their checks, and never decide here what to turn off. Pointers: for\n  `\u002Fskill-doctor`, see \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fskills#find-unused-skills>; for `\u002Fdoctor`,\n  see \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fskills#check-your-setup-with-\u002Fdoctor>.\n- Per-skill \u002F per-agent \u002F per-MCP-tool attribution → `\u002Fcontext` natively, which the person runs.\n- Live in-session occupancy over time → the `context-usage` plugin, if installed.\n- Settings correctness, permission-rule state → the `harness-config` plugin, if installed.\n\n## Boundary, the bundled `explain-usage` skill\n\nOne native surface also answers \"what is using my tokens\", and the two get conflated when a\nsession feels crowded:\n\n- **`explain-usage` (bundled skill)**: what it does, who can invoke it, and the fact that no\n  upstream page documents it are recorded in\n  [`reference\u002Fnative-explain-usage.md`](reference\u002Fnative-explain-usage.md).\n- **This skill (marketplace plugin).** Measures the fixed startup payload of a fresh headless\n  session per item, including the built-in tool pools `\u002Fcontext` shows only as totals, and keeps a\n  before\u002Fafter ledger for every lever the operator toggles.\n\n**Routing.** When the bundled `explain-usage` skill resolves in this session, prefer it for a\nplain-language account of where this session's tokens went. Prefer this skill for what a session\ncosts before any work starts, per-tool attribution, and whether a settings change saved anything.\n\n**Mutation gate.** `explain-usage`'s description names an explanation, not a write. This skill is read-only unless\n`fix` is passed; never chain into one on the other's behalf.\n\n**Availability is never assumed.** The skill is gated, and bundled skills vary by settings, plan,\nand host; this section states what to do when it resolves, never that it is present. The four-part\nrecords live in [reference\u002Fnative-explain-usage.md](reference\u002Fnative-explain-usage.md).\n\n## Boundary, the built-in `\u002Fcontext` command\n\nBoth show what fills a context window, so \"what is eating my context\" can land on either:\n\n- **`\u002Fcontext` (built-in command)**: shows the current session's context usage; what it shows and\n  what its argument does are read live at the pointer below. It is reserved for the person to run;\n  the model does not invoke it.\n- **This skill (marketplace plugin).** Measures a fresh headless session's startup payload per\n  item, splits the built-in tool pools `\u002Fcontext` shows only as totals, and ledgers before\u002Fafter\n  deltas.\n\n**Routing.** When the person wants a live look at the current session's window, offer it to the\nperson: If \u002Fcontext is available in your session (gate basis: the verification record below), you\ncan run `\u002Fcontext` to see what fills the current window. Prefer this skill for startup cost,\nper-tool attribution, and whether a settings change saved anything. When the caller passes\n`--unattended`, the run records the offer in its output instead of asking;\nwithout that flag it asks.\n\n**Mutation gate.** Neither writes files by default. This skill never runs `\u002Fcontext` in the\nperson's session. The engine's headless capture of `\u002Fcontext` output in a spawned measurement\nsession is a separate path: the `cli-parse` rung in [reference\u002Fengine.md](reference\u002Fengine.md).\n\n**Availability is never assumed.** The command is gated; this section states what to do when the\nperson can run it, never that it is present.\n\n**Verification record, `\u002Fcontext`.** We treat `\u002Fcontext` as a gated, user-only built-in command\nthe model cannot invoke.\n\n- **Probe:** the `\u002Fharness-ops:inventory` extraction of the installed Claude Code 2.1.285 binary\n  on 2026-09-29 (`builtin_commands` lane: `gated` true, `user_invocable` true, `model_invocable`\n  false).\n- **Pointer:** the `\u002Fcontext [all]` row in\n  [commands § All commands](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcommands#all-commands).\n- **As of:** 2026-10-11.\n- **Recheck trigger:** a release renames or removes `\u002Fcontext`, changes its gate, or makes it\n  model-invocable.\n\nThe remaining records live in [reference\u002Fnative-context.md](reference\u002Fnative-context.md).\n\n## Boundary, the built-in `skill-doctor` command\n\n\"Which of my skills cost context\" can land on either surface:\n\n- **`\u002Fskill-doctor` (built-in command, user-only).** We send the choice of which skills to turn\n  off there; the person runs it.\n- **This skill (marketplace plugin).** Measures a fresh headless session's startup payload per\n  item, splits the built-in tool pools, and ledgers the measured delta of each toggle, including\n  what turning a skill off actually saved.\n\n**Routing.** When the person asks which skills to turn off, offer it to the person:\nIf \u002Fskill-doctor is available in your session (gate basis: the records linked below), you can run\n`\u002Fskill-doctor` to choose which skills to turn off. Prefer this skill to measure what a toggle\nsaved. When the caller passes `--unattended`, the run records the offer in its\noutput instead of asking; without that flag it asks.\n\n**Mutation gate.** This skill never runs `\u002Fskill-doctor` and never turns a skill off on its\nbehalf; it stays read-only unless `fix` is passed.\n\n**Availability is never assumed.** This section states what to do when the person can run the\ncommand, never that it is present; its gate is read live at the pointer. The four-part records\nlive in [reference\u002Fnative-skill-doctor.md](reference\u002Fnative-skill-doctor.md).\n\n## Declared scope\n\nThis skill measures **the local Claude Code CLI, in a headless session**. On cloud or web surfaces\n(where the container's binary and settings are not the operator's own), the numbers describe the\ncontainer, not the operator's machine. Say so in the report. Interactive sessions can differ from\nheadless ones (the deferral record is in `reference\u002Fengine.md` under \"Session-kind boundary\");\nthe stamp's `sessionKind: headless` is the honest boundary of the claim.\n\n## Prerequisites\n\n- `node`. Required for correctness. Absent: stop and report the gap; do not estimate.\n- The Claude Code CLI (`claude` on PATH, or a `--binary` path the operator names).\n- `@anthropic-ai\u002Fclaude-agent-sdk`. Required for exact mode only. Absent, the engine degrades to\n  parsing headless `\u002Fcontext` output, display-rounded and resting on a surface the docs do not\n  list for `-p` (the `cli-parse` rung under \"Degradation ladder\" in\n  [reference\u002Fengine.md](reference\u002Fengine.md) carries the record; the run record carries both\n  caveats). To enable exact mode, offer the operator this\n  one-time install into the plugin's own data directory (network access; their call):\n\n  ```shell\n  mkdir -p \"${CLAUDE_PLUGIN_DATA}\u002Fsdk\" && npm install --prefix \"${CLAUDE_PLUGIN_DATA}\u002Fsdk\" @anthropic-ai\u002Fclaude-agent-sdk\n  ```\n\n  On Windows, print the PowerShell form instead of that POSIX line:\n\n  ```powershell\n  New-Item -ItemType Directory -Force -Path \"${CLAUDE_PLUGIN_DATA}\\sdk\" | Out-Null; npm install --prefix \"${CLAUDE_PLUGIN_DATA}\\sdk\" @anthropic-ai\u002Fclaude-agent-sdk \u003C!-- portability-ok: Windows path, not a shell regex -->\n  ```\n\n## Workflow\n\n### 1. Derive the per-project data directory\n\n```shell\nbash \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fstate-key.sh\"\n```\n\nRun it as its own Bash call, with nothing chained before or after it, and do not list the data\ndirectory.\n\nThe audit's artifacts live under `${CLAUDE_PLUGIN_DATA}\u002Faudit\u002F\u003Cstate-key>\u002F`, keyed by project so\none machine's many checkouts never share a ledger. Pass this resolved absolute path wherever\n`\u003Cdata-dir>` appears below. Note near the ledger what an uninstall does to this directory and how\nto keep it, read live at\n[plugins CLI reference § What an uninstall deletes and keeps](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fcli-reference#what-an-uninstall-deletes-and-keeps).\n\n### 2. Take the baseline snapshot\n\n```shell\nnode \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs\" snapshot \\\n  --sdk-dir \"${CLAUDE_PLUGIN_DATA}\u002Fsdk\" --out \u003Cdata-dir>\u002Fbaseline.json\n```\n\nEach measurement spawns a short-lived headless session against the pinned binary and records\nper-category tokens, the live tool list, per-agent tokens, the skill-listing signature, and the\nbinary stamp. How `\u002Fcontext` counts those tokens is not always a measured API count; the dated\nrecord is in `reference\u002Fengine.md` under \"Session-kind boundary\". Exit 3 means measurement is\nunavailable. The JSON record names the remediation; relay it and stop. Never substitute an estimate of your own.\n\n### 3. Attribute the built-in tool pools\n\nCandidates come from the **live tool list in the baseline record** (`tools`), never from a\nmemorized inventory. Ask the operator (or take from arguments) which to measure:\n\n- A **chosen set** (one run per tool):\n\n  ```shell\n  node \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs\" attribute \\\n    --tools \u003CT1,T2,...> --verify-additivity --sdk-dir \"${CLAUDE_PLUGIN_DATA}\u002Fsdk\" \\\n    --operator-deny \u003Cbare names already in permissions.deny> \\\n    --out \u003Cdata-dir>\u002Fattribution.json\n  ```\n\n  `--operator-deny` is the operator's existing bare-name denies, comma-separated. Omit it only\n  when that list is empty. A denied interactive-only name is `knownUncovered.deniedAbsent`, not\n  a structural absence.\n\n- The **full sweep** is the skill argument `--full-sweep`. The engine flag is `--tools\n  from-baseline`. It prices every live tool; warn that it is one run per tool and let the\n  operator opt in. Interactive-only tools never appear in that live list;\n  [reference\u002Finteractive-only-tools.json](reference\u002Finteractive-only-tools.json) names them.\n  The attribution record's `knownUncovered` names them; the report lists each as known-uncovered,\n  never as absent. That category is distinct from unmeasured-but-candidate.\n\nReport the ranked `perTool` table with the binary stamp, and each row's `comparable` flag: a row\nthe engine marked incomparable (skill listing shifted, version changed mid-run) is reported as\nsuch, not as a number. Note which bucket moved. A deny that empties a *deferred* tool's schema\nreduces request weight without changing the context-usage headline, so present `prefixDelta` and\n`deferredDelta` separately, never merged into one figure.\n\n### 4. Present levers from the catalogue\n\nLevers come from the catalogue at\n[`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Freference\u002Flevers.json`](reference\u002Flevers.json), data rows,\neach carrying its honesty category, category basis, posture, detection, measurement route,\nemitted config, official citations, verified date, and recheck trigger. Rules, from the\ncatalogue's own meta:\n\n- **Every lever presented carries its category and at least one official citation.** A lever\n  whose category cannot be determined for this consumer's configuration is not offered.\n- **Resolve conditions by measurement, not assumption.** A row whose `conditions` names a\n  configuration dependency (cap saturation, model default, surface) is measured here before its\n  category is asserted. A condition-dependent lever presented without resolving the condition is\n  the exact failure this plugin exists to prevent.\n- **Respect postures.** `never-recommend` rows (net-negative) are disclosed with their price,\n  never offered as actions; `disclose-only` rows are explained, not pushed; `report-only` rows\n  (vendor weight) appear as the honest unaddressable floor.\n- **Honor recheck triggers.** A row whose trigger has plausibly fired (version jump past the\n  catalogue's `verifiedAgainst`, upstream page moved) is re-verified against a fresh fetch of its\n  citations before being offered, and a measured result always outranks the catalogue's stored\n  expectation. On a version jump, also run the binary-strings existence check against the\n  stamped binary (docs pages move; the binary is what the consumer actually runs):\n\n  ```shell\n  node \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs\" verify-catalogue \\\n    --binary \u003Cstamped-binary> --find-unstored --out \u003Cdata-dir>\u002Fcatalogue-verify.json\n  ```\n\n  The binary is the authority on *existence* of each key\u002Fenv name at the measured version; the\n  docs fetch remains the authority on *semantics*. Report every `absent` token by name. Silence\n  reads as \"present\". `--find-unstored` lists env names in the binary that no catalogue row\n  cites (`unstored`). The catalogue does not claim to hold every switch. A row with\n  `saving: \"runtime-resolved\"` is priced by the measurement, not by its stored category. A row\n  with `measurementScope: \"unmeasurable-in-this-session-kind\"` is reported in that group, not as\n  a zero.\n- **Keep the two ledgers apart** (the catalogue's `dualLedger` note): context-window occupancy\n  versus per-request weight. Deferral moves weight between them; only removal clears both.\n\n### 5. Ledger any before\u002Fafter the operator produces\n\nWhen the operator toggles a lever (a `permissions.deny` entry, a settings change) and wants the\nreal delta: re-run the snapshot, then\n\n```shell\nnode \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs\" compare \\\n  --before \u003Cdata-dir>\u002Fbaseline.json --after \u003Cafter.json> \\\n  --lever \"\u003Cwhat changed>\" --emitted-config \"\u003Cthe exact config text>\" --out \u003Crow.json>\nnode \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs\" ledger --append \u003Crow.json> --dir \u003Cdata-dir>\n```\n\nThe ledger keeps one file per run plus an appended history line, so a same-day rerun never erases\nan earlier point. `--ledger` in the arguments means: list the history (`ledger --list`) and report\nit.\n\n### 6. Produce and persist the report\n\nThe audit's deliverable follows the report contract at\n[`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Freference\u002Freport.md`](reference\u002Freport.md): stamp first,\nlight-zone headline (reclaimed reasoning space, never cost), measured category totals, the ranked\nper-tool table with incomparable rows carrying reasons instead of numbers, lever findings grouped\nby honesty category with citations and emitted config, route-outs, then degradations and caveats.\nPersist it to `\u003Cdata-dir>\u002Freports\u002F\u003CUTC-timestamp>-audit.md`, one file per run, and present it\nto the operator. When `context-usage` is installed its zone vocabulary may frame the headline;\notherwise use the payload's share of the measured window.\n\n## Reading the numbers honestly\n\n- **A scoped deny saves nothing.** We price only bare-name denies, and never treat a scoped rule\n  as a saving; which denies remove a schema, and the tool they cannot remove, are read at the\n  pointer in [`reference\u002Fengine.md`](reference\u002Fengine.md) \"Mechanism claims and citations\".\n- **The deferred bucket is recurring request weight.** Do not present it as already-saved weight;\n  the deferral pointer is in the same engine.md table.\n- **`System tools` deltas are valid only between runs with identical skill listings.** The engine\n  enforces this via the listing signature; relay its verdict rather than overriding it.\n- **Zero is a finding.** A lever that measures zero here is reported as measuring zero here, at\n  this version, not as broken, and not silently dropped.\n- **The snapshot is another session's, not this one's.** Free-space and window figures describe\n  the spawned headless session; they say nothing about the context remaining here and are no\n  reason to shorten, summarize, or wrap up this audit.\n\n## Gotchas\n\nEach of these produces a confidently wrong number unless the engine's guard is honored:\n\n- **`System tools` moves with the skill listing.** The signature check catches a run whose\n  listing differed (why: [`reference\u002Fengine.md`](reference\u002Fengine.md) \"Comparability rules\");\n  never hand-compare two snapshots the engine marked incomparable.\n- **Unredirected stdin prepends a warning line** to headless output, which breaks naive parsing.\n  The engine redirects and strips; if you capture `\u002Fcontext` by hand for `parse-context`, redirect\n  stdin or expect the leading line.\n- **Two CLI installs on one machine answer differently.** Category lists differ across versions.\n  The stamp is the guard; when the operator's interactive `claude` is not the binary on PATH, ask\n  which to pin with `--binary`.\n- **The measured machine's numbers are not this repo's research numbers.** Never quote a figure\n  from any document, including this plugin's own development history, as if it were the\n  consumer's; the drift is the whole reason the engine exists.\n\n## Report-only by default; the fix path is an explicit override\n\nBare invocation is the audit. It changes no configuration. When a measured result suggests a\ntrim, print the exact config the operator would apply and let them apply it, with the ledger\nloop verifying the result. For persistent denies, print a `permissions.deny` entry, never a\n`disallowedTools` settings key (the engine.md \"Mechanism claims and citations\" table carries the\npointer).\n\n### Fix path (`fix` in the arguments only)\n\nThe guided walkthrough runs only when the operator explicitly asked for `fix`, the verb\ncontract's mutation override. Per lever, in the report's ranked order, offer only\n`recommendable-on-fit` catalogue rows whose conditions this audit resolved by measurement;\neverything else stays report material even here.\n\nWrite posture splits by scope, and the split is not negotiable:\n\n- **Project scope** (`.claude\u002Fsettings.json`, `.claude\u002Fsettings.local.json`): may be edited, one\n  lever at a time, after the operator approves the exact diff shown in advance. Make that edit\n  with a file-editing tool (`Edit` or `Write`), never through the shell. The plugin's PreToolUse\n  checkpoint returns `permissionDecision: \"ask\"` for a file-editing tool call that targets a\n  settings file, so even in auto mode the write prompts rather than sliding through. It does not\n  see a settings write made through `Bash` or `PowerShell`, or one rendered into place by another\n  program such as a dotfile manager (README \"Hook\" names each route and records why the hook is\n  not widened). **A checkpoint, not a guarantee**: other hooks, settings, and permission modes\n  decide what happens to its `ask`, including in `bypassPermissions` and headless runs. Before\n  describing the protection, read those limits at the pointers in the \"Hook\" section of\n  `${CLAUDE_PLUGIN_ROOT}\u002FREADME.md` (`PermissionRequest` hooks, `disableAllHooks`, hook order\n  against the mode check, and `-p` denials) and say so.\n- **User-global** (`~\u002F.claude\u002Fsettings.json`): **never written by this skill.** Print the exact\n  edit, fully resolved and paste-ready; applying it is the operator's. \"Protected path\" is not a\n  human-confirmation guarantee: in auto mode the classifier, not a person, decides a write there.\n  Print-only is the posture precisely because the prompt cannot be relied on. Pointer:\n  [permission modes § Protected paths](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fpermission-modes#protected-paths).\n- **Managed policy**: read-only by construction; never targeted, never suggested as a write.\n- **Env-var levers**: no persistent settings file exists; print the export line and where the\n  operator might put it.\n\nThe loop per applied lever: approve → apply (project scope) or print (everywhere else) →\nre-measure → `compare --lever \"\u003Clever>\" --emitted-config \"\u003Cexact text>\"` → `ledger --append` →\nreport the measured delta, zero included. Never apply a second lever before the first one's\ndelta is measured. Un-attributed multi-lever jumps are how false folklore starts.\n","**Arguments.** `[--full-sweep|--tools T1,T2|--ledger|--measure-only|fix] [--unattended]`. Full form: [--full-sweep] every live tool, engine flag --tools from-baseline | [--tools T1,T2] | [--ledger] history | [--measure-only] read-only startup figures, see below | [fix] guided trim (explicit override) | [--unattended] nobody is present, see the Boundary sections\n\n## Measure-only mode (`--measure-only`)\n\nFor a read-only caller, such as a sweep that must write nothing outside its own data folder. Run\nthis and stop; skip the Prerequisites install offer and every Workflow step below:\n\n```shell\nnode \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs\" snapshot --measure-only \\\n  --sdk-dir \"${CLAUDE_PLUGIN_DATA}\u002Fsdk\"\n```\n\n- **Output.** One measurement session; the snapshot record on stdout, stamped as every report is.\n  Report `categories` (tokens per category) with the stamp.\n- **Writes nothing of its own.** No ledger row, snapshot, report or other file, under the plugin\n  data directory or anywhere else. The engine refuses `--out`, `--deny` and `--label` here\n  (exit 2). Any file the spawned headless session keeps for itself is not this skill's output and\n  is not covered by this claim.\n- **Installs nothing.** It never runs or offers the SDK install.\n- **Exit codes.** `0` measured; `2` usage error; `3` measurement failed (no binary, or the SDK\n  session failed); `4` the Agent SDK is absent, with a `context-budget.error\u002F1` record\n  (`error: \"sdk-absent\"`) on stdout. It does not fall back to `cli-parse`, so exit 4 is not\n  exit 3. The engine also prints a one-line message on stderr; relay it and stop; the caller reports the area as not checked.\n- Each measurement still spawns a short-lived headless session, as the full audit does.\n\n## Purpose\n\nPer-skill, per-agent, and per-MCP-tool attribution stays with `\u002Fcontext`, which the person runs\n(the Boundary section below). This skill covers what our measurements see `\u002Fcontext` report only\nas totals: the built-in tool pools, `System tools` and `System tools (deferred)`. Together they\nare typically the largest single contributor to the fixed startup payload. This skill measures\nthat attribution on the consumer's own machine by A\u002FB differencing: a baseline session versus one\nsession per candidate tool with that tool denied by bare name. The two attributed buckets compose differently, so price a basket\nper bucket rather than as one number: deferred-side deltas add, and a basket's deferred saving is\nthe sum of its members; prefix-side deltas double-count, and their sum is only an upper bound on\nwhat the basket saves on the prefix side. Confirm both on this binary with\n`attribute --verify-additivity`, which reports its verdict per bucket.\n\n**Bundled files.** Every reference file this skill links is in\n`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Freference\u002F`. Read each one with the `Read` tool, never through\nBash (`cat`, `sed`, `grep`), Glob or Grep.\n\nTwo rules govern everything this skill says, per the plugin's\n[`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Freference\u002Fengine.md`](reference\u002Fengine.md):\n\n1. **Only measured numbers are reported.** No token figure, tool inventory, or threshold ships in\n   this skill; values drift with every CLI release. If a number was not produced by a run on this\n   machine in this audit, it is not stated.\n2. **Every report is stamped** with the measured binary path and version, the measurement mode\n   (`sdk` exact vs `cli-parse` display-rounded), and the session kind (headless). Machines with\n   two CLI installs produce different answers per binary; the stamp is what makes the answer a\n   claim instead of a guess.\n\n## Scope boundary (route out)\n\n- Which skills to turn off → the built-in `\u002Fskill-doctor`; unused MCP servers and plugins → the\n  bundled `\u002Fdoctor`. Tell the operator to run either one themselves;\n  never reimplement their checks, and never decide here what to turn off. Pointers: for\n  `\u002Fskill-doctor`, see \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fskills#find-unused-skills>; for `\u002Fdoctor`,\n  see \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fskills#check-your-setup-with-\u002Fdoctor>.\n- Per-skill \u002F per-agent \u002F per-MCP-tool attribution → `\u002Fcontext` natively, which the person runs.\n- Live in-session occupancy over time → the `context-usage` plugin, if installed.\n- Settings correctness, permission-rule state → the `harness-config` plugin, if installed.\n\n## Boundary, the bundled `explain-usage` skill\n\nOne native surface also answers \"what is using my tokens\", and the two get conflated when a\nsession feels crowded:\n\n- **`explain-usage` (bundled skill)**: what it does, who can invoke it, and the fact that no\n  upstream page documents it are recorded in\n  [`reference\u002Fnative-explain-usage.md`](reference\u002Fnative-explain-usage.md).\n- **This skill (marketplace plugin).** Measures the fixed startup payload of a fresh headless\n  session per item, including the built-in tool pools `\u002Fcontext` shows only as totals, and keeps a\n  before\u002Fafter ledger for every lever the operator toggles.\n\n**Routing.** When the bundled `explain-usage` skill resolves in this session, prefer it for a\nplain-language account of where this session's tokens went. Prefer this skill for what a session\ncosts before any work starts, per-tool attribution, and whether a settings change saved anything.\n\n**Mutation gate.** `explain-usage`'s description names an explanation, not a write. This skill is read-only unless\n`fix` is passed; never chain into one on the other's behalf.\n\n**Availability is never assumed.** The skill is gated, and bundled skills vary by settings, plan,\nand host; this section states what to do when it resolves, never that it is present. The four-part\nrecords live in [reference\u002Fnative-explain-usage.md](reference\u002Fnative-explain-usage.md).\n\n## Boundary, the built-in `\u002Fcontext` command\n\nBoth show what fills a context window, so \"what is eating my context\" can land on either:\n\n- **`\u002Fcontext` (built-in command)**: shows the current session's context usage; what it shows and\n  what its argument does are read live at the pointer below. It is reserved for the person to run;\n  the model does not invoke it.\n- **This skill (marketplace plugin).** Measures a fresh headless session's startup payload per\n  item, splits the built-in tool pools `\u002Fcontext` shows only as totals, and ledgers before\u002Fafter\n  deltas.\n\n**Routing.** When the person wants a live look at the current session's window, offer it to the\nperson: If \u002Fcontext is available in your session (gate basis: the verification record below), you\ncan run `\u002Fcontext` to see what fills the current window. Prefer this skill for startup cost,\nper-tool attribution, and whether a settings change saved anything. When the caller passes\n`--unattended`, the run records the offer in its output instead of asking;\nwithout that flag it asks.\n\n**Mutation gate.** Neither writes files by default. This skill never runs `\u002Fcontext` in the\nperson's session. The engine's headless capture of `\u002Fcontext` output in a spawned measurement\nsession is a separate path: the `cli-parse` rung in [reference\u002Fengine.md](reference\u002Fengine.md).\n\n**Availability is never assumed.** The command is gated; this section states what to do when the\nperson can run it, never that it is present.\n\n**Verification record, `\u002Fcontext`.** We treat `\u002Fcontext` as a gated, user-only built-in command\nthe model cannot invoke.\n\n- **Probe:** the `\u002Fharness-ops:inventory` extraction of the installed Claude Code 2.1.285 binary\n  on 2026-09-29 (`builtin_commands` lane: `gated` true, `user_invocable` true, `model_invocable`\n  false).\n- **Pointer:** the `\u002Fcontext [all]` row in\n  [commands § All commands](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcommands#all-commands).\n- **As of:** 2026-10-11.\n- **Recheck trigger:** a release renames or removes `\u002Fcontext`, changes its gate, or makes it\n  model-invocable.\n\nThe remaining records live in [reference\u002Fnative-context.md](reference\u002Fnative-context.md).\n\n## Boundary, the built-in `skill-doctor` command\n\n\"Which of my skills cost context\" can land on either surface:\n\n- **`\u002Fskill-doctor` (built-in command, user-only).** We send the choice of which skills to turn\n  off there; the person runs it.\n- **This skill (marketplace plugin).** Measures a fresh headless session's startup payload per\n  item, splits the built-in tool pools, and ledgers the measured delta of each toggle, including\n  what turning a skill off actually saved.\n\n**Routing.** When the person asks which skills to turn off, offer it to the person:\nIf \u002Fskill-doctor is available in your session (gate basis: the records linked below), you can run\n`\u002Fskill-doctor` to choose which skills to turn off. Prefer this skill to measure what a toggle\nsaved. When the caller passes `--unattended`, the run records the offer in its\noutput instead of asking; without that flag it asks.\n\n**Mutation gate.** This skill never runs `\u002Fskill-doctor` and never turns a skill off on its\nbehalf; it stays read-only unless `fix` is passed.\n\n**Availability is never assumed.** This section states what to do when the person can run the\ncommand, never that it is present; its gate is read live at the pointer. The four-part records\nlive in [reference\u002Fnative-skill-doctor.md](reference\u002Fnative-skill-doctor.md).\n\n## Declared scope\n\nThis skill measures **the local Claude Code CLI, in a headless session**. On cloud or web surfaces\n(where the container's binary and settings are not the operator's own), the numbers describe the\ncontainer, not the operator's machine. Say so in the report. Interactive sessions can differ from\nheadless ones (the deferral record is in `reference\u002Fengine.md` under \"Session-kind boundary\");\nthe stamp's `sessionKind: headless` is the honest boundary of the claim.\n\n## Prerequisites\n\n- `node`. Required for correctness. Absent: stop and report the gap; do not estimate.\n- The Claude Code CLI (`claude` on PATH, or a `--binary` path the operator names).\n- `@anthropic-ai\u002Fclaude-agent-sdk`. Required for exact mode only. Absent, the engine degrades to\n  parsing headless `\u002Fcontext` output, display-rounded and resting on a surface the docs do not\n  list for `-p` (the `cli-parse` rung under \"Degradation ladder\" in\n  [reference\u002Fengine.md](reference\u002Fengine.md) carries the record; the run record carries both\n  caveats). To enable exact mode, offer the operator this\n  one-time install into the plugin's own data directory (network access; their call):\n\n  ```shell\n  mkdir -p \"${CLAUDE_PLUGIN_DATA}\u002Fsdk\" && npm install --prefix \"${CLAUDE_PLUGIN_DATA}\u002Fsdk\" @anthropic-ai\u002Fclaude-agent-sdk\n  ```\n\n  On Windows, print the PowerShell form instead of that POSIX line:\n\n  ```powershell\n  New-Item -ItemType Directory -Force -Path \"${CLAUDE_PLUGIN_DATA}\\sdk\" | Out-Null; npm install --prefix \"${CLAUDE_PLUGIN_DATA}\\sdk\" @anthropic-ai\u002Fclaude-agent-sdk \u003C!-- portability-ok: Windows path, not a shell regex -->\n  ```\n\n## Workflow\n\n### 1. Derive the per-project data directory\n\n```shell\nbash \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fstate-key.sh\"\n```\n\nRun it as its own Bash call, with nothing chained before or after it, and do not list the data\ndirectory.\n\nThe audit's artifacts live under `${CLAUDE_PLUGIN_DATA}\u002Faudit\u002F\u003Cstate-key>\u002F`, keyed by project so\none machine's many checkouts never share a ledger. Pass this resolved absolute path wherever\n`\u003Cdata-dir>` appears below. Note near the ledger what an uninstall does to this directory and how\nto keep it, read live at\n[plugins CLI reference § What an uninstall deletes and keeps](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fcli-reference#what-an-uninstall-deletes-and-keeps).\n\n### 2. Take the baseline snapshot\n\n```shell\nnode \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs\" snapshot \\\n  --sdk-dir \"${CLAUDE_PLUGIN_DATA}\u002Fsdk\" --out \u003Cdata-dir>\u002Fbaseline.json\n```\n\nEach measurement spawns a short-lived headless session against the pinned binary and records\nper-category tokens, the live tool list, per-agent tokens, the skill-listing signature, and the\nbinary stamp. How `\u002Fcontext` counts those tokens is not always a measured API count; the dated\nrecord is in `reference\u002Fengine.md` under \"Session-kind boundary\". Exit 3 means measurement is\nunavailable. The JSON record names the remediation; relay it and stop. Never substitute an estimate of your own.\n\n### 3. Attribute the built-in tool pools\n\nCandidates come from the **live tool list in the baseline record** (`tools`), never from a\nmemorized inventory. Ask the operator (or take from arguments) which to measure:\n\n- A **chosen set** (one run per tool):\n\n  ```shell\n  node \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs\" attribute \\\n    --tools \u003CT1,T2,...> --verify-additivity --sdk-dir \"${CLAUDE_PLUGIN_DATA}\u002Fsdk\" \\\n    --operator-deny \u003Cbare names already in permissions.deny> \\\n    --out \u003Cdata-dir>\u002Fattribution.json\n  ```\n\n  `--operator-deny` is the operator's existing bare-name denies, comma-separated. Omit it only\n  when that list is empty. A denied interactive-only name is `knownUncovered.deniedAbsent`, not\n  a structural absence.\n\n- The **full sweep** is the skill argument `--full-sweep`. The engine flag is `--tools\n  from-baseline`. It prices every live tool; warn that it is one run per tool and let the\n  operator opt in. Interactive-only tools never appear in that live list;\n  [reference\u002Finteractive-only-tools.json](reference\u002Finteractive-only-tools.json) names them.\n  The attribution record's `knownUncovered` names them; the report lists each as known-uncovered,\n  never as absent. That category is distinct from unmeasured-but-candidate.\n\nReport the ranked `perTool` table with the binary stamp, and each row's `comparable` flag: a row\nthe engine marked incomparable (skill listing shifted, version changed mid-run) is reported as\nsuch, not as a number. Note which bucket moved. A deny that empties a *deferred* tool's schema\nreduces request weight without changing the context-usage headline, so present `prefixDelta` and\n`deferredDelta` separately, never merged into one figure.\n\n### 4. Present levers from the catalogue\n\nLevers come from the catalogue at\n[`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Freference\u002Flevers.json`](reference\u002Flevers.json), data rows,\neach carrying its honesty category, category basis, posture, detection, measurement route,\nemitted config, official citations, verified date, and recheck trigger. Rules, from the\ncatalogue's own meta:\n\n- **Every lever presented carries its category and at least one official citation.** A lever\n  whose category cannot be determined for this consumer's configuration is not offered.\n- **Resolve conditions by measurement, not assumption.** A row whose `conditions` names a\n  configuration dependency (cap saturation, model default, surface) is measured here before its\n  category is asserted. A condition-dependent lever presented without resolving the condition is\n  the exact failure this plugin exists to prevent.\n- **Respect postures.** `never-recommend` rows (net-negative) are disclosed with their price,\n  never offered as actions; `disclose-only` rows are explained, not pushed; `report-only` rows\n  (vendor weight) appear as the honest unaddressable floor.\n- **Honor recheck triggers.** A row whose trigger has plausibly fired (version jump past the\n  catalogue's `verifiedAgainst`, upstream page moved) is re-verified against a fresh fetch of its\n  citations before being offered, and a measured result always outranks the catalogue's stored\n  expectation. On a version jump, also run the binary-strings existence check against the\n  stamped binary (docs pages move; the binary is what the consumer actually runs):\n\n  ```shell\n  node \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs\" verify-catalogue \\\n    --binary \u003Cstamped-binary> --find-unstored --out \u003Cdata-dir>\u002Fcatalogue-verify.json\n  ```\n\n  The binary is the authority on *existence* of each key\u002Fenv name at the measured version; the\n  docs fetch remains the authority on *semantics*. Report every `absent` token by name. Silence\n  reads as \"present\". `--find-unstored` lists env names in the binary that no catalogue row\n  cites (`unstored`). The catalogue does not claim to hold every switch. A row with\n  `saving: \"runtime-resolved\"` is priced by the measurement, not by its stored category. A row\n  with `measurementScope: \"unmeasurable-in-this-session-kind\"` is reported in that group, not as\n  a zero.\n- **Keep the two ledgers apart** (the catalogue's `dualLedger` note): context-window occupancy\n  versus per-request weight. Deferral moves weight between them; only removal clears both.\n\n### 5. Ledger any before\u002Fafter the operator produces\n\nWhen the operator toggles a lever (a `permissions.deny` entry, a settings change) and wants the\nreal delta: re-run the snapshot, then\n\n```shell\nnode \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs\" compare \\\n  --before \u003Cdata-dir>\u002Fbaseline.json --after \u003Cafter.json> \\\n  --lever \"\u003Cwhat changed>\" --emitted-config \"\u003Cthe exact config text>\" --out \u003Crow.json>\nnode \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs\" ledger --append \u003Crow.json> --dir \u003Cdata-dir>\n```\n\nThe ledger keeps one file per run plus an appended history line, so a same-day rerun never erases\nan earlier point. `--ledger` in the arguments means: list the history (`ledger --list`) and report\nit.\n\n### 6. Produce and persist the report\n\nThe audit's deliverable follows the report contract at\n[`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Freference\u002Freport.md`](reference\u002Freport.md): stamp first,\nlight-zone headline (reclaimed reasoning space, never cost), measured category totals, the ranked\nper-tool table with incomparable rows carrying reasons instead of numbers, lever findings grouped\nby honesty category with citations and emitted config, route-outs, then degradations and caveats.\nPersist it to `\u003Cdata-dir>\u002Freports\u002F\u003CUTC-timestamp>-audit.md`, one file per run, and present it\nto the operator. When `context-usage` is installed its zone vocabulary may frame the headline;\notherwise use the payload's share of the measured window.\n\n## Reading the numbers honestly\n\n- **A scoped deny saves nothing.** We price only bare-name denies, and never treat a scoped rule\n  as a saving; which denies remove a schema, and the tool they cannot remove, are read at the\n  pointer in [`reference\u002Fengine.md`](reference\u002Fengine.md) \"Mechanism claims and citations\".\n- **The deferred bucket is recurring request weight.** Do not present it as already-saved weight;\n  the deferral pointer is in the same engine.md table.\n- **`System tools` deltas are valid only between runs with identical skill listings.** The engine\n  enforces this via the listing signature; relay its verdict rather than overriding it.\n- **Zero is a finding.** A lever that measures zero here is reported as measuring zero here, at\n  this version, not as broken, and not silently dropped.\n- **The snapshot is another session's, not this one's.** Free-space and window figures describe\n  the spawned headless session; they say nothing about the context remaining here and are no\n  reason to shorten, summarize, or wrap up this audit.\n\n## Gotchas\n\nEach of these produces a confidently wrong number unless the engine's guard is honored:\n\n- **`System tools` moves with the skill listing.** The signature check catches a run whose\n  listing differed (why: [`reference\u002Fengine.md`](reference\u002Fengine.md) \"Comparability rules\");\n  never hand-compare two snapshots the engine marked incomparable.\n- **Unredirected stdin prepends a warning line** to headless output, which breaks naive parsing.\n  The engine redirects and strips; if you capture `\u002Fcontext` by hand for `parse-context`, redirect\n  stdin or expect the leading line.\n- **Two CLI installs on one machine answer differently.** Category lists differ across versions.\n  The stamp is the guard; when the operator's interactive `claude` is not the binary on PATH, ask\n  which to pin with `--binary`.\n- **The measured machine's numbers are not this repo's research numbers.** Never quote a figure\n  from any document, including this plugin's own development history, as if it were the\n  consumer's; the drift is the whole reason the engine exists.\n\n## Report-only by default; the fix path is an explicit override\n\nBare invocation is the audit. It changes no configuration. When a measured result suggests a\ntrim, print the exact config the operator would apply and let them apply it, with the ledger\nloop verifying the result. For persistent denies, print a `permissions.deny` entry, never a\n`disallowedTools` settings key (the engine.md \"Mechanism claims and citations\" table carries the\npointer).\n\n### Fix path (`fix` in the arguments only)\n\nThe guided walkthrough runs only when the operator explicitly asked for `fix`, the verb\ncontract's mutation override. Per lever, in the report's ranked order, offer only\n`recommendable-on-fit` catalogue rows whose conditions this audit resolved by measurement;\neverything else stays report material even here.\n\nWrite posture splits by scope, and the split is not negotiable:\n\n- **Project scope** (`.claude\u002Fsettings.json`, `.claude\u002Fsettings.local.json`): may be edited, one\n  lever at a time, after the operator approves the exact diff shown in advance. Make that edit\n  with a file-editing tool (`Edit` or `Write`), never through the shell. The plugin's PreToolUse\n  checkpoint returns `permissionDecision: \"ask\"` for a file-editing tool call that targets a\n  settings file, so even in auto mode the write prompts rather than sliding through. It does not\n  see a settings write made through `Bash` or `PowerShell`, or one rendered into place by another\n  program such as a dotfile manager (README \"Hook\" names each route and records why the hook is\n  not widened). **A checkpoint, not a guarantee**: other hooks, settings, and permission modes\n  decide what happens to its `ask`, including in `bypassPermissions` and headless runs. Before\n  describing the protection, read those limits at the pointers in the \"Hook\" section of\n  `${CLAUDE_PLUGIN_ROOT}\u002FREADME.md` (`PermissionRequest` hooks, `disableAllHooks`, hook order\n  against the mode check, and `-p` denials) and say so.\n- **User-global** (`~\u002F.claude\u002Fsettings.json`): **never written by this skill.** Print the exact\n  edit, fully resolved and paste-ready; applying it is the operator's. \"Protected path\" is not a\n  human-confirmation guarantee: in auto mode the classifier, not a person, decides a write there.\n  Print-only is the posture precisely because the prompt cannot be relied on. Pointer:\n  [permission modes § Protected paths](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fpermission-modes#protected-paths).\n- **Managed policy**: read-only by construction; never targeted, never suggested as a write.\n- **Env-var levers**: no persistent settings file exists; print the export line and where the\n  operator might put it.\n\nThe loop per applied lever: approve → apply (project scope) or print (everywhere else) →\nre-measure → `compare --lever \"\u003Clever>\" --emitted-config \"\u003Cexact text>\"` → `ledger --append` →\nreport the measured delta, zero included. Never apply a second lever before the first one's\ndelta is measured. Un-attributed multi-lever jumps are how false folklore starts.\n",{"metadata":24,"description":7,"argument-hint":27,"user-invocable":28,"disable-model-invocation":20},{"summary":25,"workflow-stage":26},"Measure the startup context payload per item and ledger every lever's real delta","anytime","[--full-sweep|--tools T1,T2|--ledger|--measure-only|fix] [--unattended]",true,"main","5aff8ba54896bc54fd0eb46e4a954099449cf67d","plugins\u002Fcontext-budget\u002Fskills\u002Faudit",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":39,"prompt":49,"zipAvailable":28},[40,43,46],{"tool":41,"command":42},"npx","npx skills add melodic-software\u002Fclaude-code-plugins --skill audit",{"tool":44,"command":45},"bunx","bunx skills add melodic-software\u002Fclaude-code-plugins --skill audit",{"tool":47,"command":48},"pnpm","pnpm dlx skills add melodic-software\u002Fclaude-code-plugins --skill audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002FSKILL.md",[51,57,61,65,69,73,77,81,87,91,95,99],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"reference\u002Fengine.md","REFERENCE","参考文档",15936,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002Freference\u002Fengine.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"reference\u002Finteractive-only-tools.json",1090,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002Freference\u002Finteractive-only-tools.json",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"reference\u002Flevers.json",48337,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002Freference\u002Flevers.json",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"reference\u002Fnative-context.md",1948,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002Freference\u002Fnative-context.md",{"path":70,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":71,"sourceHtmlUrl":72},"reference\u002Fnative-explain-usage.md",2881,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002Freference\u002Fnative-explain-usage.md",{"path":74,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":75,"sourceHtmlUrl":76},"reference\u002Fnative-skill-doctor.md",2152,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002Freference\u002Fnative-skill-doctor.md",{"path":78,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":79,"sourceHtmlUrl":80},"reference\u002Freport.md",6343,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002Freference\u002Freport.md",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Ffixtures\u002Fcontext-deferred-only.md","SCRIPT","脚本",903,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002Fscripts\u002Ffixtures\u002Fcontext-deferred-only.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Ffixtures\u002Fcontext-sample.md",1087,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002Fscripts\u002Ffixtures\u002Fcontext-sample.md",{"path":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Flevers.test.sh",9299,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002Fscripts\u002Flevers.test.sh",{"path":96,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fmeasure.mjs",51187,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.mjs",{"path":100,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Fmeasure.test.sh",49309,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcontext-budget\u002Fskills\u002Faudit\u002Fscripts\u002Fmeasure.test.sh",[104,111,118,125,130,137],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"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":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"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":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"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":126,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"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":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"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":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"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",[],[]]