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/benelser/docentnpx agentmods add skills/benelser/docent/docent-arWrote 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/benelser/docent/docent-ar)<a href="https://agentmods.dev/skills/benelser/docent/docent-ar"><img src="https://agentmods.dev/badge/skills/benelser/docent/docent-ar/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/benelser/docent/docent-ar"><img src="https://agentmods.dev/badge/skills/benelser/docent/docent-ar.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.00090 | $0.01899 |
| Opus 5.5 | $0.00036 | $0.00760 |
| Sonnet 5.5 | $0.00018 | $0.00380 |
| Haiku 4.5 | $0.00009 | $0.00190 |
Grade A, and why
docent-ar 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 — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.
docent-ar — the architecture-review film
You are running the entire docent cascade in architecture-review mode against a repository the user named: survey → treatment → spec → tts → clips → render → open. The output is one MP4 that explains the system the way a distinguished engineer would: the components, the flow, the idioms, the failure modes, the trade-offs, with a verdict.
Arguments
/docent-ar <repo> [--subsystem X] [--id X] [--scale S] [--no-open]
<repo>— a local repo path, a GitHub URL, or the bareowner/nameform.--subsystem X— scope the review to one subsystem. The survey resolves this to a concrete code boundary (a directory, a package, a set of files) before starting.--id X— override the auto-derived film id (default:<repo-name>).--scale S— render scale. Default1. Pass0.5for fast turnarounds.--no-open— render without opening the result in the system player.
What to do
-
Pre-flight. Confirm
bun,ffmpeg, and the agent CLI are on PATH. If anything obvious is missing, suggest/docent-doctorand stop. -
Survey — architecture mode:
bun packages/agent/scripts/survey.ts <repo> --mode ar [--subsystem X] [--id X]The survey lands at
analysis/<id>.md. When a subsystem is named, section 0 of the survey template resolves it to concrete files first — surface that boundary to the user before moving on. The survey's job here is to interrogate the system: not a tour that admires it, but a depth-first reading that names the trade-off and the failure mode.Before moving on, surface the lineage sections to the user:
- § 1.5 The premise — one paragraph: the bet this system makes about the world.
- § 1.6 The novelty — one sentence: the line this system draws somewhere a prior system did not.
- § 1.7 Prior and similar works — the 2-4 named, dated systems the film will compare against and the dimension on which each diverges. Confirm with the user that the named lineage is the right lineage before moving on — the rest of the cascade reads from it.
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 · 177 lines · 90 tokens per session scan A ae8913ffdf8b
docent-ar is a skill published in the GitHub repository benelser/docent (8 stars, last pushed 5mo ago), licensed MIT. It adds 90 tokens to every session and 1,899 once invoked, about $0.0004 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-31.
docent-ar compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docent-arbenelser/docent | Skill | 8 | 5mo ago | MIT | A | 90 | Claude Code, Codex |
| video-hyperframesnexu-io/html-anything | Skill | 17k | yesterday | Apache-2.0 | A | 22 | Claude Code, Codex |
| videoRemocn/remocn | Skill | 2.0k | yesterday | MIT | A | 96 | Claude Code |
| setupRemocn/remocn | Skill | 2.0k | yesterday | MIT | A | 87 | Claude Code |
| remotion-videoericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 116 | Claude Code, Codex |
| gh-issueapache/skywalking-banyandb | Skill | 357 | today | Apache-2.0 | A | 91 | Claude Code |
| addRemocn/remocn | Skill | 2.0k | yesterday | MIT | A | 74 | Claude Code |