paper-cranes: Skill for Claude Code

.agents/skills/keep/SKILL.md

keep is a skill for Claude Code from loqwai/paper-cranes. It costs 98 tokens per session (1,138 once invoked), scanned B, original, BSD-3-Clause.

A way to mark a good moment in a live visual show and process it later. Processing turns saved moments into numbered shader variations or named presets with documentation; a shader is code that draws the visual.

In plain words
What is it for?
Use it to save the current visual during a performance, then create a shader fork or preset from the saved moments afterward.
Why use it?
It separates the quick act of saving a moment from the slower work of writing it up or turning it into reusable work.

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 →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is PORT=$(./scripts/dev-port) node scripts/vj/mcp-call.js keep '{}'.

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/keep/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 keep

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/loqwai/paper-cranes/keep"><img src="https://agentmods.dev/badge/skills/loqwai/paper-cranes/keep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,138 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00098 $0.01138
Opus 5.5 $0.00039 $0.00455
Sonnet 5.5 $0.00020 $0.00228
Haiku 4.5 $0.00010 $0.00114

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

Security

Grade B, and why

keep 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 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

ls .claude/keeps/ 2>/dev/null; cat .claude/keeps.jsonl 2>/dev/null
.agents/skills/keep/SKILL.md · 74 lines

How it starts

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

/keep: press now, write it up later

A good moment at a show lasts seconds. Saving it must cost Aaron one press and no conversation, so the press lives in the page, and the writing happens after the set. This skill replaces /fork and /preset (2026-11-24, Aaron: "Yes to all").

Mode What
/keep (or "keep this" in chat) press KEEP on the display now
/keep process turn every kept moment into a fork or a preset, with docs
/keep fork [shader] fork what is on the wall right now as the next numbered file

Press: /keep

Aaron's own KEEP is the fastest: the vjpad's KEEP button, its MIDI note (?midi_keep=), k on the jam page, or KEEP on the show board. When he asks you instead, press it through the VJ MCP:

PORT=$(./scripts/dev-port) node scripts/vj/mcp-call.js keep '{}'

The page records {shader, params, t} as a keep signal and saves a snapshot to the shader's queue, shaders/<shader>/docs/.snapshots/<time>.json ({timestamp, shader, knobs, audio, name, userNote}). The jam page's spacebar saves a snapshot the same way. /show puts each KEEP's screenshot on the show board (frame kept), and copies a -wip shader as it was at that second to .claude/keeps/<time>-<name>.frag, since the -wip file keeps changing.

Pages without the keep tool: get_state {"screenshot": true} and append {t, shader, params, shot} to .claude/keeps.jsonl; process reads that too.

Process: /keep process

Run after the set (/show end runs it in a background agent). Only the VJ MCP and files: no browser.

  1. Gather every unprocessed moment:
    find shaders/ -path '*/docs/.snapshots/*.json' -not -path '*/processed/*' | sort
    ls .claude/keeps/ 2>/dev/null; cat .claude/keeps.jsonl 2>/dev/null
    grep '"type":"keep"' .claude/vj-signals.jsonl 2>/dev/null
    
    Match them by time (within a few seconds) so each moment has its knobs, its audio, its code copy if any, and its screenshot from the board.
  2. Decide each one: fork or preset.
    • Preset when the shader on the wall was a committed file, unchanged: the moment is its knobs.
    • Fork when the shader was a -wip copy or a /partner candidate (-p<N>), or when Aaron said "fork it": the moment is its code and its knobs.
    • Near-duplicates (same shader, knobs within 0.05, within a minute): keep the later one.
  3. Name it in 1-3 lowercase hyphenated words, like a DJ set name, from the music and the look: wooli-drop, chill-glow, deep-lace. A name in the snapshot wins.
  4. Read the musical moment from its audio: drop, build, breakdown, quiet. Use zScore for "unusual", slope with rSquared for a confident build or fall, scooped mids before a drop, entropy for chaos, roughness for grit. The same knobs look different in a drop and a breakdown, so this goes in the doc.
  5. Label the knobs from the shader's own names: the // K4 ZOOM comments (read_shader returns them) or // @knob: lines.

Read the full file on GitHub · 74 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. 8d ago First seen · 74 lines · 98 tokens per session scan B b787b1c6351e

Subscribe to this mod's changes

keep is a skill published in the GitHub repository loqwai/paper-cranes (7 stars, last pushed 6d ago), licensed BSD-3-Clause. It adds 98 tokens to every session and 1,138 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-26.

Related

keep compared with skills from other repositories

keep next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
keeploqwai/paper-cranesSkill76d agoBSD-3-ClauseB98Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code