Borrowing it
Nothing to install: this file belongs to rejifald/StitchAPI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/rejifald/StitchAPI/main/CLAUDE.mdgit clone --depth 1 https://github.com/rejifald/StitchAPIWrote 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.
[](https://agentmods.dev/instructions/rejifald/stitchapi/claude-md)<a href="https://agentmods.dev/instructions/rejifald/stitchapi/claude-md"><img src="https://agentmods.dev/badge/instructions/rejifald/stitchapi/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.
<a href="https://agentmods.dev/instructions/rejifald/stitchapi/claude-md"><img src="https://agentmods.dev/badge/instructions/rejifald/stitchapi/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00738 | $0.00738 |
| Opus 5.5 | $0.00295 | $0.00295 |
| Sonnet 5.5 | $0.00148 | $0.00148 |
| Haiku 4.5 | $0.00074 | $0.00074 |
Grade A, and why
StitchAPI 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.
How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
StitchAPI — working agreement for Claude
Edit in a fresh worktree off main
Before writing or editing any file in this repository, call EnterWorktree
first so the session works in a fresh git worktree branched from main. Do not
edit the primary checkout directly.
EnterWorktreeuses thefreshbase ref (configured in .claude/settings.json), so every worktree branches fromorigin/main— the repository's default branch.- Enter the worktree once per session, before the first edit. All edits and the working branch live there.
mainis the default target branch: open the resulting PR againstmain.- Exception: small edits to repo configuration (
.claude/,CLAUDE.md, or memory files) may be made in the primary checkout directly — bootstrapping the worktree rule from inside a worktree isn't worth the friction.
node_modules in a fresh worktree
A fresh worktree has no node_modules (it's gitignored). This is handled
automatically: a hook in .claude/settings.json runs
pnpm install --frozen-lockfile --prefer-offline the moment an EnterWorktree
worktree is created. The global pnpm store (~/Library/pnpm/store) is shared
across all checkouts, so it's fully offline and fast (~5–7s — nothing is
re-downloaded; file content is hardlinked). It creates the per-package
node_modules the pnpm workspace needs and runs lefthook install so the
worktree's git hooks are wired up.
If you ever land in a worktree without deps (e.g. the hook was disabled), run that
same command by hand. Don't symlink node_modules into the worktree — pnpm would
write through the symlink into the primary checkout's store. A real pnpm install
is the correct fix.
Using the StitchAPI docs MCP
This repo ships the stitchapi-docs MCP server preconfigured in
.mcp.json — the local, offline
@stitchapi/docs-mcp
package, which answers from a docs bundle on your machine (no per-query network;
a one-time embedding-model download on first use). For any question about
StitchAPI's own public API, configuration, errors, or runtime behavior, use it
before answering:
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.
- 2mo ago First seen · 60 lines · 738 tokens per session scan A e459e5575057
StitchAPI CLAUDE.md is an instructions file published in the GitHub repository rejifald/StitchAPI (21 stars, last pushed yesterday), licensed Apache-2.0. It adds 738 tokens to every session, about $0.0030 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.
StitchAPI CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| StitchAPI CLAUDE.mdrejifald/StitchAPI | Instructions file | 21 | yesterday | Apache-2.0 | A | 738 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |