Records a real running product demo: seeds state, writes a script, drives the web/desktop app, and outputs a clean mp4/webm plus GIF. Use for screen recordings, walkthroughs, or feature GIFs.
Ships in kheskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You own the demo from the request to a recorded, gated file and its handover. A script the user still has to run, or a take nobody watched, is not a result.
A construction skill. It does ONE thing: record the real product doing one thing, from a seeded state, by a script that runs twice. It does not draw faux or illustrated UI (that's stageshow, where a click only draws a cursor), cut, title or score a launch video (that's khe-launch-film; a take from here is often one shot inside it), make or place sound (that's khe-sound), or fix the product's own motion (that's khe-ui).
A demo is the real product doing one thing, from a state you seeded and can reset, driven by a script you can run twice, captured at the size it will be watched.
Five ways it fails:
The fix: seed the state, write the script, rehearse it dry, record it twice at a fixed size, then cut the waits and gate the file.
You cannot fake state here. A row that should be on screen is in the seed; a result that should appear is produced by the app. Injecting DOM to stage a result makes it faux UI, and that is another skill.
When this skill is invoked with no request, reply only with:
I'm ready to record a demo of your running app. Usage:
/khe-demo [plan | record | post | review] [url or app] [readme | site | social | film]
Then wait. Give nothing else until the user asks.
Work as someone who records product demos for a launch page and will be judged on one viewing. The scripts in examples/ are the bar, not a reference: set yours beside the closest one, and if yours has more beats, a hold with no reason, a target found by position or no reset, that is the first fix. Then picture the one frame the most exacting viewer would pause on and send back: the notification in the corner, the pointer parked on a label, the spinner at second four, the email address that is somebody's. That frame is the next fix.
record.mjs refuses a host that is not local until it is named with --allow-host. Never record a production page that shows real users' data.example.com or a .test name.out/ folder the project ignores, and commit only the script and DEMO.md.Most of the quality is decided before the browser opens. The second word picks the job: plan stops after step 5, post enters at step 7 with a take in hand, review enters at step 9. Under khe-auto the same loop runs with this skill's gate.
web, playwright, readme, 1024 x 640 at 2, 30 fps.reset block, and running it twice gives the same first frame.examples/ (the Examples table) and replace its product. Targets by test id or role and name, every action with the condition it waits for, holds with a reason (script). Exit: node scripts/demo-check.mjs demo.json --gate ends demo-check passed.node scripts/record.mjs demo.json --dry-run. Every step meets its condition at real pace; read each wait it prints. Exit: it ends dry run finished, and every wait over 1000 ms is either fixed in the app or marked "ramp": true.node scripts/record.mjs demo.json --out take.mp4 --takes 2 at the declared viewport, scale and frame rate (capture). A desktop app is walked with its driver while ffmpeg captures the window (surfaces). Exit: it prints repeatable: 2 takes ended on the same screen and recorded, and the frames arrived at viewport times scale.scripts/post.mjs (post). No captions, music or sound here. Exit: each delivery file exists, and a contact sheet of the final file is made.node scripts/demo-check.mjs demo.json take.take.json <the files you will hand over> --gate. Fix the largest fault first: state, then story, then pace, then size. Exit: the last line is demo-check passed. inconclusive is not a pass. Passing is necessary, not sufficient.DEMO.md beside the script from the template in verify. Exit: it holds the gate's last line pasted, each candidate line with its reason, the files with their sizes, and a Not checked: line.Check these before handing over.
record.mjs stops when they do not.| Need | Example | What to learn |
|---|---|---|
| A feature on a site, with seeded data | examples/web-flow.demo.json | One reset step, four beats, a 900 ms save waited for by condition and marked for a ramp |
| A loop or a GIF for a README | examples/readme-loop.demo.json | The payoff is the last beat; loop.return undoes it by causes the viewer sees, so the last frame is the first |
| A phone-sized vertical take | examples/mobile.demo.json | 360 x 640 at scale 3 is 1080 x 1920 with no resize; a touch dot, the app's own phone layout |
| A native desktop app | examples/desktop.demo.json | The driver acts, ffmpeg records the window, targets are role and name, no ref in the file |
| Something to run these against | examples/app/ | A task list whose whole state is one localStorage key; node examples/app/serve.mjs serves it |
teaching/ holds fourteen bad/good pairs (teaching) for diagnosing a script; the bad halves are never starting points.
Open a reference only when the job needs it. Never load the whole folder.
| Job or symptom | Open |
|---|---|
| Web or desktop, which driver, which commands exist, what cannot record | surfaces |
| Real data on screen, a take that works once, sign-in, the clock, notifications | state |
| The script format, targets, waits, pointer speed, typing speed, holds | script |
| Viewport per destination, scale, frame rate, codecs, GIF, size ceilings | capture |
| Trimming, speeding up a wait, zooming on the action, exporting | post |
A gate line, the last pass, the DEMO.md template | verify |
| Briefing a reviewer who has not seen the script | review |
| The gate printed a line and the script still looks right to you | teaching |
Check the work against this table before finishing.
| Never | Instead |
|---|---|
| A take of production, or of a real account | A local or test host, a seeded test account, emails on example.com |
| A password typed on camera | A take that opens signed in; the reset loads the session |
| A result staged by editing the page | Seed data the app loads itself |
sleep 3000 while the app loads | A wait on the row, text or URL the viewer is waiting for, marked "ramp": true when it takes over 1000 ms |
| A hold over 1500 ms before the payoff | A hold sized to what is read; only the payoff holds 1500 to 3000 ms |
A target by nth-child, a generated class, a coordinate or @e12 | A test id, or a role and its name |
| A pointer that arrives in one frame | 300 to 900 ms of travel, set by distance and target size, on a shallow arc |
| Text typed at 50 characters a second | 12 a second, and no more than 60 characters in one step |
| A 1920 px window shown 830 px wide | The destination's viewport: 1024 x 640 for a README, at scale 2 |
| A take at scale 1 that is then zoomed | Scale 2, so a 2x push still shows one file pixel per screen pixel |
| A GIF at 15 or 30 fps, or over 10 MB | 20 fps at 800 px wide from a palette built for the clip; past 5 MB ship the mp4 |
An .mp4 in yuv444p | H.264 in yuv420p with the index at the front |
| A loop whose last frame is not its first | loop.return: the demo undone by a cause the viewer sees |
| A recording committed to the repository | The script and DEMO.md committed; the files in an ignored folder |
| "Recorded" written for a file nobody probed or watched | The gate's last line pasted, then a Not checked: line |
For a plan, in this order:
beat | what the viewer sees | waits for.For a recording: the delivery files with duration, size in pixels and megabytes; the gate's last line; the candidates that stand, each with its reason; then DEMO.md. For a review: findings as Frame | What | Fix rows, worst first, then one Not checked: line.
Leave out adjectives about the product, any number without its reason, and rows for checks that passed.
Plain and short. Say "the take works once; here is the missing reset" before any polish. Say "nothing fails; here is what I did not watch" when that is the result. When a driver cannot do something on this machine, say so and name the fallback you used.
Read both before producing anything. They outrank the defaults in this skill.
stageshow: when the product cannot be run, seeded or shown, or the shot needs a simplified picture of it, the UI is authored there. Never mix the two in one take.khe-launch-film: a take from here is one shot. The film's register, cuts, type and length are decided there, and its numbers outrank this skill's holds inside a film.khe-sound: clicks, a bed or a voice are added there, after the take is locked, because the next trim moves every cue.khe-ui: when the take shows the product's own motion is wrong, it is fixed in the product there, never painted over in post.khe-auto: runs this skill's loop for a routed job, with scripts/demo-check.mjs as the gate.Sources: the method (one idea, named failures, gold examples, teaching pairs, a gate, a fresh-eye review, a handover file) follows Benji Taylor's Stageshow (benjitaylor/skills). The drivers it can call are vercel-labs/agent-browser and vercel-labs/agent-desktop. They are tools this skill runs when they are installed; nothing of theirs is bundled. Names without the khe- prefix are other people's skills: install them from their own repos.
Harshit Khemani. MIT.
LICENSE (opens in a new tab)README.md (opens in a new tab)assets/flow.svg (opens in a new tab)examples/app/index.html (opens in a new tab)examples/app/serve.mjs (opens in a new tab)examples/desktop.demo.json (opens in a new tab)examples/mobile.demo.json (opens in a new tab)examples/readme-loop.demo.json (opens in a new tab)examples/web-flow.demo.json (opens in a new tab)references/capture.md (opens in a new tab)references/gotchas.md (opens in a new tab)references/post.md (opens in a new tab)references/pov.md (opens in a new tab)references/review.md (opens in a new tab)references/script.md (opens in a new tab)references/state.md (opens in a new tab)references/surfaces.md (opens in a new tab)references/teaching.md (opens in a new tab)references/verify.md (opens in a new tab)scripts/demo-check.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/kheskills:khe-demofrom kheskills
npx claudepluginhub hktitan/skills --plugin kheskills14 skills in this plugin
/khe-autoThe mode that runs the rest. Reads a request, picks a playbook or the one or two skills that own it, says why in a line, then does the work in order. Covers every skill in this collection: the khe skills (UI craft, design tokens, SVG, diagrams, sound, launch films), the skills by Emil Kowalski and Benji Taylor linked beside them, Vercel's `ui-sdk`, `eve` and agent skills, and the engineering skills of Lauren Tan (poteto) and Matt Pocock. Use when a request names no skill, spans several, or someone says "auto", "which skill", "where do I start", "what order", "list the skills", "make this better", "I need a launch video", "build this screen", "build it with ui-sdk", "we ship Thursday", "the agent keeps doing this". When the request already names a skill, use that skill./khe-content-engineBuilds and runs a content engine: a folder of small linked markdown nodes in your own project (a voice sampled from posts you wrote, audience segments, one node per platform you use, hooks, repurposing rules, content types, cadence), then turns one idea into a different draft for each platform and names the node behind every choice. Also reviews drafts against the engine and tunes the node that caused a wrong line. It drafts; a person posts. Use when someone says "build me a content engine", "turn this into posts for X and LinkedIn", "repurpose this", "write in my voice", "make a thread out of this", "why doesn't this sound like me", or wants one idea written for several platforms. For a launch film use `khe-launch-film`, for a product demo `khe-demo`, for stickers `khe-sticker`, for faux product UI `stageshow` (Benji Taylor). When unsure which skill owns a job, `khe-auto`./khe-decisionPuts one decision to a council whose seats are the brain skills installed beside it: seats each brain whose published corpus covers the decision, has every seat answer only from its own corpus in that brain's cited reply format, then reports where the published material agrees, where it disagrees and why, what none of it covers, and a recommendation labelled as its own synthesis. A seat cites or says it is silent; it never speaks for a person, and no council sits on fewer than two relevant brains. Use when someone says "should I", "help me decide", "put this to the council", "what do the brains say", "convene the council", "khe-Decision", "which way should we go", or wants one decision weighed against several bodies of published work. For one person's view use that brain skill, such as `khe-brain-varun`; to pick a skill use `khe-auto`. A reading by Harshit Khemani, not endorsed by anyone it cites./khe-design-tokensFinds a project's design contract (a `.design` file or DESIGN.md), resolves which one wins, and threads its tokens through the UI as CSS variables, a Tailwind theme or component props. Also writes design-system docs an agent can follow and checks the contract for drift. Use when a repo has a `.design` or DESIGN.md, or someone says "use our tokens", "make it on-brand", "stop hardcoding colors", "the agent keeps inventing variants" or "document our design system". To design the scales themselves, review the result or finish a screen that still feels unfinished, use `khe-ui`./khe-diagramDecides whether a diagram earns its place over a sentence or a table, picks the surface by who touches the picture next, then draws a finished editorial figure or edits a live tldraw canvas, with connector, accent and budget rules that also serve as the review. Use when someone says "can you diagram this", "draw the architecture", "make a flowchart", "sketch this on a board", "my diagram looks like Mermaid", or names tldraw, a .tldraw file or diagram-design. For SVG markup and animation use `khe-svg`; for a live chart inside a product use `khe-ui`; for a leader line on a product shot use `stageshow`; for a blueprint line illustration use `plotter`./khe-eveBuilds, changes and verifies agents on Vercel's eve framework (npm `eve`) so they survive production: scaffolds with `npx eve@latest init`, reads the installed version and its bundled docs before writing, memoizes every read in `defineDynamic`, gates and keys every side effect in code, and proves a change with a real turn instead of a green build. Four jobs: `new`, `add`, `verify`, `ship`. Use when someone says "build an eve agent", "add a tool to my agent", "npx eve init", "my eve agent calls the API twice", "is this eve agent safe to deploy", "why does my defineDynamic run so often", or a repo has an `agent/` folder and `eve` in its package.json. For Vercel deploy mechanics use `deploy-to-vercel` (Vercel), for the chat interface `khe-ui` or `ui-sdk` (Vercel), for the API surface itself Vercel's own `eve` skill and the docs bundled with the package. When unsure, `khe-auto`.Other plugins' skills for the same job