gh-infra: Skill for Claude Code

.claude/skills/vhs-tape-authoring/SKILL.md

vhs-tape-authoring is a skill for Claude Code from babarot/gh-infra. It costs 43 tokens per session (1,656 once invoked), scanned A, original, MIT.

Instructions for writing VHS tape files, which are scripts that show terminal commands and record them as demos. It also covers setup data and the steps needed to add a demo.

In plain words
What is it for?
Use it to create or edit gh-infra demo scenarios, configure their terminal appearance and timing, and prepare mock GitHub data.
Why use it?
It gives the project a consistent format for repeatable terminal demonstrations and reduces the setup work for new recordings.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

This is babarot/gh-infra's own configuration. It tells Claude Code how to work on gh-infra itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gh-infra configures →

Reuse

Borrowing it

Nothing to install: this file belongs to babarot/gh-infra. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/babarot/gh-infra/main/.claude/skills/vhs-tape-authoring/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/babarot/gh-infra

Made for: Claude Code.

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 vhs-tape-authoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/babarot/gh-infra/vhs-tape-authoring/github.svg)](https://agentmods.dev/skills/babarot/gh-infra/vhs-tape-authoring)
Your own site
<a href="https://agentmods.dev/skills/babarot/gh-infra/vhs-tape-authoring"><img src="https://agentmods.dev/badge/skills/babarot/gh-infra/vhs-tape-authoring/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 vhs-tape-authoring

Your own site · 80×15
<a href="https://agentmods.dev/skills/babarot/gh-infra/vhs-tape-authoring"><img src="https://agentmods.dev/badge/skills/babarot/gh-infra/vhs-tape-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,656 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.
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.00043 $0.01656
Opus 5 $0.00022 $0.00828
Sonnet 5 $0.00009 $0.00331
Haiku 4.5 $0.00004 $0.00166

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

Security

Grade A, and why

vhs-tape-authoring 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 11d 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.

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.

.claude/skills/vhs-tape-authoring/SKILL.md · 192 lines

How it starts

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

VHS Tape Authoring

Use this skill to create or edit VHS tape files and their supporting setup scripts for gh-infra demos.

When To Use

  • Adding a new demo for a gh-infra feature
  • Editing an existing tape's scenario or timing
  • Setting up mock data for a new demo
  • Understanding how mock-gh works

Tape File Structure

Every .tape follows this pattern:

# 1. Output targets
Output demo-<name>.gif
Output demo-<name>.mp4

# 2. Theme and layout
Set Theme { ... }
Set Shell "bash"
Set FontSize 20
Set Width 1400
Set Height 900
Set Padding 20
Set WindowBar ""
Set TypingSpeed 50ms

# 3. Hidden setup
Hide
Type "source /data/setup-<name>.sh"
Enter
Sleep 2s
Type "clear"
Enter
Sleep 500ms
Show

# 4. Visible demo sequence
Sleep 700ms
Type "gh infra ..."
Enter
Sleep 3s
# ... more actions ...
Sleep 2s

Themes

Two themes are available. Copy from an existing tape:

Theme Based on Use in
gh-infra-dark Tokyo Night All tapes except light variant
gh-infra-light Tokyo Night Day demo-light.tape only

VHS Commands Reference

Command Usage Notes
Type "text" Types text into terminal Respects TypingSpeed
Enter Press Enter
Escape Press Escape
Tab Press Tab
Sleep 1s Wait Use ms or s units
Hide / Show Toggle recording visibility Setup runs in Hide
Output <file> Set output file Always set both .gif and .mp4

Timing Guidelines

Action Recommended Sleep
After source setup-*.sh 2s
After clear 500ms
Before first command 700ms-1s
After Type before Enter 350ms-500ms
After running gh infra plan/apply 5s-8s (depends on output size)
After confirmation (y + Enter) 5s-6s
End of demo 2s-3s

Setup Script Pattern

Each tape has a corresponding setup-<name>.sh:

#!/usr/bin/env bash
set -euo pipefail

# 1. Install gh-infra binary
cp /data/.gh-infra /usr/local/bin/gh-infra
chmod +x /usr/local/bin/gh-infra

# 2. Create gh wrapper (routes "gh infra" to real binary, rest to mock)
cat > /usr/local/bin/gh << 'WRAPPER'
#!/usr/bin/env bash
if [[ "$1" == "infra" ]]; then
  shift
  exec /usr/local/bin/gh-infra "$@"
fi
exec /data/mock-gh "$@"
WRAPPER
chmod +x /usr/local/bin/gh

# 3. Populate mock data
export MOCK_DIR=/tmp/mock-data
mkdir -p "$MOCK_DIR/<owner>/<repo>"
cat > "$MOCK_DIR/<owner>/<repo>/view.json" << 'JSON'
{ ... }
JSON

# 4. Create demo working directory and manifests
mkdir -p /tmp/demo
cat > /tmp/demo/<manifest>.yaml << 'YAML'
...
YAML

# 5. Set prompt
export PS1='$ '

Read the full file on GitHub · 192 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. 11d ago First seen · 192 lines · 43 tokens per session scan A 084e983d66aa

Subscribe to this mod's changes

vhs-tape-authoring is a skill published in the GitHub repository babarot/gh-infra (134 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 1,656 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

gh-attach

Uploads a local file (screenshot, image, PDF, zip, video) to GitHub user-attachments, downloads GitHub user-attachments, and embeds local files in a PR, issue, or comment. Use when asked to "attach a screenshot to the PR", "add an image to the issue", "embed before/after screenshots", "attach this file", or "download…

sudosubin/gh-attach · 94 tokens

clickup-cli

ClickUp CLI for managing tasks, sprints, comments, statuses, Docs, and archiving. Use when the user needs to interact with ClickUp — creating/editing/archiving tasks, checking sprint status, adding comments, linking PRs, managing Docs and pages, or searching tasks. Includes a generic clickup api passthrough covering…

triptechtravel/clickup-cli · 90 tokens

gitpic

A command-line tool that uploads local or clipboard images to a GitHub repository used as image hosting, then returns a Markdown link.

tarnish233/gitpic · 107 tokens

pkup-enchant

Enrich an existing PKUP report directory — group commits into tasks, filter out non-creative groups, and write Polish descriptions. Use when the user has already generated a PKUP report and wants to clean it up or add "Zaprojektowałem..." descriptions.

pPrecel/pkup-gen · 59 tokens

pkup-gen

Generate a PKUP report for given GitHub users. Use when the user asks to generate a PKUP report.

pPrecel/pkup-gen · 27 tokens

gh-stack

Manages stacked PRs and splits multi-part work into reviewable branches with gh-stack. Use for stack creation, viewing, edits, push, submit, sync, rebase, merge, or checkout; when asked to split or isolate work for review; whenever a user mentions a stack, branch layers, dependent PRs, or gh stack; or when a stack is…

github/gh-stack · 80 tokens