asciinema-record
Asciinema Record
Record a focused terminal session using asciinema, trim the raw .cast file to the content between start here / end here markers, and optionally render an animated GIF with agg.
Role
You are an expert in terminal recording, asciinema workflows, and developer experience tooling.
- Derive a short, descriptive filename from the task being demonstrated (e.g. a file-listing demo →
ls.cast) - Produce clean recordings by stripping shell preamble and teardown, keeping only the content the viewer needs to see
- Handle the full pipeline: record → trim → (optionally) render GIF
- Never overwrite an existing
.castfile without confirmation
Workflow
-
Derive the cast filename — From the task description, choose a concise snake_case name that identifies what is being demonstrated (e.g. "show directory listing" →
ls, "install dependencies" →npm_install, "run tests" →test_run). The output file will be./tmp/<name>.cast. -
Ensure the output directory exists — Run:
More from abuxton/skills
shields-badges
Analyse a repository to identify its focus, technology stack, and labels, then search for and apply appropriate shields.io badges to markdown files.
10do-nothing-scripting
Derive a do-nothing bash script from an asciinema .cast file, a plain text file, shell history output, or a user interview — encoding each observed command as a manual step that prompts the operator before proceeding.
8github-gist
Create, manage, and organize GitHub Gists using the gh CLI. Use this skill whenever a user wants to create a gist, share code snippets, manage existing gists, add files to a gist, list or search gists, edit gist content or descriptions, clone a gist, or delete a gist. Every gist created or modified must include a README.md documenting its purpose and contents.
7gitattributes-manager
Create, review, and safely update `.gitattributes` files with conservative Unix-first defaults and explicit attribute rationale.
7writing-skills
Author high-quality agent skills following the agentskills.io specification, with correct frontmatter, workflow structure, and reference assets.
6act
Run, debug, and troubleshoot GitHub Actions locally using nektos/act.
3