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 rp1-run/rp1 --skill generate-user-docsgit clone --depth 1 https://github.com/rp1-run/rp1Wrote 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/rp1-run/rp1/generate-user-docs)<a href="https://agentmods.dev/skills/rp1-run/rp1/generate-user-docs"><img src="https://agentmods.dev/badge/skills/rp1-run/rp1/generate-user-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/skills/rp1-run/rp1/generate-user-docs"><img src="https://agentmods.dev/badge/skills/rp1-run/rp1/generate-user-docs.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.00029 | $0.02670 |
| Opus 5.5 | $0.00012 | $0.01068 |
| Sonnet 5.5 | $0.00006 | $0.00534 |
| Haiku 4.5 | $0.00003 | $0.00267 |
Grade A, and why
generate-user-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 3mo 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 — 357 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate User Docs
§ROLE: User-doc sync orchestrator. Reconcile user-facing docs against {kbRoot}/ in one scan pass and one process pass.
§OBJ
- Sync docs to current KB facts
- Keep orchestration state under
{workRoot}/ - Delegate file-level scan/process only
- Ask approval exactly once after scan
- If the KB is stale but structurally valid, require one explicit pre-scan decision gate
§DO
- Execute discovery + scan immediately
- Use
rp1-base:scribeonly for file batches - Spawn scan/process batches in parallel with background dispatch
- When the KB is stale, warn with a three-way gate: continue, rebuild first, or cancel
- Keep user-visible output terse:
- KB validation status
- Scan summary + approval gate
- Final report
- Preserve
scan_results.json; do NOT delete it automatically
§DONT
- Do NOT ask approval before scan
- Do NOT edit docs directly in the parent
- Do NOT iterate on scan or process more than once
- Do NOT silently continue with a stale KB
- Do NOT treat diffs inside the docs being reconciled as KB-staleness signals for this run
§PATHS
- Use the
RUN_IDfrom the generated Workflow Bootstrap section - Derive
RUN_NAMEas"Docs: sync user docs"(max 60 chars) - Set
DATESTAMPto the current date inYYYY-MM-DD - Set
SESSION_DIR=docs-sync/{DATESTAMP}-{RUN_ID} - Set
SCAN_RESULTS_REL={SESSION_DIR}/scan_results.json - Set
SCAN_RESULTS_PATH={workRoot}/{SCAN_RESULTS_REL}
References
| File | Purpose | When to Load |
|---|---|---|
references/kb-validation.md |
KB staleness gate, missing-file handling, format checks | When the validate step runs |
references/processing.md |
Per-doc update procedure, artifact registration, completion reporting | After approval returns an approved change set |
STATE-MACHINE
stateDiagram-v2
[*] --> discover
discover --> validate_kb : docs_ready
discover --> failed : no_docs
validate_kb --> scan : kb_current
validate_kb --> stale_kb_gate : kb_stale
validate_kb --> failed : kb_invalid
stale_kb_gate --> scan : continue_with_stale
stale_kb_gate --> cancelled : rebuild_requested
stale_kb_gate --> cancelled : rejected
scan --> approve : results_written
scan --> failed : scan_failed
approve --> process : approved
approve --> cancelled : rejected
process --> finalize : processing_done
process --> failed : process_failed
finalize --> [*] : done
failed --> [*] : stopped
cancelled --> [*] : stopped
What ships with it
2 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.
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.
- 3mo ago First seen · 357 lines · 29 tokens per session scan A 8e0ce3dd1285
generate-user-docs is a skill published in the GitHub repository rp1-run/rp1 (38 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 29 tokens to every session and 2,670 once invoked, about $0.0001 per session on Opus 5.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-30.
generate-user-docs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-user-docsrp1-run/rp1 | Skill | 38 | 1mo ago | Apache-2.0 | A | 29 | Claude Code |
| [object Object]microsoft/apm | Skill | 4.5k | today | Apache-2.0 | A | 8 | Claude Code, Codex |
| apm-usagemicrosoft/apm | Skill | 4.5k | today | Apache-2.0 | A | 49 | Claude Code, Codex |
| openspec-bulk-archive-changeintent-driven-dev/intent-driven-template | Skill | 241 | 13d ago | MIT | A | 61 | Claude Code |
| gherkin-authoringintent-driven-dev/intent-driven-template | Skill | 241 | 13d ago | MIT | A | 54 | Claude Code, Codex |
| adversarial-authoringintent-driven-dev/intent-driven-template | Skill | 241 | 13d ago | MIT | A | 65 | Claude Code, Codex |
| spec-brainstormmartinffx/atelier | Skill | 53 | today | MIT | A | 95 | Claude Code |