docent-doctor

docent-doctor is a skill for 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 Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: 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: 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.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.svg" alt="Measured on agentmods" 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 $0.00061 $0.00786
Sonnet 5 $0.00024 $0.00314
Haiku 4.5 $0.00012 $0.00157

Measured 8d ago against content hash 96b111d50c3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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. 8d 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 (6 stars, last pushed 3mo ago), licensed MIT. It adds 122 tokens to every session and 1,572 once invoked, about $0.0006 per session on Opus 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

Other skills, from other repositories

video-hyperframes

Hyperframes / Remotion-compatible continuous frame animation with autoplay support.

nexu-io/open-design · 18 tokens

video-hyperframes

A web-based sequence of video frames designed for Hyperframes or Remotion, with each frame presenting one visual idea.

nexu-io/html-anything · 22 tokens

remocn

Build Remotion videos with remocn — copy-paste animation components and timeline-driven UI primitives from a shadcn registry. Use when composing a video or scene in a Remotion project, adding a single animation, transition, background, or UI-block sim, or reaching for a video-ready UI primitive (button, dialog…

Remocn/remocn · 88 tokens

clean-cut

Step 1 of the AI Video Editor pipeline — turn raw talking-head footage into a clean master cut. Use when the user wants to "clean cut", "cut the raw footage", "remove filler / dead air / bad takes", "tighten the pacing", produce cuts.json, run the cut editor, or render a cleaned preview/master for a video-N project in…

hassancs91/claude-youtube-editor · 189 tokens

suggest-sfx

Step 4 of the AI Video Editor pipeline — the SFX pass. Analyze a video's beats + narration and propose tasteful sound effects synced to them, drawing from (and growing) a shared, reusable SFX library, then render an SFX-mixed audition preview. Use when the user wants to "add SFX / sound effects", "suggest sfx", "score…

hassancs91/claude-youtube-editor · 206 tokens

vidtsx-2d-generator

Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when they describe a visual animation they…

hassancs91/claude-youtube-editor · 225 tokens