setup

setup is a skill for Claude Code, Codex from terrylica/cc-skills. It costs 24 tokens per session (784 once invoked), scanned B, original, MIT.

A setup guide for checking and installing the software needed by asciinema-tools, which works with terminal recordings.

In plain words
What is it for?
Use it to check, install, or repair components such as asciinema, ripgrep, iTerm2, fswatch, the GitHub CLI, and YAKE.
Why use it?
It helps identify missing required or optional dependencies before using the other tools.

Skill for Claude CodeCodex

Part of the cc-skills plugin — 50 skills, 1 hook, 1 plugin shipped together

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.

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

Made for: Claude Code, Codex.

Or install cc-skills, the plugin that ships this one along with the rest of its 50 skills, 1 hook, 1 plugin.

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 setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/terrylica/cc-skills/setup.svg)](https://agentmods.dev/skills/terrylica/cc-skills/setup)
Your own site
<a href="https://agentmods.dev/skills/terrylica/cc-skills/setup"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 784 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00024 $0.00784
Opus 5 $0.00012 $0.00392
Sonnet 5 $0.00005 $0.00157
Haiku 4.5 $0.00002 $0.00078

Measured 4d ago against content hash 062926fe3578, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

setup scanned grade B with 1 finding 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 4d ago.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| Permission denied | Need sudo for install | Run `brew doctor` for diagnostics |
plugins/asciinema-tools/skills/setup/SKILL.md · 88 lines

How it starts

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

/asciinema-tools:setup

Check and install all dependencies for asciinema-tools.

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
check Run preflight check (default)
install Install missing dependencies
repair Reinstall/upgrade all components
--all Install all (core + optional)
--core Install core only (asciinema, rg)
--optional Install optional only
-y, --yes Skip confirmation prompts

Dependencies

Component Type Installation
asciinema Core brew install asciinema
ripgrep Core brew install ripgrep
iTerm2 Optional brew install --cask iterm2
fswatch Optional brew install fswatch
gh CLI Optional brew install gh
YAKE Optional uv run --with yake

Execution

Skip Logic

  • If action provided -> skip Phase 1 (action selection)
  • If --core/--all/--optional provided -> skip Phase 2
  • If -y provided -> skip all confirmations

Workflow

  1. Check: Run preflight for all dependencies
  2. Action: AskUserQuestion for action type
  3. Selection: AskUserQuestion for components
  4. Install: Run selected installations
  5. Verify: Confirm installation success

Examples

# Check all dependencies
/asciinema-tools:setup check

# Install core dependencies
/asciinema-tools:setup install --core

# Install everything without prompts
/asciinema-tools:setup install --all -y

Troubleshooting

Issue Cause Solution
brew not found Homebrew not installed Install from https://brew.sh
Permission denied Need sudo for install Run brew doctor for diagnostics
asciinema not found PATH not updated Restart terminal or source profile
gh auth failed Not authenticated Run gh auth login
YAKE import error Python package missing uv pip install yake

Read the full file on GitHub · 88 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 88 lines · 24 tokens per session scan B 062926fe3578

Subscribe to this mod's changes

setup is a skill published in the GitHub repository terrylica/cc-skills (61 stars, last pushed 6d ago), licensed MIT. It adds 24 tokens to every session and 784 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.