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 agentmods add commands/littlebearapps/pitchdocs/doc-refreshgit clone --depth 1 https://github.com/littlebearapps/pitchdocsWhat 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 | $0.00017 | $0.00963 |
| Opus 5 | $0.00009 | $0.00481 |
| Sonnet 5 | $0.00003 | $0.00193 |
| Haiku 4.5 | $0.00002 | $0.00096 |
Grade A, and why
doc-refresh 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 2d 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 — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/doc-refresh
Refresh existing documentation to reflect the current state of the codebase. Analyses git history since the last release, identifies what changed, and surgically updates only the affected docs.
Behaviour
- Load the
doc-refreshskill for the orchestration workflow - Load the
doc-standardsrule for tone and quality - If GitHub MCP tools are unavailable (GitLab/Bitbucket), gather equivalent data via
glabCLI, REST API, or git history. Loadplatform-profilesfor CI/CD equivalents. - Detect the change boundary (latest tag, provided version, or range)
- Parse conventional commits and classify changes by type and doc impact
- Detect file-level changes to identify which areas of the project changed
- Build a refresh plan mapping changes to doc updates
- Execute the plan, loading additional skills as needed:
changelogfor CHANGELOG updatesfeature-benefitsfor README featuresuser-guidesfor affected guides- ContextDocs for context file drift (if installed)
llms-txtfor file index updatespackage-registryfor registry metadatadocs-verifyfor final verification
- Report what was updated and the quality score
Arguments
- No arguments: Detect latest tag, analyse changes since that tag, refresh all affected docs
- Version (e.g.,
1.7.0): Refresh docs for a specific version release - Range (e.g.,
v1.5.0..v1.7.0): Refresh docs for a range of versions (useful for catching up) plan: Dry run — analyse and report what needs refreshing, without writing anythingchangelog: Only refresh CHANGELOG.mdreadme: Only refresh README.md features and metricsguides: Only update affected user guidescontext: Only refresh AI context files and llms.txtrelease-notes: Only generate GitHub release bodyfull: Refresh everything regardless of what changed
Release-Please Integration
Run /doc-refresh before merging a release-please PR:
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.
- 2d ago First seen · 87 lines · 17 tokens per session scan A 815771dcaf6c
doc-refresh is a command published in the GitHub repository littlebearapps/pitchdocs (7 stars, last pushed 3mo ago), licensed MIT. It adds 17 tokens to every session and 963 once invoked, about $0.0001 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-08-31.
Other commands, from other repositories
create-skill
Create an AI skill from any source (URL, repo, PDF, video, notebook, etc.).
install-skill
One-command skill creation and packaging for a target platform.
sync-config
Sync a scraping config's URLs against the live documentation site.
review-renovate
Review and merge renovate PRs with automerge configuration updates.
plan-regression-tests
Plan regression tests for existing code with it.skip statements.
ado-pull
Pull latest changes from Azure DevOps (like git pull). Supports increment, project, or full living docs sync.