paper-cranes: Skill for Claude Code

.claude/skills/record/SKILL.md

record is a skill for Claude Code from loqwai/paper-cranes. It costs 43 tokens per session (1,004 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.

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/.claude/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,004 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.01004
Opus 5.5 $0.00017 $0.00402
Sonnet 5.5 $0.00009 $0.00201
Haiku 4.5 $0.00004 $0.00100

Measured 11d ago against content hash 826e76f1837a, 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 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/record/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 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.

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 (suggest /jam).

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 · 113 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 · 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 3d ago), licensed BSD-3-Clause. It adds 43 tokens to every session and 1,004 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

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

Log a CLI in with a browser/device-code flow (aws sso, gh, glab, gcloud, …) and save the result to the keychain so later commands can request it through execute.credentials.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

open-design-browser

Inspect and exercise local HTML design artifacts with the existing agent-browser CLI, including screenshots and keyboard or interaction checks. Use when rendered evidence helps author or review a design; excludes browser installation, remote services, and unrelated browser automation.

compozy/compozy · 49 tokens