About record
record is a skill for starting terminal recordings with asciinema. It checks for the required program, gathers output and recording options, then provides the command and instructions; backup and append options are supported.
Key features
- 01Check whether asciinema is installed
- 02Set an output path and recording options
- 03Generate and display the recording command
- 04Support title and idle-time limit options
- 05Support backup and append options
Use cases
- 01Record a terminal session for later review
- 02Capture a titled demo with an idle-time limit
- 03Append to an existing recording or enable backup
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ terrylica/ cc-skills --skill recordAfter installing, type/recordin Claude Code to confirm it loaded.
Bundled filesreferences/evolution-log.md
Details
From the project README/asciinema-tools:record
Start a terminal recording session with asciinema.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Arguments
| Argument | Description |
|---|---|
file | Output path (e.g., session.cast) |
-t, --title | Recording title |
-i, --idle-time-limit | Max idle time in seconds |
--backup | Enable streaming backup to GitHub |
--append | Append to existing recording |
Execution
Invoke the asciinema-recorder skill with user-selected options.
Skip Logic
- If
fileprovided -> skip Phase 1 (output location) - If
-tand-iprovided -> skip Phase 2 (options)
Workflow
- Preflight: Check asciinema installed
- Location: AskUserQuestion for output path
- Options: AskUserQuestion for recording options
- Generate: Build and display recording command
- Guidance: Show step-by-step instructions
Examples
# Basic recording
/asciinema-tools:record session.cast
# Recording with title and idle limit
/asciinema-tools:record -t "Demo Session" -i 30
# Recording with GitHub backup
/asciinema-tools:record session.cast --backup
Troubleshooting
| Issue | Cause | Solution |
|---|---|---|
| asciinema not found | Not installed | brew install asciinema |
| Permission denied | Output path issue | Check write permissions for output directory |
| Recording not starting | Terminal issue | Ensure running in interactive terminal |
Post-Execution Reflection
After this skill completes, check before closing:
- Did the command succeed? — If not, fix the instruction or error table that caused the failure.
- Did parameters or output change? — If the underlying tool's interface drifted, update Usage examples and Parameters table to match.
- Was a workaround needed? — If you had to improvise (different flags, extra steps), update this SKILL.md so the next invocation doesn't need the same workaround.
Only update if the issue is real and reproducible — not speculative.