ct-documentor

ct-documentor is a skill for Claude Code, Codex from kryptobaseddev/cleo. It costs 125 tokens per session (12,694 once invoked), scanned C, original, MIT.

A documentation coordinator that manages canonical documents through a single source of truth, meaning one authoritative stored version.

In plain words
What is it for?
Use it to add, update, fetch, list, remove, or publish specifications, research notes, handoffs, and other project documents.
Why use it?
It prevents documentation from being created or changed through inconsistent paths and keeps document retrieval, updates, publishing, and cleanup organized.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Gemini CLI.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/sweep-manual-doc-writes.mjs.

Good fit Use it to add, update, fetch, list, remove, or publish specifications, research notes, handoffs, and other project documents.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/kryptobaseddev/cleo
agentmods
npx agentmods add skills/kryptobaseddev/cleo/ct-documentor

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for ct-documentor

README.md
[![agentmods](https://agentmods.dev/badge/skills/kryptobaseddev/cleo/ct-documentor/github.svg)](https://agentmods.dev/skills/kryptobaseddev/cleo/ct-documentor)
Your own site
<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.

agentmods 80×15 button for ct-documentor

Your own site · 80×15
<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>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,694 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00125 $0.12694
Opus 5.5 $0.00050 $0.05078
Sonnet 5.5 $0.00025 $0.02539
Haiku 4.5 $0.00013 $0.01269

Measured 3d ago against content hash c37bddd2c779, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 3d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (__tests__/reviewing-reference.test.ts, __tests__/writing-reference.test.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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
packages/skills/skills/ct-documentor/SKILL.md · 997 lines

How it starts

The opening of the file, as written. The whole thing — 997 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 doctor (T13447) audits the docs store — dangling local-file pointers, docVersion skew vs the audit log, empty topics/related_tasks, docs_wikilinks drift, legacy store surfaces, stale drafts — and with --apply repairs them after creating a backup automatically. Use it for store hygiene checks; it never edits doc content.

Read the full file on GitHub · 997 lines

Changes

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.

  1. 3d ago Changed · +5 lines c37bddd2c779
  2. 5d ago Changed · +8 lines cbe827a6e927
  3. 6d ago Changed · +1 lines f4d2945f2e2a
  4. 7d ago Changed c79d2692a935
  5. 8d ago Changed · +25 lines 44c45b795bbf
  6. 9d ago Changed · +6 lines f8125b128d16
  7. 10d ago Changed · +1 lines 7f83734cb8d7
  8. 15d ago Changed dedd937f7a4c
  9. 20d ago Changed · +3 lines a6a0d7825b17
  10. 21d ago First seen · 948 lines · 125 tokens per session scan C 92cb993166d3

Subscribe to this mod's changes

ct-documentor is a skill published in the GitHub repository kryptobaseddev/cleo (159 stars, last pushed yesterday), licensed MIT. It adds 125 tokens to every session and 12,694 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.