Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/membrane/api-gateway/claude-mdgit clone --depth 1 https://github.com/membrane/api-gatewayWhat 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 | $0.02566 | $0.02566 |
| Opus 5 | $0.01283 | $0.01283 |
| Sonnet 5 | $0.00513 | $0.00513 |
| Haiku 4.5 | $0.00257 | $0.00257 |
Grade A, and why
api-gateway 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 yesterday.
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 — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Membrane API Gateway — a lightweight Java API gateway for REST, GraphQL, and legacy SOAP/WSDL services, configurable in YAML or XML. Upstream: https://github.com/membrane/api-gateway
Working principles
Behavioral guidelines to reduce common coding mistakes; they compose with the project-specific conventions below. Tradeoff: these bias toward caution over speed. For trivial tasks, use judgment.
1. Think before coding
Don't assume silently. Surface tradeoffs.
- State assumptions explicitly rather than picking one silently.
- If multiple reasonable interpretations exist, name them instead of just choosing.
- Ask before proceeding only on judgment calls with real cost to being wrong (data model, auth, hard-to-undo changes). For everything else, state your assumption and proceed — don't stall on low-stakes ambiguity.
- If a simpler approach exists, say so, even if it means pushing back.
2. Simplicity first
No speculative abstraction.
- No features, flexibility, or config beyond what was asked.
- No abstractions for single-use code.
- If it could be a third of the length, rewrite it shorter.
3. Surgical changes
Touch only what you must.
- Don't "improve," reformat, or refactor adjacent code, even if it's messy.
- Match existing style even where you'd choose differently.
- Remove imports/vars/functions your change made unused; leave pre-existing dead code alone (mention it, don't touch it).
- Every changed line should trace to the request.
4. Verify before declaring done
- For bug fixes: reproduce with a failing test first, then fix.
- For new logic: add tests for the cases that matter (invalid input, edge cases), not exhaustive coverage.
5. Never push on your own
- Never run
git push(or open/merge a PR) without the user explicitly asking for it in that moment. Committing locally is fine; pushing is not the default next step.
Modules
Maven multi-module reactor (root pom.xml), Java 21 (javac.source/target):
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.
- yesterday First seen · 167 lines · 2,566 tokens per session scan A 2ea02d1231a8
api-gateway CLAUDE.md is an instructions file published in the GitHub repository membrane/api-gateway (638 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,566 tokens to every session, about $0.0128 per session on Opus 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.
Other instructions, from other repositories
LAP CLAUDE.md
Instructions for Lap-Platform/LAP, covering lap - lean api platform, what this is, quick reference, install and run tests.
data-api-builder copilot-instructions.md
Instructions for Azure/data-api-builder, covering data api builder (dab) - copilot instructions, project overview, key technologies, project structure and building and testing.
scalar AGENTS.md
Instructions for scalar/scalar, covering agents.md - ai agent guide for scalar, project overview, prerequisites, first-time setup and commands.
symfony-flex-backend CLAUDE.md
Instructions for tarlepp/symfony-flex-backend, covering what is this?, table of contents ᐞ, ai documentation map ᐞ, version sources of truth ᐞ and project architecture ᐞ.
symfony-flex-backend copilot-instructions.md
Instructions for tarlepp/symfony-flex-backend, covering what is this?, table of contents ᐞ, purpose ᐞ, architecture rules ᐞ and php and symfony rules ᐞ.
nango AGENTS.md
AGENTS.md instructions for NangoHQ/nango, covering linting & formatting, running nango locally, running the webapp dev server, multiple worktrees (local backend) and remote api.