Borrowing it
Nothing to install: this file belongs to danish-119/ctxkeep. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/danish-119/ctxkeep/main/.claude/commands/update-docs.mdgit clone --depth 1 https://github.com/danish-119/ctxkeepWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/danish-119/ctxkeep/update-docs)<a href="https://agentmods.dev/commands/danish-119/ctxkeep/update-docs"><img src="https://agentmods.dev/badge/commands/danish-119/ctxkeep/update-docs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/danish-119/ctxkeep/update-docs"><img src="https://agentmods.dev/badge/commands/danish-119/ctxkeep/update-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.00213 |
| Opus 5.5 | $0.00009 | $0.00085 |
| Sonnet 5.5 | $0.00004 | $0.00043 |
| Haiku 4.5 | $0.00002 | $0.00021 |
Grade C, and why
update-docs scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
3. For each entry, fix the hand-written text at that location so it matches the code. Use the suggestion when it is right; read the code when unsure. If a reference is intentionally hypothetical, add `<!-- ctxkeep-ignore What it actually says
Bring this project's documentation back in line with the code.
- Run
npm run dev -- syncto refresh the generated sections. - Run
npm run dev -- check --jsonand read thedriftlist. Each entry has a file, a line, what is wrong, and sometimes a suggestion. - For each entry, fix the hand-written text at that location so it matches the code. Use the suggestion when it is right; read the code when unsure. If a reference is intentionally hypothetical, add
<!-- ctxkeep-ignore -->to that line instead. - Never edit between
ctxkeep:start/ctxkeep:endmarkers. - Run
npm run dev -- checkagain until it reports nothing, then summarize what you changed.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 14 lines · 22 tokens per session scan C 7bc2d80f4bbe
update-docs is a command published in the GitHub repository danish-119/ctxkeep (2 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 213 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.
update-docs compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| update-docsdanish-119/ctxkeep | Command | 2 | 1mo ago | MIT | C | 22 | Claude Code |
| fafWolfe-Jam/faf-cli | Command | 44 | yesterday | MIT | A | 11 | Claude Code |
| verifyalipajand/agent-context-doctor | Command | 1 | yesterday | MIT | A | 20 | Claude Code |
| audit-selfalipajand/agent-context-doctor | Command | 1 | yesterday | MIT | A | 10 | Claude Code |
| review-branchdamusix/atomic-claude | Command | 116 | 5d ago | MIT | A | 35 | Claude Code |
| securityajitpratap0/GoSQLX | Command | 124 | today | Apache-2.0 | A | 21 | Claude Code |
| commitechoVic/blade-code | Command | 181 | 25d ago | MIT | A | 8 | Claude Code |