Logo van Papercut Setup

Papercut Setup

Community
0xS4N4TG
papercut-setup

Install, check or upgrade the papercut toolchain. Runs the doctor, asks how much to set up (Minimal, Standard, Full), then runs install.sh with flags and fixes dependency errors. Use for "set up papercut-explainer", "install papercut", "check my papercut install", "set up the voice", "why won't it render".

Add to TypingMind

Overzicht

Uitgever0xS4N4TG
Repositorypapercut-explainer
Skillnaampapercut-setup
Sterren
106
Forks
10
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door 0xS4N4TG op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Papercut Setup in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/0xS4N4TG/papercut-explainer/tree/main/skills/papercut-setup
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/0xS4N4TG/papercut-explainer.git /tmp/papercut-explainer
mkdir -p .claude/skills
cp -r /tmp/papercut-explainer/skills/papercut-setup .claude/skills/papercut-setup
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Papercut Setup in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Papercut Setup automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Papercut Setup niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Papercut setup

A guided wrapper around install.sh. It checks what is installed, asks how much the user wants, runs the installer non-interactively and reports. Use it whenever another papercut skill finds something missing.

Preflight

  • Find the repo root (where install.sh lives): readlink on the installed skill folder ends in <root>/skills/papercut-setup. Look in each harness's skills folder in turn (the table is harnesses.sh; typically ~/.claude/skills, ~/.agents/skills, ~/.config/opencode/skills, or the same under <project>/). Failing that, PAPERCUT_HOME= in ${XDG_CONFIG_HOME:-~/.config}/papercut-explainer/config.env. If neither exists, the skills probably came from npx skills add (skills only, no library). Ask where to clone the repo (default ~/papercut-explainer), run git clone https://github.com/0xS4N4TG/papercut-explainer <dir>, and use that as the root. The installer then replaces the copied skill folders with links into the checkout (it backs up real folders first). Never guess a path.
  • Run every install.sh command from that root. It needs bash, and macOS or Linux (Windows: use WSL).
  • The installer's own prompts need a terminal, which the agent's shell tool lacks. Always pass --yes and the answers as flags. Tell the user they can run ./install.sh themselves for the interactive menu.

1. Doctor

./install.sh --doctor

Add --project DIR, --skills-dir DIR or --target <names> if the skills went somewhere other than the detected defaults; the doctor only looks where you point it, and with no --target one complete install location is enough. It prints [ok], [--] (missing) or [!!] (wrong). Summarise it in plain words:

  • skills installed, config file and PAPERCUT_LIB
  • node 20+, npm, ffmpeg, python3
  • Remotion agent skills, Python tools (numpy + Pillow)
  • voice: qwen_tts importable, a CustomVoice model in the Hugging Face cache
  • library files present

Then say which install mode that adds up to (see papercut-explainer, Install modes).

2. Ask

Ask only what is still open, in one call (your agent's question tool, for example AskUserQuestion in Claude Code). Run ./install.sh --dry-run --mode minimal --yes first if you need to know which harnesses it detected (--target auto, the default):

QuestionOptions
How much?Minimal: skills only, seconds. Standard: render with a placeholder voice, ~0.7 GB and a few minutes. Full: Standard + local voiceover, +4-6 GB (a 1.5 GB venv plus a 2.3 or 4.2 GB model) and a 2-minute smoke test. Custom: pick components.
Which agents?Detected on this machine (default, --target auto; Claude Code if none), a list such as --target claude,codex,gemini, or --target all. Names are in harnesses.sh; the README's Works with table says which are tested.
Where do the skills go?User-wide (the default) or one project (--project DIR).
Copy or link?Symlink (default, updates with git pull) or --copy (a snapshot).
Scene-agent model, per agent with file subagents (claude, opencode, codex, gemini; skip the rest)?One question per selected agent, each with Inherit (use the session model) as an option. Claude Code: Sonnet (default: cheapest, what the scene agents were tuned on) · Opus (strongest; every parallel scene agent bills at Opus rates) · Haiku · Inherit. Maps to --claude-model sonnet|opus|haiku|inherit|<id>. Other agents: default Inherit, or a model id in that agent's own format (opencode provider/model-id, for example anthropic/claude-sonnet-5-5; Codex and Gemini plain ids). Maps to --opencode-model M or --agent-model codex=M.
Another provider's model (DeepSeek and others)?Only if the user asks. Connect the provider inside the agent first (OpenCode /connect; Codex config.toml provider; Claude Code's ANTHROPIC_* variables), then pass its model id as above. The README's Models other than Claude section has the steps and the DeepSeek ids. Say plainly that it is untested end to end and that weaker models cost more QA rounds.
TTS model size (Full)1.7B, better prosody, ~4.2 GB (default). 0.6B, lighter and faster, ~2.3 GB.
Voice-clone model (Full)No (default), or --with-clone: the Base model of the same size again.

Confirm before any multi-GB download. On a machine with no GPU (not Apple Silicon, no NVIDIA), TTS generation takes minutes per line; suggest recording the voiceover or the placeholder voice instead.

3. Install

./install.sh --mode <minimal|standard|full> --yes [--target auto|all|claude,codex,...] [--claude-model M] [--opencode-model M] [--agent-model NAME=M] [--skills-dir DIR | --project DIR] [--copy] [--tts-model 1.7B|0.6B] [--with-clone]
./install.sh --mode custom --components skills,deps,remotion-skills,pytools,tts,verify --yes
  • Add --dry-run first if the user wants to see the plan; it changes nothing.
  • The scene-builder agent is written as a copy per harness, in that harness's own format (Claude and OpenCode markdown, Codex TOML, Gemini markdown), with the chosen model line or none for Inherit. Harnesses without file subagents get none; papercut-build then builds scenes itself or uses the harness's own parallel tasks. Skills stay symlinks. To change a model later: ./install.sh --mode custom --components skills --target codex --agent-model codex=<id> --yes (or --claude-model, --opencode-model).
  • Standard and Full take minutes (npm install, Remotion's Chrome, venvs, model download). Run them in the background and check the output; do not hold a foreground call.
  • What each mode does: Minimal links the skills and the scene-builder agent (into each selected harness's skills and agents folders). Standard adds a dependency check, the Remotion agent skills (npx skills add remotion-dev/skills -g -y -a <harness id> once per selected harness, installed user-wide, so say so when you confirm the plan), a Python venv with numpy, Pillow and soundfile, and a self-test render. Full adds library/voice/setup_tts.sh: a voice venv with Qwen3-TTS, an ASR backend (mlx-whisper on Apple Silicon, faster-whisper elsewhere), the model download and a one-line smoke test.
  • The installer writes PAPERCUT_HOME, PAPERCUT_LIB, PAPERCUT_PY, QWEN_TTS_PY and ASR_PY into ~/.config/papercut-explainer/config.env. An existing skill folder that differs from this checkout is backed up to ~/.config/papercut-explainer/backups/ (not into the skills folder, so it is not loaded twice); an identical copy, such as one from npx skills add, is just replaced.

4. Verify and report

Run ./install.sh --doctor again with the same --project, --skills-dir or --target. Report what is installed, which scene-agent model each agent got, what failed (the installer prints needs attention: with component names), and the fix. A new Claude Code, Codex or Gemini CLI session picks up newly linked skills (restart it); opencode reloads configuration automatically. Then suggest: "make a papercut explainer about ", or one stage at a time ("write a hook for...", "storyboard this script", "set up the voice").

Troubleshooting

SymptomFix
node older than 20, or missingInstall Node 20+ (nodejs.org, brew install node), then ./install.sh --mode custom --components deps,verify --yes.
ffmpeg missingbrew install ffmpeg or apt install ffmpeg.
Voice venv: "need Python 3.10-3.12"Qwen3-TTS has no wheels for newer Python. Install uv (https://docs.astral.sh/uv/) or brew install python@3.12, rerun the tts component.
Hugging Face download stalls or failsRerun; finished files are kept and the script retries 3 times. It sets HF_HUB_DISABLE_XET=1; set it yourself for manual downloads.
First render is slowRemotion downloads its headless Chrome once. The audio render and capture.mjs use your own Chrome; set CHROME_PATH if it isn't in a usual place.
Self-test failsRun library/tools/selftest.sh directly to see the failing step.
Skills don't showRestart Claude Code, Codex or Gemini CLI (opencode reloads). Check the harness's folder (harnesses.sh; ~/.agents/skills for most) and run ./install.sh --doctor.
opencode: "Configuration is invalid ... tools"An old copy of the Claude agent file sits in an opencode agents folder. Rerun ./install.sh --target opencode; it writes the opencode version.
Scene agents cost too much, or run on the wrong modelRerun the skills step with another model: ./install.sh --mode custom --components skills --claude-model sonnet --yes (or --opencode-model inherit). inherit means the session model.
Move from Minimal to Standard./install.sh --mode custom --components deps,remotion-skills,pytools,verify --yes
Add the voice later./install.sh --mode custom --components tts --yes [--tts-model 0.6B] [--with-clone]
Remove it./install.sh --uninstall removes the links it recorded. It leaves config.env, the venvs under ~/.local/share/papercut-explainer and the Hugging Face cache; delete those by hand for the space.
WindowsNot supported directly. Use WSL.

Hand-off

Return to the skill that sent you here, or to papercut-explainer for the stage table. Files hold the state: config.env carries the library path, so the other skills resolve it without asking again.

Veelgestelde vragen

Wat doet de AI-skill Papercut Setup?

Install, check or upgrade the papercut toolchain. Runs the doctor, asks how much to set up (Minimal, Standard, Full), then runs install.sh with flags and fixes dependency errors. Use for "set up papercut-explainer", "install papercut", "check my papercut install", "set up the voice", "why won't it render".

Waarom Papercut Setup gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Papercut Setup bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Papercut Setup in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/0xS4N4TG/papercut-explainer/tree/main/skills/papercut-setup. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Papercut Setup gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Papercut Setup gebruiken?

Zoveel als je wilt. Je kunt Papercut Setup gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Papercut Setup gratis?

Ja. Deze skill is door 0xS4N4TG op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇