docent-doctor

docent-doctor is a skill for Claude Code, Codex from benelser/docent. It costs 122 tokens per session (1,572 once invoked), scanned A, original, MIT.

A setup and health-check tool for Docent, a system that renders software reviews as narrated videos. It installs or verifies the tools and resources needed for rendering.

In plain words
What is it for?
Use it to install the Docent engine, its dependencies, voice resources, and command-line access, or to verify that an existing installation is ready.
Why use it?
It prepares the environment on first use and checks it later so rendering problems can be found before starting a review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads ~/.codex paths; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is cd "$DOCENT_HOME" && bun packages/agent/scripts/doctor.ts --install --yes.

Good fit Use it to install the Docent engine, its dependencies, voice resources, and command-line access, or to verify that an existing installation is ready.

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/benelser/docent
agentmods
npx agentmods add skills/benelser/docent/docent-doctor

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 docent-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/benelser/docent/docent-doctor/github.svg)](https://agentmods.dev/skills/benelser/docent/docent-doctor)
Your own site
<a href="https://agentmods.dev/skills/benelser/docent/docent-doctor"><img src="https://agentmods.dev/badge/skills/benelser/docent/docent-doctor/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 docent-doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/benelser/docent/docent-doctor"><img src="https://agentmods.dev/badge/skills/benelser/docent/docent-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,572 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Fable 5.1 · 7 Sept 2026 📄 Read the review
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.00122 $0.01572
Opus 5.5 $0.00049 $0.00629
Sonnet 5.5 $0.00024 $0.00314
Haiku 4.5 $0.00012 $0.00157

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

Security

Grade A, and why

docent-doctor 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.

packages/agent/skills/docent-doctor/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

docent-doctor — bootstrap or verify the docent environment

You are responsible for getting docent ready to render a film, or for confirming it still is. Two paths to walk depending on whether docent is already on PATH:

Path A — first run (docent not on PATH)

The user just installed the skills via apm install and has never used docent before. You need to clone the engine, bootstrap the cascade, and put the docent CLI on PATH.

Detect this case by running command -v docent. If it returns nothing, take Path A.

Execute these steps in order. Walk through each with the user so they see what's happening; do not paste the whole block silently.

  1. Pick the engine location. Default:

    DOCENT_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/docent/engine"
    

    Tell the user this is where the engine will live — about 1 GB after bun install + uv sync + Kokoro weights. They can override by exporting DOCENT_HOME before re-running.

  2. Verify bun is on PATH. If command -v bun returns nothing, stop and tell the user:

    docent requires bun. Install it first:
      curl -fsSL https://bun.sh/install | bash
      exec $SHELL -l
    Then re-invoke /docent-doctor.
    

    Bun is the only prerequisite docent itself can't bootstrap (it is the runtime that runs the bootstrap).

  3. Clone the engine (or fast-forward an existing clone):

    mkdir -p "$(dirname "$DOCENT_HOME")"
    if [ -d "$DOCENT_HOME/.git" ]; then
      git -C "$DOCENT_HOME" pull --ff-only
    else
      git clone https://github.com/benelser/docent "$DOCENT_HOME"
    fi
    
  4. Bootstrap the cascade. This is the long step — uv sync pulls torch + transformers + kokoro, Kokoro downloads ~300 MB of voice weights, and bun install materializes Remotion. Allow 3-8 minutes on a warm machine, longer on a cold one.

    cd "$DOCENT_HOME" && bun packages/agent/scripts/doctor.ts --install --yes
    

    That command installs uv, ffmpeg, gh, apm if missing; writes ~/.local/bin/docent (the shim that lets you call docent <cmd> from any cwd); and records DOCENT_HOME at ~/.config/docent/home. Show the user the live output — every step is labeled.

Read the full file on GitHub · 147 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. 3mo ago First seen · 147 lines · 122 tokens per session scan E 96b111d50c3e

Subscribe to this mod's changes

docent-doctor is a skill published in the GitHub repository benelser/docent (8 stars, last pushed 5mo ago), licensed MIT. It adds 122 tokens to every session and 1,572 once invoked, about $0.0005 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.

Related

docent-doctor compared with skills from other repositories

docent-doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docent-doctorbenelser/docentSkill85mo agoMITA122Claude Code, Codex
video-hyperframesnexu-io/html-anythingSkill17kyesterdayApache-2.0A22Claude Code, Codex
videoRemocn/remocnSkill2.0kyesterdayMITA96Claude Code
setupRemocn/remocnSkill2.0kyesterdayMITA87Claude Code
remotion-videoericrisco/rsc-harnessSkill6825d agoMITA116Claude Code, Codex
gh-issueapache/skywalking-banyandbSkill357todayApache-2.0A91Claude Code
addRemocn/remocnSkill2.0kyesterdayMITA74Claude Code