pip-web: Instructions file for Claude Code

CLAUDE.md

pip-web CLAUDE.md is an instructions file for Claude Code from playpip/pip-web. It costs 1,079 tokens per session, scanned A, original, MIT.

Project-specific instructions for Pip, a single-player Texas Hold'em poker web app played with play money and no account. They describe the project's documentation, code layers, conventions, and development workflow.

In plain words
What is it for?
Use them when working on Pip's poker engine, game state, interface, copy, venue artwork, offline behavior, testing, or deployment.
Why use it?
They help an agent change the app without putting poker rules, game flow, saved data, and visual presentation in the wrong parts of the codebase.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

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

Reuse

Borrowing it

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

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 pip-web CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/playpip/pip-web/claude-md"><img src="https://agentmods.dev/badge/instructions/playpip/pip-web/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,079 This file is loaded in full into every session.
When invoked 1,079 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.01079 $0.01079
Opus 5.5 $0.00432 $0.00432
Sonnet 5.5 $0.00216 $0.00216
Haiku 4.5 $0.00108 $0.00108

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

Security

Grade A, and why

pip-web 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 2d 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 · 70 lines

How it starts

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

CLAUDE.md — agent guide for Pip

Pip is a clean, single-player Texas Hold'em web app (play money, no account needed, desktop-first). GitHub repo: playpip/pip-web.

Full documentation lives in docs/ — read it before non-trivial work. This file is the quick-start and the non-negotiables.

Read first (by task)

Doing… Read
Anything docs/README.md, docs/architecture.md
Poker rules / AI docs/poker-engine.md
Tournament pacing / economy docs/game-flow.md
UI / styling docs/design.md
Copy / naming / tone docs/brand.md
Venues / venue art docs/venues.md
Blackjack src/lib/blackjack/ — its own engine, deliberately outside src/lib/poker/
Coaching / review / the report docs/review.md
Anything paid / gated docs/membership.md
The Pip Rating / leaderboard docs/rating.md
Persistence / backup / offline PWA docs/data-and-offline.md
Setup / testing / conventions / deploy docs/development.md

The three layers (respect the boundaries)

  1. Engine — src/lib/poker/. Pure, deterministic, React-free, unit-tested. Rules live here.
  2. Orchestration — src/store/game.ts (turn pacing, AI timers, economy) + src/store/profile.ts (persisted).
  3. Presentation — src/components/, src/app/. Reads stores; look & feel only.

Rules change → engine (+ tests). Pacing/money → game store. Looks → components + tokens.

Non-negotiables

  • Package manager: pnpm. Never hand-pin versions — install latest, let pnpm resolve.
  • Tests: AVA, not Vitest. Engine changes ship with tests.
  • Colours: theme tokens only. Never hardcode bg-white/…, text-black, etc. Use foreground/<alpha> for subtle surfaces, bg-primary/text-primary-foreground for emphasis. Dark only — there is no light mode (removed 2026-10-03). (See docs/design.md.)
  • No real money framing. Play-money "chips" only; never show $. No casino textures, no pop-ups, no dark patterns. (See docs/brand.md.)
  • Determinism in the engine. Pass a seeded Rng; no Date.now()/Math.random() in logic that must be reproducible.
  • Engine stays pure. No React/store/browser imports in src/lib/poker/.
  • Persisted profile changes → bump PERSIST_VERSION + add a migrate branch in src/store/profile.ts.
  • set-state-in-effect (React 19 rule, enforced by convention) — use the patterns in docs/development.md (useHydrated, mount-form-while-open), not setState in useEffect.
  • The Pip Rating is public; the Roll is not. Nobody sees anybody else's Roll or Roll title. The Pip Rating (decision quality, docs/rating.md) is public with a leaderboard, by Will's decision of 2026-11-04, behind NEXT_PUBLIC_RATING until the backend is live.
  • Releases are automatic. Pushing to main deploys and cuts a release: the version auto-bumps (patch by default; #minor/#major in the commit subject line to bump harder — the body is ignored), tags, and publishes a GitHub Release. Don't bump package.json version by hand. (See docs/development.md → Deploy & releases.)

Read the full file on GitHub · 70 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. 2d ago Changed · +4 lines · +91 tokens per session 93c5f7a1856c
  2. 1mo ago Changed · +10 tokens per session e2c1672dc6c0
  3. 1mo ago Changed · +3 lines · +66 tokens per session a2aea2fecca3
  4. 2mo ago First seen · 63 lines · 912 tokens per session scan A 8bc957723174

Subscribe to this mod's changes

pip-web CLAUDE.md is an instructions file published in the GitHub repository playpip/pip-web (20 stars, last pushed yesterday), licensed MIT. It adds 1,079 tokens to every session, about $0.0043 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

pip-web CLAUDE.md compared with instructions from other repositories

pip-web CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pip-web CLAUDE.mdplaypip/pip-webInstructions file20yesterdayMITA1,079Claude Code
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
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k3d agoMITA4,313Codex, OpenCode