Borrowing it
Nothing to install: this file belongs to stoa-platform/stoa. 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/stoa-platform/stoa/main/CLAUDE.mdgit clone --depth 1 https://github.com/stoa-platform/stoaWrote 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/stoa-platform/stoa/claude-md)<a href="https://agentmods.dev/instructions/stoa-platform/stoa/claude-md"><img src="https://agentmods.dev/badge/instructions/stoa-platform/stoa/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/stoa-platform/stoa/claude-md"><img src="https://agentmods.dev/badge/instructions/stoa-platform/stoa/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.03379 | $0.03379 |
| Opus 5.5 | $0.01352 | $0.01352 |
| Sonnet 5.5 | $0.00676 | $0.00676 |
| Haiku 4.5 | $0.00338 | $0.00338 |
Grade B, and why
stoa CLAUDE.md scanned grade B with 2 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 8d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
Règles binaires GO/NOGO. Détail on-demand dans `.claude/docs/<rule>.md`. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- stoactl > curl/bash. Lire `.claude/context/cli-reference.md` avant de scanner src/. How it starts
The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — STOA Platform
Project
STOA Platform — "The European Agent Gateway"
- API Management AI-Native Open Source (Apache 2.0)
- Kill feature: UAC (Universal API Contract) — "Define Once, Expose Everywhere"
- Legacy-to-MCP Bridge: connect traditional APIs to AI agents
UAC / Agent Contract Doctrine
Canonical rule from ADR-067:
UAC describes.
MCP projects.
Smoke proves.
For any API operation exposed to agents:
- UAC is the primary product contract; MCP tools are projections of UAC operations.
- LLM metadata is endpoint-level, not contract-level.
- V1: missing
endpoint.llmmetadata is a warning/review note; malformed metadata is an error. - V2 target: new MCP-exposed endpoints must be LLM-ready before merge.
side_effects=destructiverequiresrequires_human_approval=true.- A feature exposed to an agent should not exist only in code; it must be attached to a UAC operation or flow contract.
Load .claude/docs/uac-llm-ready.md when touching UAC schemas, UAC examples, MCP tool generation, smoke tests for MCP projections, or API operations exposed to agents.
Architecture
CONTROL PLANE (Cloud) DATA PLANE (On-Premise)
┌────────────────────────────┐ ┌──────────────────────┐
│ Portal Console API Auth │ ←sync→ │ STOA GW webMethods │
│ (React) (React) (Py) (KC) │ │ (Rust) Kong/Envoy │
└────────────────────────────┘ └──────────────────────┘
Components
| Component | Tech | Path |
|---|---|---|
| Control Plane API | Python 3.11, FastAPI, SQLAlchemy | control-plane-api/ |
| Console UI | React 19, TypeScript, Keycloak-js | control-plane-ui/ |
| Developer Portal | React, Vite, TypeScript | portal/ |
| STOA Gateway | Rust, Tokio, axum | stoa-gateway/ |
| STOA Go (stoactl + stoa-connect) | Go 1.25, Cobra, keyring | stoa-go/ |
| CLI (legacy) | Python, Typer, Rich | cli/ |
| E2E Tests | Playwright, BDD, Gherkin | e2e/ |
| Helm Chart | Helm 3 | charts/stoa-platform/ |
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.
- 8d ago Changed · -5 lines · -31 tokens per session 6850d3392ffc
- 10d ago Changed · -15 lines · -187 tokens per session b6d449f558ff
- 2mo ago First seen · 250 lines · 3,597 tokens per session scan B 3aac1103f9bc
stoa CLAUDE.md is an instructions file published in the GitHub repository stoa-platform/stoa (9 stars, last pushed yesterday), licensed Apache-2.0. It adds 3,379 tokens to every session, about $0.0135 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
stoa CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stoa CLAUDE.mdstoa-platform/stoa | Instructions file | 9 | yesterday | Apache-2.0 | B | 3,379 | 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 | today | 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 |