Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/kryptobaseddev/cleonpx agentmods add skills/kryptobaseddev/cleo/ct-documentorWrote 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/kryptobaseddev/cleo/ct-documentor)<a href="https://agentmods.dev/skills/kryptobaseddev/cleo/ct-documentor"><img src="https://agentmods.dev/badge/skills/kryptobaseddev/cleo/ct-documentor/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/kryptobaseddev/cleo/ct-documentor"><img src="https://agentmods.dev/badge/skills/kryptobaseddev/cleo/ct-documentor.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00125 | $0.14364 |
| Opus 5.5 | $0.00050 | $0.05746 |
| Sonnet 5.5 | $0.00025 | $0.02873 |
| Haiku 4.5 | $0.00013 | $0.01436 |
Grade C, and why
ct-documentor scanned grade C 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 7d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
(`rm -rf <worktree>/.cleo`) instead of the deeper How it starts
The opening of the file, as written. The whole thing — 1,062 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Documentation Specialist Context Injection
Protocol: @src/protocols/implementation.md Type: Context Injection (cleo-subagent) Version: 3.0.0
Canonical Docs Command Path (T10516 — T11048)
The agent-facing docs surface is simplified to six canonical verbs. Use these as the primary workflow. Legacy verbs remain available but are advanced or migration surfaces — do not present them as the default path to agents.
| Canonical Verb | Purpose | When to Use |
|---|---|---|
add |
Create a new doc attached to a task/session | First write of any canonical doc |
update |
Patch/replace an existing doc's content | Fixes, extensions, refreshes |
fetch |
Retrieve a doc by slug | Reading, reviewing, verifying |
list |
Browse docs by owner, type, or project | Discovery, checking what exists |
remove |
Detach a doc from an owner | Cleanup, de-duplication |
publish |
Mirror an SSoT blob to a git-tracked path | When a doc must live on disk |
Advanced verbs (beyond the canonical six):
supersede, query --similar, graph, versions, sync, merge,
schema, list-types, serve/open/stop/viewer-status, status,
publish-pr, doctor.
T13361 retired the legacy verbs search, find, rank (use query),
generate, export (use llm-output), gap-check (use check), and
import; sync stays until the T9645 reingest workflow migrates, and
status stays agent-facing per cleodocs-rearch-design §6.
cleo docs stats (T13363) is a read-only adoption-metrics probe: add:update
ratio from the docs audit log, loose-markdown count (gitignore-aware scan),
docs_wikilinks edge count, and live decision_adr_links count. Use it for
pilot baseline comparisons — it never writes.
cleo docs rot (T14111) is the docs-rot check every cycle runs. A doc declares
the code it documents in frontmatter, covers: with repo globs (the skill
metadata.covers grammar); write it into the store doc and republish, never
the mirror alone. The report reads git only: stale (covered code changed on
main after the doc did), duplicates (same body, near-identical titles),
orphans (a covers glob matching nothing, a docs/ file nothing names).
--changed <base>..<head> lists the docs a merged change left stale (the
post-merge sweep labels its tasks docs-update); --strict exits 2 on any
finding, and the release cut runs it. When you change covered code, update the
doc in the same PR.
What ships with it
14 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.
- __tests__/reviewing-reference.test.ts 2.2 KB runs code
- __tests__/writing-reference.test.ts 2.2 KB runs code
- references/anti-patterns.md 7.1 KB
- references/audience-targeting.md 8.4 KB
- references/chain-orchestration.md 6.3 KB
- references/cleo-style-guide.md 7.6 KB
- references/doc-types-and-templates.md 5.9 KB
- references/inline-comment-patterns.md 7.4 KB
- references/markdown-patterns.md 7.7 KB
- references/pr-review-mode.md 7.2 KB
- references/reviewing.md 11 KB
- references/style-coordination.md 6.0 KB
- references/style-violations.md 8.9 KB
- references/writing.md 11 KB
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.
- 7d ago Changed · +2 lines ab10d40bd11f
- 8d ago Changed · +8 lines 5064fc7a0d61
- 20d ago Changed 097d1be2c55b
- 21d ago Changed · +3 lines a140cdcbb9b0
- 1mo ago Changed · +18 lines 5e7202446dc5
- 1mo ago Changed · +31 lines 0bf492e91df9
- 1mo ago Changed · +15 lines 38725c78850b
- 1mo ago Changed · +5 lines e167e8b1ce53
- 1mo ago Changed · -17 lines db8566bfbf17
- 1mo ago First seen · 997 lines · 125 tokens per session scan C c37bddd2c779
ct-documentor is a skill published in the GitHub repository kryptobaseddev/cleo (160 stars, last pushed 5d ago), licensed MIT. It adds 125 tokens to every session and 14,364 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
ct-documentor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ct-documentorkryptobaseddev/cleo | Skill | 160 | 5d ago | MIT | C | 125 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 38k | today | Apache-2.0 | A | 123 | Claude Code |
| orbit-notionnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 117 | Claude Code, Codex |
| report-to-pdfasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 17 | Claude Code, Codex |
| legal-holdanthropics/claude-for-legal | Skill | 10k | 4d ago | Apache-2.0 | A | 68 | Claude Code |
| artifact-template-minimal-letterheadasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 54 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | 5d ago | MIT | A | 33 | Claude Code, Codex |