asciinema-converter

asciinema-converter is a skill for Claude Code from terrylica/cc-skills. It costs 34 tokens per session (1,566 once invoked), scanned A, original, MIT.

A converter that turns asciinema .cast recordings into clean .txt files. Asciinema records terminal activity in a structured format with screen-colour codes, while plain text can be read and searched directly.

In plain words
What is it for?
Use it to prepare terminal sessions for reading, searching, and analysis, or to create text archives from cast files.
Why use it?
It removes formatting and recording structure that make cast files difficult to inspect with normal text tools. It also supports converting multiple recordings and reducing their stored size.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Part of the asciinema-tools plugin — 24 skills shipped together , and of cc-skills

Good fit Use it to prepare terminal sessions for reading, searching, and analysis, or to create text archives from cast files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/terrylica/cc-skills/asciinema-converter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add terrylica/cc-skills --skill asciinema-converter
Clone the repo
git clone --depth 1 https://github.com/terrylica/cc-skills

Made for: Claude Code.

Or install asciinema-tools, the plugin that ships this one along with the rest of its 24 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for asciinema-converter

README.md
[![agentmods](https://agentmods.dev/badge/skills/terrylica/cc-skills/asciinema-converter/github.svg)](https://agentmods.dev/skills/terrylica/cc-skills/asciinema-converter)
Your own site
<a href="https://agentmods.dev/skills/terrylica/cc-skills/asciinema-converter"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/asciinema-converter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for asciinema-converter

Your own site · 80×15
<a href="https://agentmods.dev/skills/terrylica/cc-skills/asciinema-converter"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/asciinema-converter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,566 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 153
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01566
Opus 5 $0.00017 $0.00783
Sonnet 5 $0.00007 $0.00313
Haiku 4.5 $0.00003 $0.00157

Measured 12d ago against content hash 04f9cb0d4847, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

asciinema-converter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (tests/converter.test.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/asciinema-tools/skills/asciinema-converter/SKILL.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

asciinema-converter

Convert asciinema .cast recordings to clean .txt files for Claude Code analysis. Achieves 950:1 compression (3.8GB -> 4MB) by stripping ANSI codes and JSON structure.

Platform: macOS, Linux (requires asciinema CLI v2.4+)

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.

When to Use This Skill

Use this skill when:

  • Converting .cast recordings to searchable .txt format
  • Preparing recordings for Claude Code Read/Grep tools
  • Batch converting multiple recordings
  • Reducing storage size of session archives
  • Extracting clean text from ANSI-coded terminal output

Why Convert?

Format Size (22h session) Claude Code Compatible Searchable
.cast 3.8GB No (NDJSON + ANSI) Via jq
.txt ~4MB Yes (clean text) Grep/Read

Key benefit: Claude Code's Read and Grep tools work directly on .txt output.


Requirements

Component Required Installation Notes
asciinema Yes brew install asciinema v2.4+ for convert cmd

Workflow Overview

IMPORTANT: All phases are MANDATORY. Do NOT skip any phase. AskUserQuestion MUST be used at each decision point.

Single File Mode (Phases 0-6)

Phase Purpose Key Action
0 Preflight check Verify asciinema CLI v2.4+
1 File discovery & selection AskUserQuestion: file to convert
2 Output options AskUserQuestion: conversion opts
3 Output location AskUserQuestion: save destination
4 Execute conversion asciinema convert -f txt
5 Timestamp index Optional [HH:MM:SS] index
6 Next steps AskUserQuestion: what's next

Read the full file on GitHub · 156 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 156 lines · 34 tokens per session scan A 04f9cb0d4847

Subscribe to this mod's changes

asciinema-converter is a skill published in the GitHub repository terrylica/cc-skills (72 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 1,566 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories