Converts asciinema .cast recordings to clean .txt files for Claude Code analysis. Supports single file and batch directory modes with options like timestamp indexing, chunking at idle pauses, and auto-analysis.
Ships in asciinema-tools. 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.
Convert asciinema .cast recordings to clean .txt files. Supports single file and batch directory modes.
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.
| Argument | Description |
|---|---|
file | Path to .cast file |
-o, --output | Output path (default: same dir) |
--index | Create timestamp indexed version |
--chunks | Split at 30s+ idle pauses |
--dims | Preserve terminal dimensions |
--analyze | Auto-run /analyze after conversion |
| Argument | Description |
|---|---|
--batch | Enable batch mode for directory conversion |
--source | Source directory (default: ~/asciinemalogs) |
--output-dir | Output directory (default: ~/Downloads/cast-txt/) |
--skip-existing | Skip files that already have .txt output (default: true) |
Note: --batch and positional file are mutually exclusive.
Invoke the asciinema-converter skill with user-selected options.
file provided → skip Phase 1 (file selection)-o provided → skip Phase 3 (output location)--analyze provided → skip Phase 6 and auto-run analyze--batch provided → skip Phases 1-3, enter batch phases (7-10)--source provided → skip Phase 7 (source selection)--output-dir provided → skip Phase 8 (output organization)# Single file conversion
/asciinema-tools:convert ~/Downloads/session.cast
# Batch mode with defaults
/asciinema-tools:convert --batch
# Batch mode with custom paths
/asciinema-tools:convert --batch --source ~/Downloads --output-dir ~/cast-txt/
# Batch mode, force re-convert existing
/asciinema-tools:convert --batch --skip-existing=false
| Issue | Cause | Solution |
|---|---|---|
| asciinema not found | asciinema not installed | brew install asciinema |
| Convert command failed | Corrupted .cast file | Try asciinema cat file.cast first |
| No .cast files found | Wrong directory | Check --source path |
| Output not created | Permission denied | Check write permissions on output |
| File too large | Long recording session | Use --chunks to split at pauses |
After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
asciinema, cast-to-txt, terminal-recording, batch-conversion
/asciinema-tools:convert [file] [-o output] [--batch] [--source dir] [--output-dir dir] [--skip-existing] [--index] [--analyze]from asciinema-tools
npx claudepluginhub terrylica/cc-skills --plugin asciinema-tools24 skills in this plugin
/analyzeSemantic analysis of converted recordings. TRIGGERS - analyze cast, keyword extraction, find patterns./asciinema-analyzerSemantic analysis of asciinema recordings. TRIGGERS - analyze cast, keyword extraction, find patterns in recordings./asciinema-cast-formatAsciinema v3 .cast file format reference. TRIGGERS - cast format, asciicast spec, event codes, parse cast file.Other plugins' skills for the same job