/demo-recording:demo-recordingfrom demo-recording
Creates asciinema terminal recordings for documentation or demos, covering CLI workflows, API sequences, and any terminal task with scripted playback, typing animation, and async wait indicators.
Ships in demo-recording. 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.
Interactive workflow for creating polished asciinema terminal recordings. Works for any demo that runs in a terminal — API sequences, CLI tool workflows, kubectl operations, build pipelines, or interactive scripts.
1. Analyze Context
2. Discovery Questions
--cleanup flag3. Generate Script
template-simple.sh or template-polished.sh from this directoryrun_demo()API_BASE, refresh_auth(), and api() callswait_for_state() calls if any step requires async polling4. Record
./demo.sh --no-record (runs the demo live without asciinema)./demo.sh or ./demo.sh --cleanupasciinema play <file>.cast5. Publish
asciinema upload <file>.casttemplate-simple.sh - Plain output, minimal formattingtemplate-polished.sh - ANSI colors, typing animation, headers, spinnersBoth include: refresh_auth(), api(), wait_for_state(), cleanup tracking. For pure CLI demos, strip the API helpers and use direct commands in run_demo().
| Task | Command/Pattern |
|---|---|
| Auth | refresh_auth() — call before API requests, in wait loops |
| API call | api GET/POST/DELETE "<path>" [-d '{"json"}'] |
| Async wait | wait_for_state "<url>" "<jq_filter>" "READY" <timeout> |
| Track resource | CREATED_RESOURCES+=("resourcetype/${id}") |
| Test (no recording) | ./demo.sh --no-record |
| Record+cleanup | ./demo.sh --cleanup |
refresh_auth() inside polling loops.stty cols 120 rows 35) for uniform playback.A minimal CLI demo — no API helpers needed:
run_demo() {
type_cmd "myctl create widget --name demo-widget"
myctl create widget --name demo-widget
CREATED_RESOURCES+=("widget/demo-widget")
type_cmd "myctl list widgets"
myctl list widgets
if [[ "${CLEANUP}" == "true" ]]; then
cleanup_resources
fi
}
For API demos, adapt refresh_auth() and api() to your auth mechanism (Bearer token, API key, basic auth, OAuth, etc.) and set API_BASE.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub redhat-community-ai-tools/claude-plugins --plugin demo-recordingOther plugins' skills for the same job