An agent skill for Codex + Claude Code

Give your source to an agent. Get an explanation people can learn from.

HTML Docs gives Codex or Claude a production workflow for turning a folder, codebase, website, paper, PDF, document, or research topic into a beautiful page, narrated video, or complete course.

HTML

Live scenes

VOICE

BYOK or local

EVIDENCE

Every claim

SOURCE → COURSE
A real HTML Docs course video generated from a codebase
DocumentVideoStudio

When to use HTML Docs

Use it when the answer needs to teach—not merely exist.

What it is

This is not another prompt box. It is an installed set of production instructions and open local tools that your existing coding agent follows. The agent researches and authors; HTML Docs structures, synchronizes, audits, renders, and prepares a private handoff.

Choose document + video

One difficult idea needs to click

The page keeps the detail. The video builds the mental model. This is the best default for an explanation people will revisit.

Use $html-docs to turn this material into a cited document with an embedded narrated explainer video for [audience].

Choose a complete course

A folder or codebase has several lessons

The agent reorganizes the source into prerequisites, lessons, practice, checks, transcripts, and a navigable learning site.

Use $html-docs to turn this codebase into a private onboarding course for new engineers.

Choose video

Someone needs the short visual version

The result is a shareable HTML Player with explanatory scenes, warm narration, synchronized captions, transcript, and MP4 fallback.

Use $html-docs to turn this URL into a five-minute narrated explainer video for [audience].
01

Install once

Run the command below, then start a fresh Codex task or Claude Code session.

02

Open the source

Start the agent in the folder or codebase—or give it a URL, PDF, document, or research topic.

03

Paste one outcome prompt

Mention $html-docs and say who should understand what. The first pass runs automatically.

04

Open the private preview

You receive the page, live Player, transcript, sources, and Studio—not just a loose media file.

For a quick factual answer or a throwaway note, ask your agent normally. Use HTML Docs when presentation, source grounding, narration, visual explanation, or a reusable learning experience matters.

Start in sixty seconds

Install it, restart the agent, paste a prompt.

There is no separate HTML Docs chat to learn. Keep working in Codex or Claude Code, in the source folder you already have.

terminal
$ npx skills add raunaqbn/html-docs-skill --skill html-docs -g

Run this once, start a new Codex task in your source folder, then mention $html-docs. Provider credentials stay on your machine.

Courses that remember

A learning system, not a video playlist.

The generated workspace preserves why the learner is here, what they can actually demonstrate, where misconceptions remain, and which lesson is the right next step.

Learner contract

Purpose, starting point, constraints, and an observable finish line steer every lesson.

Evidence-state mastery

Introduced, practiced, demonstrated, and needs-review remain distinct—completion is not mastery.

Practice with feedback

Retrieval, guided work, transfer, and misconception-specific feedback make the material durable.

Course specification

Teaching decisions become dependency-aware vertical slices that can be reviewed end to end.

Ask for an outcome

Five modes. One simple prompt.

The skill routes the work. You describe the source, audience, and teaching goal; it chooses the right production path.

Copy into Codex

Document + video

The strongest explanation: a detailed reference plus a visual mental model.

Use $html-docs to research transformer attention and create a beautiful cited document with an embedded narrated explanatory video. Keep the video visual and the page detailed. Return the local artifact or private collaborative document.

Automatic generation ends as a local artifact or private document. The skill cannot publish.

Generated with the open engine

Real outputs, not interface mockups.

Open the showcase
Guarding a velocity estimator
CODEBASE → VIDEONarrated explainer

Guarding a velocity estimator

A defensive-programming lesson turns invalid timestamps and non-finite inputs into a visual contract learners can remember.

From terminal to review
BRIEF → DOCUMENT + VIDEODocument + video

From terminal to review

The document preserves the launch brief and review context. The companion video teaches the workflow visually.

How two samples become velocity
TECHNICAL CONCEPT → VIDEOVideo · captions on

How two samples become velocity

A formula becomes a concrete before-and-after model with narration, timed motion, captions, and a settled visual read.

The production loop

Educational direction is the feature.

Rendering is only the last mile. The system earns its quality by grounding claims, adapting to demonstrated understanding, choosing the right visual grammar, writing for listening, and making narration the timing authority.

Every spoken word has one owner.

Word → cue → semantic target → caption → scene. The same track drives the live Player and rendered MP4.

  1. 01

    Ground sources

    Freeze files, URLs, papers, and evidence into a versioned manifest.

  2. 02

    Define the learner

    Capture purpose, starting point, constraints, finish line, and demonstrated mastery.

  3. 03

    Specify the course

    Resolve teaching decisions and slice production into dependency-aware learner wins.

  4. 04

    Write for listening

    Lock phrase-shaped narration with delivery direction and pronunciation entries.

  5. 05

    Build explanatory scenes

    Use architecture flows, causal chains, state machines, equations, and code walkthroughs.

  6. 06

    Synchronize

    One final word track owns cues, targets, captions, chapters, and scene boundaries.

  7. 07

    Practice and diagnose

    Use retrieval, guided practice, transfer, and specific misconception feedback.

  8. 08

    Audit and refine

    Review craft and specification fidelity before handing off a private preview.

Open and inspectable

Producer, Player, and Studio live with the skill.

Projects are folders of HTML, CSS, JavaScript, JSON, Markdown, audio, captions, evidence, and quality reports. No proprietary authoring runtime is required.

Browse the source

LOCAL

Research, authoring, voice keys, source files, Chromium rendering

HOSTED

Private versions, collaborative pages, Player, Studio, course sites

VOICE

ElevenLabs BYOK, provider-neutral profiles, Kokoro offline fallback

DELIVERY

Live deterministic HTML, captions, transcript, MP4 fallback

Start with the source. End with understanding.

Install the skill, open your source folder, and ask for the outcome you want. The whole first pass runs automatically.