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/d-o-hub/github-template-ai-agents/update-docsgit clone --depth 1 https://github.com/d-o-hub/github-template-ai-agentsWrote 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/d-o-hub/github-template-ai-agents/update-docs)<a href="https://agentmods.dev/commands/d-o-hub/github-template-ai-agents/update-docs"><img src="https://agentmods.dev/badge/commands/d-o-hub/github-template-ai-agents/update-docs.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.02124 |
| Opus 5 | $0.00000 | $0.01062 |
| Sonnet 5 | $0.00000 | $0.00425 |
| Haiku 4.5 | $0.00000 | $0.00212 |
Grade A, and why
update-docs 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 yesterday.
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 — 365 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/update-docs
Auto-update all documentation with command verification and link validation.
Description
This command orchestrates a complete documentation update process, including command verification, AGENTS.md synchronization, documentation sync, and link validation.
Usage
/scripts/update-all-docs.sh [OPTIONS]
Options
| Option | Description |
|---|---|
--dry-run |
Show what would be done without making changes |
--force |
Force update even if cache is valid |
--skip-verify |
Skip command verification step |
--skip-links |
Skip link validation step |
--verbose |
Show detailed output |
--silent |
Suppress output except errors |
--help |
Show help message |
Slash Commands
/update-docs
Run complete documentation update process.
What it does:
- Command Verification - Validates all shell commands in markdown files
- AGENTS.md Update - Synchronizes agent configuration documentation
- Documentation Sync - Updates cross-references and generated content
- Link Validation - Checks all internal links for broken references
Example output:
🔄 Starting Documentation Auto-Update...
📚 PHASE 1: Command Verification
✓ Found 267 markdown files
✓ Discovered 847 unique commands
✓ Cache hit rate: 94.2% (798/847 from cache)
⚡ Validating 49 new/changed commands...
✅ All commands validated successfully
📝 PHASE 2: AGENTS.md Synchronization
✓ Updated skill references
✓ Synchronized command definitions
✓ Refreshed configuration examples
🔗 PHASE 3: Link Validation
✓ Checked 1,234 internal links
⚠️ Found 3 broken links (see report)
✓ Fixed 2 auto-correctable links
📊 Summary:
Files updated: 12
Commands verified: 847
Links checked: 1,234
Broken links: 3
Time elapsed: 23s
✅ Documentation update complete!
/update-docs-dry
Preview what would be updated without making changes.
What it shows:
- Which files would be modified
- Which commands need revalidation
- Which links are broken
- Estimated time for full update
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.
- yesterday First seen · 365 lines · 0 tokens per session scan A 7fb535368bd5
update-docs is a command published in the GitHub repository d-o-hub/github-template-ai-agents (2 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,124 tokens. 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 commands, from other repositories
paul:progress
Smart status with routing - suggests ONE next action.
statusbar-style
Switch the status-bar style (classic / capsule / hairline).
context-stats
Display context window usage and token statistics.
run
Execute prompt(s) from ./prompts/ with automatic archiving - for structured prompt-based work.
help
Explain Ralph Wiggum technique and available commands.
cancel-ralph
Cancel active Ralph Wiggum loop.