Cc-skills setup
Check and install dependencies for asciinema-tools. TRIGGERS - setup, check deps, preflight.
install
source · Clone the upstream repo
git clone https://github.com/terrylica/cc-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/terrylica/cc-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/asciinema-tools/skills/setup" ~/.claude/skills/terrylica-cc-skills-setup && rm -rf "$T"
manifest:
plugins/asciinema-tools/skills/setup/SKILL.mdsource content
/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 |
|---|---|
| Run preflight check (default) |
| Install missing dependencies |
| Reinstall/upgrade all components |
| Install all (core + optional) |
| Install core only (asciinema, rg) |
| Install optional only |
| Skip confirmation prompts |
Dependencies
| Component | Type | Installation |
|---|---|---|
| asciinema | Core | |
| ripgrep | Core | |
| iTerm2 | Optional | |
| fswatch | Optional | |
| gh CLI | Optional | |
| YAKE | Optional | |
Execution
Skip Logic
- If action provided -> skip Phase 1 (action selection)
- If
provided -> skip Phase 2--core/--all/--optional - If
provided -> skip all confirmations-y
Workflow
- Check: Run preflight for all dependencies
- Action: AskUserQuestion for action type
- Selection: AskUserQuestion for components
- Install: Run selected installations
- 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 for diagnostics |
| asciinema not found | PATH not updated | Restart terminal or source profile |
| gh auth failed | Not authenticated | Run |
| YAKE import error | Python package missing | |
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.