Borrowing it
Nothing to install: this file belongs to mightbesaad/sovereignty-scan-mcp. 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/mightbesaad/sovereignty-scan-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/mightbesaad/sovereignty-scan-mcpWrote 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/mightbesaad/sovereignty-scan-mcp/claude-md)<a href="https://agentmods.dev/instructions/mightbesaad/sovereignty-scan-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/mightbesaad/sovereignty-scan-mcp/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/mightbesaad/sovereignty-scan-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/mightbesaad/sovereignty-scan-mcp/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.03510 | $0.03510 |
| Opus 5 | $0.01755 | $0.01755 |
| Sonnet 5 | $0.00702 | $0.00702 |
| Haiku 4.5 | $0.00351 | $0.00351 |
Grade A, and why
sovereignty-scan-mcp 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 11d 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 — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — @kajaril/sovereignty-scan-mcp
This file is the constitution for Claude Code working in this repo. Read it before any non-trivial change.
This is a template. Copy to the repo root as
CLAUDE.mdat milestone M1. Update the "Repo state" section as the build progresses. Everything above that section is locked and should not be edited without a corresponding decision update inkajaril-decisions-addendum-wk0.mdor this plan.
What kajaril is
A one-person studio out of Cairo. Tools, agents, and platforms — built quietly, finished properly. This repo is the first published MCP product: a vendor sovereignty scanner for EU AI Act compliance.
The product is an artifact in a credential layer. Code shipped here will be read by DPO buyers, regulators, and audit agents. Every decision in this codebase is on the record.
Required reading before structural changes
Three documents are canonical. Read them, in order, before any change that touches architecture, the data model, the seed, or any locked decision:
kajaril-source-of-truth.md— strategy, wedge, stack, roadmapkajaril-decisions-addendum-wk0.md— entity-level locked decisions #11–#18 (overrides §2.2 and §4.2 of the source-of-truth)sovereignty-scan-mcp-plan.md— Week 1 build plan + locked decisions #1–#7 specific to this MCP
These files live in the kajaril Entity folder, not in this repo. The build plan is the spec. Deviating from any locked decision (#1–#7 in the build plan, #11–#18 in the addendum) requires stopping, asking, and recording the new decision in writing before code changes.
Locked decisions for this repo
These are not negotiable. If implementation reveals a reason one should change, stop and ask — do not adapt the code to a different decision silently.
- Database split — Free-tier worker binds only to
sovereignty_db_free. Never adds a binding tosovereignty_db_paidfor any reason. scan_stackcap — Hard limit of 50 providers per call. ReturnsINPUT_TOO_LARGEover.suggest_eu_alternativesalgorithm — Deterministic. The four-step logic in the build plan §Decisions is the spec; do not introduce ranking heuristics.- Error envelope — Every failure path returns
{error: {code, message, retryable, details}}. Codes are locked at v0.1.0; do not add new codes without updatingtypes.tsfirst and bumping the contract. - KV cache key strategy — Per-provider keys (
provider:{id},category:{name}:ids,all:provider_ids,meta:last_refresh). Do not switch to a snapshot-blob pattern. - Provider data updates —
seed.tsis the source of truth. D1 is derived. All updates are commits toseed.ts, reviewed via PR, then idempotent reseed (INSERT ... ON CONFLICT DO UPDATE). Writing SQLUPDATEdirectly against live D1 is prohibited — it leaves no audit trail. - License + metadata — MIT.
package.jsonauthor, repository, homepage, bugs are locked.LICENSEfile at repo root.
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.
- 11d ago First seen · 201 lines · 3,510 tokens per session scan A a00361d7970f
sovereignty-scan-mcp CLAUDE.md is an instructions file published in the GitHub repository mightbesaad/sovereignty-scan-mcp (1 stars, last pushed 2d ago), licensed MIT. It adds 3,510 tokens to every session, about $0.0175 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-31.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).