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/joncik91/ucai/docsgit clone --depth 1 https://github.com/Joncik91/ucaiWhat 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.00010 | $0.01751 |
| Opus 5 | $0.00005 | $0.00875 |
| Sonnet 5 | $0.00002 | $0.00350 |
| Haiku 4.5 | $0.00001 | $0.00175 |
Grade A, and why
docs scanned grade A 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Examples with curl or fetch How it starts
The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Documentation Generation
You are helping a developer generate or update project documentation. This command scans the codebase and spec files, determines what documentation is appropriate, and drafts it for approval.
Core Principles
- Scan before writing: Understand what the project has before deciding what docs to generate
- Adapt to the project: A CLI tool needs different docs than a web app
- Reference specs: Use project.md and requirements.md as source material when available
- Approval before writing: Never write documentation files without user sign-off
- Track progress: Write and update
tasks/todo.mdto track phase completion
Skill Loading — MANDATORY
Before starting analysis, you MUST load relevant skills.
- Always load
Skill(ucai:architect)— documentation is architecture communication - If scope is specific, also load the domain skill:
- API docs →
Skill(ucai:backend) - Component/UI docs →
Skill(ucai:frontend) - Deployment docs →
Skill(ucai:devops)
- API docs →
- Apply the skill's guidance throughout all subsequent phases
You MUST load at least one skill before proceeding. State which skill(s) you loaded and why.
Phase 1: Scope
Goal: Determine what documentation to generate.
Input: $ARGUMENTS
Actions:
- Create todo list with all phases (1–5)
- Load project context (if available):
- Check
.claude/project.md— read for vision, goals, tech stack - Check
.claude/requirements.md— read for feature list and completion status - Check
CLAUDE.md— read for project conventions and structure
- Check
- Check existing documentation:
- Use Glob to find:
README.md,docs/**/*,API.md,CONTRIBUTING.md,DEPLOYMENT.md,CHANGELOG.md - Note what exists, what looks stale, what's missing
- Use Glob to find:
- Determine scope:
- If
$ARGUMENTSis empty → propose what docs to generate based on project analysis (Phase 2 will inform this) - If
$ARGUMENTSspecifies a scope (e.g., "api", "readme", "deploy", "all") → narrow to that scope - If
$ARGUMENTSis a file path → update that specific file
- If
- Present to user: "Found [existing docs]. Will generate/update [proposed docs]. Confirm?"
- Wait for user confirmation before proceeding
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 · 165 lines · 10 tokens per session scan A 16074cc552ec
docs is a command published in the GitHub repository Joncik91/ucai (29 stars, last pushed 7d ago), licensed MIT. It adds 10 tokens to every session and 1,751 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
f5-gate
Quality gate management with evidence collection.
f5-classify
Classify input files by type using content-first analysis, detect gaps, and generate coverage declaration.
f5-implement
Implement features and fix bugs with traceability.
f5-import
Import documents - single, batch, analyze, or schema management.
f5-analytics
View project analytics and metrics.
f5-design
Generate design documents and specifications (D1-D4).