deck: Instructions file for Claude Code

CLAUDE.md

deck CLAUDE.md is an instructions file for Claude Code from bassotov/deck. It costs 5,175 tokens per session, scanned A, original, MIT.

Project instructions for Deck, an app that turns Markdown storylines into scrollable 16:9 slides with drawing and voiceover recording.

In plain words
What is it for?
Use them when developing the app, running its development server or command-line version, working with its MCP server, or preparing a release.
Why use it?
They document how to run, structure, type-check, and release the project, reducing guesswork when changing it.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

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

Reuse

Borrowing it

Nothing to install: this file belongs to bassotov/deck. 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/bassotov/deck/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/bassotov/deck

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 deck CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/bassotov/deck/claude-md/github.svg)](https://agentmods.dev/instructions/bassotov/deck/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/bassotov/deck/claude-md"><img src="https://agentmods.dev/badge/instructions/bassotov/deck/claude-md/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 deck CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bassotov/deck/claude-md"><img src="https://agentmods.dev/badge/instructions/bassotov/deck/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,175 This file is loaded in full into every session.
When invoked 5,175 The same file — it is already loaded in full.
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.05175 $0.05175
Opus 5.5 $0.02070 $0.02070
Sonnet 5.5 $0.01035 $0.01035
Haiku 4.5 $0.00517 $0.00517

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

Security

Grade A, and why

deck CLAUDE.md 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 6d 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.md · 372 lines

How it starts

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

deck

Storylines are markdown files; this app renders them as 16:9 slides you can scroll through and draw on while recording a voiceover. README.md is the user-facing doc — this file is the working reference for the internals.

Run it

npm run dev            # vite, http://localhost:5290 — the app-development loop
npm start              # build, then the CLI, serving the built app
npm run mcp            # build, then the MCP server on stdio
npm run typecheck      # client, node, and the tests
npm test               # the unit tests, no build needed

Shape

Three front ends over one core. The rule that makes this work: nothing product-shaped lives in vite.config.ts, and nothing transport-shaped lives in server/store.ts.

server/paths.ts    package root, dist and the export script, found not counted
server/config.ts   where the decks are — argument, then env, then env file, then ./decks
server/slides.ts   the slide grammar. imports no `node:`, so it bundles to the browser too
server/store.ts    every filesystem operation. no HTTP, no MCP
server/api.ts      the HTTP surface over a store; resolves true when it handled a request
server/serve.ts    the standalone server: built app + api + live reload, no Vite
vite.config.ts     the dev adapter — middleware around the same handler
bin/deck.ts        the CLI
mcp/               the MCP server and the syntax crib it hands to agents
src/               the React app
scripts/export.ts  PNG export, driving `serve` through Playwright
scripts/bundle.ts  the Claude Desktop extension (.mcpb), staged and packed
mcpb/icon.html     the extension icon's source; the png is rendered from it

The extension

npm run bundle writes build/deck-<version>.mcpb — a zip of manifest.json, lib/, dist/, an icon, and a production-only node_modules installed into the staging directory. It has to be self-contained: the host runs node lib/bin/deck.js mcp directly, with no install step and no guarantee the user has ever run npm.

Read the full file on GitHub · 372 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. 6d ago Changed · +19 lines · +279 tokens per session b78f98fdcc88
  2. 2mo ago First seen · 353 lines · 4,896 tokens per session scan A e274d5a60e9a

Subscribe to this mod's changes

deck CLAUDE.md is an instructions file published in the GitHub repository bassotov/deck (2 stars, last pushed 6d ago), licensed MIT. It adds 5,175 tokens to every session, about $0.0207 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-08-31.

Related

deck CLAUDE.md compared with instructions from other repositories

deck CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deck CLAUDE.mdbassotov/deckInstructions file26d agoMITA5,175Claude Code
vibetags com-example-config-AsyncTestConfig.instructions.mdPIsberg/vibetagsInstructions file25todayMITA82GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot