paper-cranes: Skill for Claude Code

.agents/skills/record/SKILL.md

record is a skill for Claude Code from loqwai/paper-cranes. It costs 43 tokens per session (1,081 once invoked), scanned A, original, BSD-3-Clause.

A command that records the current shader canvas as a WebM video while restarting the selected music track. WebM is a video file format, and the browser's MediaRecorder captures the visual canvas.

In plain words
What is it for?
Use it to make a music video from the active shader, choosing a duration or recording the full track, with a generated filename based on the shader and music title.
Why use it?
It avoids manually synchronising music, browser tabs, and recording controls. The recording can use a chosen duration or, when available, the full track length.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is loqwai/paper-cranes's own configuration. It tells Claude Code how to work on paper-cranes 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 paper-cranes configures →

Reuse

Borrowing it

Nothing to install: this file belongs to loqwai/paper-cranes. 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/loqwai/paper-cranes/main/.agents/skills/record/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/loqwai/paper-cranes

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 record

README.md
[![agentmods](https://agentmods.dev/badge/skills/loqwai/paper-cranes/record/github.svg)](https://agentmods.dev/skills/loqwai/paper-cranes/record)
Your own site
<a href="https://agentmods.dev/skills/loqwai/paper-cranes/record"><img src="https://agentmods.dev/badge/skills/loqwai/paper-cranes/record/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 record

Your own site · 80×15
<a href="https://agentmods.dev/skills/loqwai/paper-cranes/record"><img src="https://agentmods.dev/badge/skills/loqwai/paper-cranes/record.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,081 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.01081
Opus 5.5 $0.00017 $0.00432
Sonnet 5.5 $0.00009 $0.00216
Haiku 4.5 $0.00004 $0.00108

Measured 8d ago against content hash 4dc98e4601a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

record 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 8d 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.

.agents/skills/record/SKILL.md · 117 lines

How it starts

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

Record — Capture a Music Video from the Shader

Record the WebGL canvas as a WebM video file using the browser's MediaRecorder API. Optionally restarts the music track so the video starts from the beginning.

Studio and post-show only. This drives Aaron's own Chrome through claude-in-chrome, whose cursor and infobar are "unacceptable for live shows" (Aaron, 2026-10-06). Never run it against the show wall during a set; to keep a moment mid-set, press KEEP (/keep).

Context

Arguments (optional duration in seconds, default 30): !echo "$ARGUMENTS"

Steps

1. Find the active tabs

Call tabs_context_mcp to find:

  • The shader tab (jam page or editor — look for jam.html or edit.html in the URL)
  • The music tab (Spotify, SoundCloud, YouTube — look for these domains)

If no shader tab is found, tell the user to open one first (/show lite puts the jam page up).

2. Parse duration

If $ARGUMENTS contains a number, use it as duration in seconds. Default: 30. If $ARGUMENTS contains "full", read the track duration from the music tab if possible.

3. Determine the output filename

Read the shader name and music tab title to generate a filename:

the-coat-3--rain-apashe.webm

4. Restart the music track

On the music tab, click the Previous button twice to restart from the beginning:

  • Find the "Previous" button via read_page (interactive filter)
  • Click it twice with computer tool

Wait 0.5s for the track to restart.

5. Start recording

On the shader tab, inject the recording script:

(() => {
  const canvas = document.getElementById('visualizer')
  const stream = canvas.captureStream(30) // 30fps from canvas
  
  const recorder = new MediaRecorder(stream, {
    mimeType: 'video/webm;codecs=vp9',
    videoBitsPerSecond: 8000000
  })
  
  const chunks = []
  recorder.ondataavailable = (e) => { if (e.data.size > 0) chunks.push(e.data) }
  recorder.onstop = () => {
    const blob = new Blob(chunks, { type: 'video/webm' })
    const url = URL.createObjectURL(blob)
    const a = document.createElement('a')
    a.href = url
    a.download = '<FILENAME>'
    a.click()
    URL.revokeObjectURL(url)
    window.flashToast?.('Video saved!')
    window._recordingDone = true
  }
  
  window._recorder = recorder
  window._recordingDone = false
  recorder.start(100)
  
  setTimeout(() => {
    if (recorder.state === 'recording') recorder.stop()
  }, <DURATION_MS>)
  
  window.flashToast?.('Recording... (' + <DURATION_S> + 's)')
  return 'recording'
})()

Read the full file on GitHub · 117 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. 8d ago Changed · +4 lines 4dc98e4601a5
  2. 2mo ago First seen · 113 lines · 43 tokens per session scan A 826e76f1837a

Subscribe to this mod's changes

record is a skill published in the GitHub repository loqwai/paper-cranes (7 stars, last pushed 6d ago), licensed BSD-3-Clause. It adds 43 tokens to every session and 1,081 once invoked, about $0.0002 per session on Opus 5.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-10-02.

Related

record compared with skills from other repositories

record next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
recordloqwai/paper-cranesSkill76d agoBSD-3-ClauseA43Claude Code
android-multiprofilechromium/chromiumSkill26ktodayBSD-3-ClauseA73Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k9d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3ktodayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4kyesterdayMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1k3d agoMITA40Claude Code