code-context-pro

code-context-pro is a skill for Claude Code, Codex from achatainga/mcp-code-context. It costs 88 tokens per session (2,310 once invoked), scanned A, original, MIT.

A code-analysis and refactoring tool that reads program structure, such as symbols, relationships, and database models, instead of treating every file as plain text. It supports ten programming languages and includes tools for finding affected tests and callers.

In plain words
What is it for?
Use it to understand code structure, trace call hierarchies, extract ORM schemas, assess test impact, and perform controlled refactoring.
Why use it?
It helps an agent inspect only the relevant parts of a codebase and make more targeted changes, especially in large projects.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to understand code structure, trace call hierarchies, extract ORM schemas, assess test impact, and perform controlled refactoring.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/achatainga/mcp-code-context/code-context-pro
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.

Any agent
npx skills add achatainga/mcp-code-context --skill code-context-pro
Clone the repo
git clone --depth 1 https://github.com/achatainga/mcp-code-context

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for code-context-pro

README.md
[![agentmods](https://agentmods.dev/badge/skills/achatainga/mcp-code-context/code-context-pro/github.svg)](https://agentmods.dev/skills/achatainga/mcp-code-context/code-context-pro)
Your own site
<a href="https://agentmods.dev/skills/achatainga/mcp-code-context/code-context-pro"><img src="https://agentmods.dev/badge/skills/achatainga/mcp-code-context/code-context-pro/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.

agentmods 80×15 button for code-context-pro

Your own site · 80×15
<a href="https://agentmods.dev/skills/achatainga/mcp-code-context/code-context-pro"><img src="https://agentmods.dev/badge/skills/achatainga/mcp-code-context/code-context-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,310 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00088 $0.02310
Opus 5.5 $0.00035 $0.00924
Sonnet 5.5 $0.00018 $0.00462
Haiku 4.5 $0.00009 $0.00231

Measured 28d ago against content hash 1a5207f0abcf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-context-pro 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 28d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/install.ps1, scripts/install.sh, scripts/verify-mcp.js), 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-context-pro/SKILL.md · 150 lines

How it starts

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

CodeContext Pro v7.0.1 Enterprise Polyglot — AI Brain Operating System

"Never feed a 1,000-line file into your attention window when a 15-line symbol is all you need."

CodeContext Pro transforms standard LLM agents into Lead Staff Software Architects. By replacing brute-force file reads (cat, read_file) and unindexed searches (grep, find) with deterministic Tree-sitter WebAssembly Abstract Syntax Tree (AST) operations across 10 languages, CodeContext Pro cuts token overhead by 75% to 88%, eliminates hallucinated symbol edits, and enforces atomic two-phase mutations with instant rollback.


⚡ 1. QUICKSTART: 60-SECOND UNIVERSAL SETUP

A. Claude Code / CLI (Global Setup)

Add to your Claude Code MCP configuration (~/.claude/mcp.json or claude.json):

{
  "mcpServers": {
    "code-context": {
      "command": "npx",
      "args": ["-y", "mcp-code-context@latest"]
    }
  }
}

B. Cursor, Windsurf & Antigravity (Streamable HTTP / Local Port)

Start the MCP server with the modern dual-transport Streamable HTTP engine:

npx -y mcp-code-context@latest --http --port=3000

In Cursor / Windsurf settings, register the server endpoint:

  • Transport: Streamable HTTP / SSE
  • URL: http://127.0.0.1:3000/sse

🧠 2. COGNITIVE DIRECTIVES FOR THE CONSUMING LLM

When this skill is active in your context, YOU MUST ADHERE TO THE FOLLOWING INVARIANTS:

Axiom 1: Token Budget Invariant (< 20% Budget Consumption)

  • FORBIDDEN: Never dump whole files into context exceeding 50 lines if the task only touches a specific class, method, or function.
  • MANDATORY: Use read_file_surgical(filePath, symbolName) to inspect only the target node and its signature.

Axiom 2: Zero-Guessing Architecture Map

  • Before starting any architectural refactoring, onboarding, or multi-file review, call get_semantic_repo_map(directoryPath, format: "xml").
  • This returns a compressed structural skeleton of every class, method, export, and virtual database column in the repository at ~12% the token cost of raw files.

Read the full file on GitHub · 150 lines

Files

What ships with it

6 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. 28d ago First seen · 150 lines · 88 tokens per session scan A 1a5207f0abcf

Subscribe to this mod's changes

code-context-pro is a skill published in the GitHub repository achatainga/mcp-code-context (3 stars, last pushed 28d ago), licensed MIT. It adds 88 tokens to every session and 2,310 once invoked, about $0.0004 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-11-08.

Related

code-context-pro compared with skills from other repositories

code-context-pro next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-context-proachatainga/mcp-code-contextSkill328d agoMITA88Claude Code, Codex
sync-bridgechromium/chromiumSkill26ktodayBSD-3-ClauseA109Claude Code, Codex
sync-model-processorchromium/chromiumSkill26ktodayBSD-3-ClauseA98Claude Code, Codex
adversarial-revieweremdash-cms/emdashSkill15ktodayMITA72Claude Code, Codex
gsd-ns-reviewopen-gsd/gsd-coreSkill12ktodayMITA16Claude Code
gitnexushashgraph-online/awesome-codex-pluginsSkill1.6k2d agoApache-2.0A58Codex
issuejeremylongshore/tons-of-skills-marketplaceSkill3.0ktodayMITA115Claude Code