Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add johnqtcg/awesome-skills --skill update-docgit clone --depth 1 https://github.com/johnqtcg/awesome-skillsWrote 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/skills/johnqtcg/awesome-skills/update-doc)<a href="https://agentmods.dev/skills/johnqtcg/awesome-skills/update-doc"><img src="https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/update-doc/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/skills/johnqtcg/awesome-skills/update-doc"><img src="https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/update-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00048 | $0.04488 |
| Opus 5 | $0.00024 | $0.02244 |
| Sonnet 5 | $0.00010 | $0.00898 |
| Haiku 4.5 | $0.00005 | $0.00449 |
Grade A, and why
update-doc scanned grade A with 0 findings 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 9d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 450 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Update Docs
Synchronize documentation with repository evidence and avoid stale or speculative content.
Quick Reference
| If you need to… | Go to |
|---|---|
| Update README/docs after a code change (default workflow) | §Pre-Update Gates → §Output Mode Routing → §Standard Workflow |
| Find what actually changed | §1) Scope Discovery |
| Decide which command belongs in the doc | §4) Command Source Resolution |
| Choose the right doc structure for project type | §Project-Type Guidance + Load references/project-routing.md |
| Get the per-language evidence commands | Load references/evidence-commands.md |
| Check docs-drift: find gaps between code and docs | §Quality Scorecard (12 Checks) + Load references/update-doc.md |
| Add CI checks to catch docs drift automatically | Load references/ci-drift.md |
Understand what to mark vs. invent (Not found in repo) |
§Hard Rules |
Hard Rules
- Use repository files as the only source of truth.
- Mark missing information as
Not found in repo. - Do not invent APIs, routes, env vars, ports, jobs, or dependencies.
- Prefer minimal patches by default; preserve existing doc structure unless user requests restructure.
- Use diff-scoped updates first; avoid unrelated bulk rewrites.
- Keep output scannable: headings + concise bullets + short runnable command blocks.
- Keep internal workflow markers out of user-facing docs by default. Verification labels, scorecards, and evidence tables belong in the assistant response unless the user explicitly wants them in the document.
- Do not add self-explanatory audience labels or author commentary to top-level docs unless they materially help readers.
Pre-Update Gates (Mandatory)
1) Scope Discovery
Run the bundled discovery script before reading any document:
bash "${CLAUDE_SKILL_DIR}/scripts/discover_doc_scope.sh" --base <ref>
${CLAUDE_SKILL_DIR} expands to this skill's own directory. Two separate version
gates apply, and they are not the same number:
What ships with it
27 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/ci-drift.md 2.0 KB
- references/evidence-commands.md 4.3 KB
- references/project-routing.md 3.6 KB
- references/update-doc.md 2.6 KB
- scripts/discover_doc_scope.sh 30 KB runs code
- scripts/grade_doc_update.py 12 KB runs code
- scripts/run_live_eval.sh 7.1 KB runs code
- scripts/run_regression.sh 3.7 KB runs code
- scripts/tests/eval/scenario_node_workspace.json 6.1 KB
- scripts/tests/eval/scenario_worker.json 6.0 KB
- scripts/tests/golden/001_go_service_new_worker.json 1.6 KB
- scripts/tests/golden/002_go_library.json 1.1 KB
- scripts/tests/golden/003_node_cli.json 1.1 KB
- scripts/tests/golden/004_polyglot_monorepo.json 2.3 KB
- scripts/tests/golden/005_staged_only_change.json 1.0 KB
- scripts/tests/golden/006_untracked_new_module.json 1.1 KB
- scripts/tests/golden/007_ci_only_command_source.json 1.1 KB
- scripts/tests/golden/008_no_git_degraded.json 1.1 KB
- scripts/tests/golden/009_untracked_new_language.json 1.3 KB
- scripts/tests/golden/010_base_range_modify_only.json 1.1 KB
- scripts/tests/golden/011_base_range_adds_file.json 1.0 KB
- scripts/tests/golden/012_mixed_command_sources.json 1.5 KB
- scripts/tests/test_discovery_script.py 28 KB runs code
- scripts/tests/test_forward_eval.py 11 KB runs code
- scripts/tests/test_golden_scenarios.py 11 KB runs code
- scripts/tests/test_skill_contract.py 33 KB runs code
- scripts/validate_frontmatter.py 6.5 KB runs code
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.
- 9d ago First seen · 450 lines · 48 tokens per session scan A 9b909fef0fa7
update-doc is a skill published in the GitHub repository johnqtcg/awesome-skills (30 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 4,488 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
security-compliance
Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding security throughout the SDLC.
stride-analysis-patterns
Apply STRIDE methodology to systematically identify threats. Use when analyzing system security, conducting threat modeling sessions, or creating security documentation.
cache-components
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). PROACTIVE ACTIVATION: Use this skill automatically when working in Next.js projects that have cacheComponents: true in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best…
manage-skills
A maintenance workflow for checking whether project verification skills still cover the code and rules that changed during a session.
blind-spot-pass
Use before starting work in a domain you don't know well, to surface the "unknown unknowns" — the things you don't even know to ask about — and learn just enough to prompt and decide well. Implements the "blind spot pass" pattern from Anthropic's Fable "finding your unknowns" field guide. Triggers when you say "I'm…
skill-factory
A workflow that examines completed session work and turns reusable patterns into Claude Code skills.