snip: Instructions file for Claude Code

CLAUDE.md

snip CLAUDE.md is an instructions file for Claude Code from rixinhahaha/snip. It costs 2,006 tokens per session, scanned A, original, MIT.

A set of project instructions for autonomous coding work in the snip repository. It defines which product, design, architecture, deployment, user-flow, and marketing documents to read before making different kinds of changes.

In plain words
What is it for?
Use it to determine which guidance to read before adding features, changing the interface, modifying architecture, updating builds, altering user flows, or editing site content.
Why use it?
It reduces the risk of changing code or behavior without following the repository’s documented decisions and constraints.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rixinhahaha/snip/claude-md"><img src="https://agentmods.dev/badge/instructions/rixinhahaha/snip/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,006 This file is loaded in full into every session.
When invoked 2,006 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.02006 $0.02006
Opus 5.5 $0.00802 $0.00802
Sonnet 5.5 $0.00401 $0.00401
Haiku 4.5 $0.00201 $0.00201

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

Security

Grade A, and why

snip 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 2mo 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 · 123 lines

How it starts

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

CLAUDE.md — Autonomous Agent Instructions

This project is fully autonomous. Claude Code operates independently across all roles: product, design, development, DevOps. Read the relevant role docs before making changes.


Role Documents

Doc When to Read
docs/PRODUCT.md Before adding features, changing UX, or making product decisions. Contains vision, terminology, and product principles.
docs/DESIGN.md Before touching CSS, colors, or UI components. Contains the full color system (Dark/Light), component patterns, and glass effect specs.
docs/ARCHITECTURE.md Before writing code. Contains directory structure, code conventions, IPC channels, data flow, and key architectural constraints.
docs/DEVOPS.md Before changing build scripts, native modules, or deployment config. Contains build pipeline, signing, and environment setup.
docs/USER_FLOWS.md Before modifying user-facing behavior. Contains step-by-step flows with edge cases — use as acceptance criteria.
docs/MARKETER.md Before editing site/, adding media assets, or producing social/marketing content. Contains SEO rules, asset optimization standards, canonical URL rules, and the marketing content library.

Read the relevant role doc(s) before starting work. Don't guess at conventions — they're documented.


Documentation Rules

MANDATORY: After any code change, you MUST update every affected doc before considering the task complete. This is not optional — stale docs break future sessions.

What Changed Docs to Update
CSS / colors / theme variables docs/DESIGN.md color tables + docs/ARCHITECTURE.md if new variables added
User-facing behavior or UX docs/USER_FLOWS.md flow steps + docs/PRODUCT.md if feature scope changed
New feature docs/PRODUCT.md feature list + docs/USER_FLOWS.md new flow + docs/ARCHITECTURE.md if new files/IPC + README.md if major
Removed feature Remove from docs/PRODUCT.md + docs/USER_FLOWS.md + README.md
Architecture / new files / IPC docs/ARCHITECTURE.md directory tree + IPC table + data flow
Build / scripts / native modules docs/DEVOPS.md scripts table + build pipeline
Code conventions changed docs/ARCHITECTURE.md conventions section
New tool or annotation type docs/PRODUCT.md tool table + docs/USER_FLOWS.md new tool flow + docs/ARCHITECTURE.md directory tree + README.md shortcut table
Theme system changes docs/DESIGN.md + docs/ARCHITECTURE.md theme system section + docs/USER_FLOWS.md §8.4
Marketing site / SEO / media assets docs/MARKETER.md + update sitemap.xml lastmod + verify canonical URLs

Read the full file on GitHub · 123 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. 2mo ago First seen · 123 lines · 2,006 tokens per session scan A 2a95feb3fe09

Subscribe to this mod's changes

snip CLAUDE.md is an instructions file published in the GitHub repository rixinhahaha/snip (351 stars, last pushed 6mo ago), licensed MIT. It adds 2,006 tokens to every session, about $0.0080 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-30.

Related

snip CLAUDE.md compared with instructions from other repositories

snip CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
snip CLAUDE.mdrixinhahaha/snipInstructions file3516mo agoMITA2,006Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode