/wicked-garden:wicked-garden-demofrom wicked-garden
Plans, records, and reviews polished product demo videos. Plans audience and story, records captioned chapters via Playwright + ffmpeg, and reviews with contact sheets and per-issue verdicts.
Ships in wicked-garden. 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.
Plan a chapter-by-chapter demo story, record it chapter by chapter with captions and callouts, then review with contact sheets — three actions, one domain.
Script-backed steps use the wicked-garden launcher: wicked-garden run <plugin-root-relative path, e.g. scripts/…> [args]. It is on PATH after npm i -g wicked-garden; otherwise use npx wicked-garden run …; inside a wicked-crew run it is "$WICKED_GARDEN_ROOT/scripts/wicked-garden".
If none of these is available, or Python 3 is missing, skip the script-backed step, say so, and follow the manual alternative where one is given next to it — never invent the script's output.
Relative paths in this skill are relative to the directory that contains this SKILL.md.
| Action | When | How |
|---|---|---|
plan | No chapter list yet; first time or after a product change | Inline — follow § plan below |
record | Chapter list and case bank exist; recording or re-recording | Script-backed — wicked-garden run scripts/demo/record.mjs |
review | A recording exists and needs QA | Script-backed — wicked-garden run scripts/demo/contact_sheet.py |
A good demo is a story the audience can follow, told with cases that behave the same way every time, and numbers that were actually measured. Do not write the script before the rehearsal — the script describes what the audience will actually see.
Produces: <product>-demo-script.md and a chapter list ready for the record action.
Establish and write down:
One chapter per capability, ordered so each raises the stakes of the last:
| # | Chapter | Purpose |
|---|---|---|
| 1 | Triage / landing | "Here is my day": what needs attention, ranked |
| 2 | Core flow, end to end | One clean case from intake to done |
| 3-4 | Hard cases | Messy input, missing information, exceptions |
| 5 | Learning / governance | How the product gets smarter safely |
| 6 | Knowledge / trust | Where the rules come from, how results trace back |
| 7 | 360 view | Everything about one customer or entity |
| 8 | Wrap-up | Audit trail and measured numbers |
Keep chapters self-contained — each starts from a known page and uses its own cases.
Details and caption voice: refs/storytelling.md.
Before rehearsing, ensure the demo can be put back exactly as it was:
If a reset does not exist, build or request it first — it is the difference between a demo and a one-off.
Run every chapter the way the UI does it against the real system and log as you go.
Full procedure: refs/rehearsal.md.
Use the templates in refs/templates.md:
Style: the document is skimmable (tables and short bullets, exact UI labels in bold, quotes in italics). The
Say lines are written to be spoken: talk to the audience as you would to a colleague at your desk ("you", "we",
contractions, the why before the what), never in slogans or with the product as the subject of every sentence. Voice
rules, the patterns to avoid and the read-aloud check: refs/storytelling.md ("Captions and voice").
For each chapter write:
NN-slug (01-dashboard) — stable, used for files and re-recording.That list becomes the segments array in the storyline file for the record action.
plan step)Your container cannot reach the app, so steps 5 and the checklist's live items change: read the probe/ page summary
(the engine loaded the app's launch page for you) instead of rehearsing live, write storyline.json (not a module)
beside script.md and chapters.json, and reset nothing (the recorder is read-only). The person approves the plan
at the gate; the engine records it. Format: refs/storyline-json.md. For a crew app, the video shows only the
app's own frame, so every target is "in": "content". Keep other chrome out with hide, never with a dismiss click.
Use "in": "content" only when the probe's result.json says "recorded_view": "app_frame" or "frames" above 0.
plan is done only when every item is checked:
Turn the chapter list into a captioned, chaptered MP4 that looks produced rather than screen-grabbed.
Requires: Node.js ≥ 20, ffmpeg and ffprobe on PATH (or FFMPEG=/path/to/ffmpeg),
and the web app running and reachable.
wicked-garden run scripts/demo/setup.mjs
Confirm: ffmpeg -version and ffprobe -version both work.
Copy assets/example-storyline.mjs next to your project (e.g. demo/storyline.mjs) and
replace the segments. Keep each segment self-contained: it starts from startPath, resets its
own data in beforeSegment, and never relies on another segment's state.
Full module shape and the ctx API: refs/storyline-api.md.
Visual system (stage layout, captions, callouts, chapter slides, time-lapse): refs/stage-design.md.
plan step)Inside a crew Demo video run you never record: the engine's demo_record step does, on the host, from data.
Write storyline.json (not storyline.mjs) and chapters.json in the plan directory your step prompt names; the
keys match, in order. Read the probe/ page summary first: your container cannot reach the app. Every go path
stays under the app's launch path; text is plain (no HTML). The format, every step and its limits:
refs/storyline-json.md. A take that fails comes back to you with the chapter, the cause and the time.
walkthrough_plan step)When a governed run hands you the walkthrough_plan step, the storyline is the proof the builder's work is
judged by, not a demo. Write exactly one file, <author dir>/storyline.mjs — the path your step prompt names
(<evidence root>/author/<your step id>/); write nothing in the worktree. The step's pinned validator lints it:
wicked-garden run scripts/demo/walkthrough.mjs lint --root <author dir> [--tree <worktree>] [--steps <plan step ids>]
Exit 0 means no finding; exit 1 prints {ok, storyline, findings: [{rule, where, detail}]} — fix each and lint
again until it exits 0. The rules, in short: baseUrl: "fixture"; fixture.start is an argv starting a script
the tree declares (no -e/-c, nothing outside the tree, no secret-shaped env name); every chapter proves plan
step ids and has a locator check, a probe or artifact check, and a join of the two; the walkthrough has a
guard check; every check carries negative samples its jq_pred verifier FAILS on. The record tool
(walkthrough_review) reads the same file through WICKED_WALKTHROUGH_AUTHOR and re-runs the lint first: a
finding refuses the recording (storyline_refused). Full rules and a passing
example: refs/walkthrough-author.md.
Before writing run() bodies, load each page without clicking to confirm every locator:
wicked-garden run scripts/demo/probe.mjs <baseUrl> /page1 /page2
Saves a screenshot and lists headings, sections, buttons with ARIA roles, inputs and links.
wicked-garden run scripts/demo/record.mjs <storyline.mjs> # record missing segments, then stitch
wicked-garden run scripts/demo/record.mjs <storyline.mjs> 03-search # (re)record one segment, restitch
wicked-garden run scripts/demo/record.mjs <storyline.mjs> --all # re-record everything
wicked-garden run scripts/demo/record.mjs <storyline.mjs> --stitch # stitch existing segments only
wicked-garden run scripts/demo/record.mjs <storyline.mjs> --reencode # re-cut from each segment's saved master, restitch
wicked-garden run scripts/demo/record.mjs <storyline.mjs> --list # which segments are recorded
Options: --out <dir> (default demo-video/ next to the storyline), --fixture-origin <origin> (see below).
Environment: FFMPEG, DEMO_BASE_URL, DEMO_HEADFUL=1, DEMO_KEEP_FRAMES=1 (debugging only, see below).
Encoded while it records; no frame files. The screencast is fed to ffmpeg at 30 fps as the take runs and lands
as segments/<key>/capture.mp4, a near-lossless H.264 master (CRF 12, one-second fragments) whose frame k is the
picture at t0 + k/30; the segment video is a cut of that master (opening trim, time-lapsed waits, chapters, CRF 17).
A take leaves about two videos' worth of bytes, not a JPEG per frame (which was ~8 MB/s, ~5 GB per 10-minute take).
A take that is killed still leaves a master that plays up to its last complete second, and the timeline written so
far, so --reencode can cut it. DEMO_KEEP_FRAMES=1 additionally writes every screencast frame to
segments/<key>/frames/ (with timestamps in timeline.json) to look at what the screencast delivered — use it on a
short take only; the master is still what gets cut.
Read-only by default. While it records, the browser sends no writes: every request that is not
GET, HEAD or OPTIONS is aborted, and so is every WebSocket frame the page sends (frames the server pushes
still arrive). The segment fails side_effect_blocked, naming each request. Service workers are blocked
while recording. So a recording can never launch, approve, create or delete anything on the app it films.
Show a control without pressing it.
The one door: --fixture-origin. To film writes, start a disposable app for the demo (a fixture
server, a scratch database) on a loopback port and name its origin, e.g.
--fixture-origin http://127.0.0.1:4310. Writes and page WebSocket frames to exactly that origin (scheme,
host and port) pass; a write to any other origin is still aborted and listed. A non-loopback origin is
refused before recording. Never point it at a live system someone else uses. There is no environment
switch. recording.json records how each stitched segment was recorded (read-only or
fixture-writable), and each segment's guard.json names the origin.
A failed take keeps its evidence. When a take fails (an error, or a blocked write), its timeline,
a video cut from the master it has, and failure.json (the error, any blocked requests,
failed_at_sec) are kept in segments/<key>/failed-<take>/. Nothing of it is left where a stitch could
use it: the segment's old segment.mp4 is deleted, and while any segment's last take failed, --reencode
and --stitch refuse to run (failed_take, or side_effect_blocked for a blocked write). Re-record it
(or remove its directory) first.
Record one segment first, review its stills with the review action, then record the rest.
Reset whatever the recording consumed (run the per-case reset for every segment's resets) so the live demo
starts fresh, and confirm the cases list as fresh again.
Deliverable: <out>/<slug>.mp4 (stitched), chapters.md, timings.json, recording.json, segments/<key>/.
Hard-won failure modes and fixes: refs/gotchas.md.
record is done only when every item is checked:
--list shows all recorded.recording.json says "readOnly": true), unless the target is disposable.ffprobe -show_chapters <file>).Review a recording by looking at stills, not by watching the whole video. A few targeted contact sheets catch almost every defect in minutes and give exact timestamps to report.
wicked-garden run scripts/demo/contact_sheet.py <video.mp4> --chapters # ~2 s into every chapter
wicked-garden run scripts/demo/contact_sheet.py <video.mp4> --chapters --offset 8 # first content of each chapter
wicked-garden run scripts/demo/contact_sheet.py <video.mp4> --joins # just before + after every boundary
wicked-garden run scripts/demo/contact_sheet.py <video.mp4> --end # last seconds: closing card held?
wicked-garden run scripts/demo/contact_sheet.py <video.mp4> --holds --every 20 --cols 4 # survey plus freeze midpoints
wicked-garden run scripts/demo/contact_sheet.py <video.mp4> --at 1:02,1:05 # zoom in on a moment
wicked-garden run scripts/demo/contact_sheet.py segments/05/segment.mp4 --every 8 # one segment alone
Options: --offset (seconds into each chapter, default 2), --join-gap (seconds either side of a boundary for
--joins, default 0.6), --end-span (seconds before the end for --end, default 6), --cols (tiles per row,
default 3), --width (tile width in px, default 640), --out (output PNG; default <video>-sheet.png next to the
video). Full list: wicked-garden run scripts/demo/contact_sheet.py --help.
--holds adds freeze midpoints (--hold-min default 0.5 s, longest --max-holds default 12);
--print-times prints chosen seconds before the output path.
Also check format: ffprobe -v error -show_entries format=duration:stream=codec_name,width,height,r_frame_rate -show_chapters <video.mp4>.
--chapters, ffprobe): every chapter present, in order, titled, 1920x1080 H.264.--joins): plain background → next chapter slide, no setup flash.--end): closing card present and held for its full duration.review/survey.png: --holds plus --every, then --at around anything odd): caption sync, callouts, cursor, waits, state.timings.json and what the app shows.Full per-item checklist with causes and fixes: refs/review-checklist.md.
If a needed sheet is absent and contact_sheet.py reports COULD-NOT-RUN (no ffmpeg),
the review verdict is COULD-NOT-RUN, never PASS.
Classify every finding before fixing anything:
| Verdict | When | Fix |
|---|---|---|
| Re-encode | Timing, trimming, speed-up, frame rate, chapter metadata, missing end hold | Rebuild from saved raw capture — no re-recording (--reencode) |
| Re-record one segment | Wrong caption, callout, stale data, wrong persona, unannotated wait | Fix the storyline for that segment, reset its data, record only it, restitch |
| Fix the app | Errors, crashes, stale UI, wrong numbers, confusing copy | Fix and rebuild, then re-record affected segments. Report to the product owner too |
Report findings as: timestamp · chapter · what's wrong · verdict.
Re-review only the changed segments plus the joins on either side, then run --end again.
Deliverable: contact-sheet PNGs + findings table with verdicts.
review is done only when every item is checked:
timestamp · chapter · what's wrong · verdict.--end run again.refs/storytelling.md — chapter design, ordering, metadata (keys, blurbs, tags), caption voice, honest claimsrefs/rehearsal.md — rehearsal procedure: how to drive it, what to log, rough-edge triage, post-rehearsalrefs/templates.md — presenter-script template and per-segment block templaterefs/stage-design.md — the visual system: layout, typography, captions, callouts, chapter slides, time-lapse badgerefs/storyline-api.md — storyline module shape, all ctx methods, rules of thumbrefs/walkthrough-author.md — the walkthrough_plan author contract: where the storyline goes, every lint rule, a passing examplerefs/gotchas.md — failure modes and fixes: capture, clicking, scrolling, timing, environmentrefs/review-checklist.md — full QA checklist with symptom → cause → fix → verdict per itemassets/example-storyline.mjs (opens in a new tab)refs/gotchas.md (opens in a new tab)refs/rehearsal.md (opens in a new tab)refs/review-checklist.md (opens in a new tab)refs/stage-design.md (opens in a new tab)refs/storyline-api.md (opens in a new tab)refs/storyline-json.md (opens in a new tab)refs/storytelling.md (opens in a new tab)refs/templates.md (opens in a new tab)refs/walkthrough-author.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mikeparcewski/wicked-garden --plugin wicked-garden91 skills in this plugin
/wicked-garden-agenticAgentic-systems domain skill: review, design, audit, and framework selection
for AI agent systems. Routes to one of four actions (review | design | audit |
frameworks) backed by the rubrics in refs/.
Use when: "agentic review", "review this agent system", "full agentic codebase
review", "trust and safety audit", "audit my agents for GDPR/HIPAA/SOC2/NIST
compliance", "design an agentic system", "design a multi-agent architecture",
"which agentic framework should I use", "compare LangChain vs CrewAI vs
AutoGen", or any former /wicked-garden:agentic:{review|design|audit|frameworks}
invocation.
Disambiguation: this domain reviews and designs **AI agent systems**. For
ordinary source code use the engineering review; for a binding go/no-go
verdict use the archetype review (see docs/domains.md → "review appears in
three domains").
/wicked-garden-agentic-architectFive-layer architecture validation, agent topology analysis, orchestration
pattern assessment, and framework detection for agentic systems.
Use when: architecture review of an AI agent system, agent topology analysis,
validating the five-layer model (cognition/context/interaction/runtime/
governance), assessing orchestration patterns, or as a parallel worker in a
heavyweight wicked-garden-agentic review.
Other plugins' skills for the same job