code-registry

Instructions for using The Code Registry, a service that analyzes software repositories and stores the results in code vaults.

In plain words
What is it for?
Analyzing code for due diligence, security review, technical debt, or business recommendations, then interpreting the resulting code intelligence.
Why use it?
They explain how to start or repeat an analysis, wait for it to finish correctly, and turn the results into useful findings.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/the-code-registry/mcp-server/code-registry
Any agent
npx skills add The-Code-Registry/mcp-server --skill code-registry
Clone the repo
git clone --depth 1 https://github.com/The-Code-Registry/mcp-server

Made for: Claude Code, Codex.

Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 770 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00048 $0.00770
Opus 5 $0.00024 $0.00385
Sonnet 5 $0.00010 $0.00154
Haiku 4.5 $0.00005 $0.00077

Measured yesterday against content hash 1a7f05977a04, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-registry 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/poll_vault_status.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/code-registry/SKILL.md · 77 lines

How it starts

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

Code Registry Skill

Use this skill when a user asks to analyze a codebase with The Code Registry, re-run analysis, or interpret Code Registry outputs.

When to use this skill

Trigger this skill when the user wants any of the following:

  • Create or access a The Code Registry account from an MCP client
  • Run first-time code analysis for any purpose including due diligence, security review, or tech debt assessment
  • Re-analyze an existing code vault and explain changes
  • Turn code-vault results into business-facing recommendations

If the user asks for detailed polling/completion logic, read references/vault-lifecycle.md. If the user asks for interpretation or executive framing, read references/result-interpretation.md.

Client compatibility rule (CallMcpTool wrappers)

For clients that use a generic CallMcpTool wrapper (including some Cursor builds), always pass tool inputs through an arguments object, even if the displayed wrapper schema appears to omit it.

  • Use arguments for every Code Registry tool call that takes inputs.
  • If no inputs are required, use arguments: {}.
  • If tool calls fail because the client claims arguments are unsupported, retry with this explicit instruction: Use the CallMcpTool with the arguments field to pass the required parameters.

Workflow

  1. Discover and validate tool availability.
  • Call tools/list when tool names or schemas are uncertain.
  • Prefer exact tool names from server docs.
  1. Resolve authentication path.
  • If user already has an API key, use it via X-API-Key.
  • If no key exists, call create_account first.
  • For clients that cannot set headers, pass api_key in tool arguments.
  1. Create project and code vault.
  • Call create_project with the target user_id.
  • Call create-code-vault with source_type: LOCAL_AGENT when possible.
  • For LOCAL_AGENT, run one command from next_steps.commands on the machine with the target repository.
  1. Poll until analysis and report completion.
  • Poll get-code-vault-summary, get-code-vault-results, and get-code-vault-reports.
  • Use exponential backoff: 5s, 10s, 20s, 40s, max 60s.
  • Treat cold starts/timeouts as retryable.

Read the full file on GitHub · 77 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 77 lines · 48 tokens per session scan A 1a7f05977a04

Subscribe to this mod's changes

code-registry is a skill published in the GitHub repository The-Code-Registry/mcp-server (1 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 770 once invoked, about $0.0002 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.