Repocontext — AI skill for Claude Code
Next-gen AST codebase map, token compression, and context packaging engine for AI coding agents & IDEs.
How to install Repocontext
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ILoveMyJay/repocontext and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Repocontext does
Next-gen AST codebase map, token compression, and context packaging engine for AI coding agents & IDEs.
Alternatives in AI
- Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
- Paritok 4b V1 — Non-destructive compression gateway for AI coding agents 1.4k ★
- Empryo — Empryo issue tracker + SoulForge (v2) 1.1k ★
README
⚡ RepoContext
[](https://github.com/ILoveMyJay/repocontext/actions) [](https://glama.ai/mcp/servers/ILoveMyJay/repocontext) [](https://www.npmjs.com/package/repocontext) [](https://opensource.org/licenses/MIT) [](https://modelcontextprotocol.io) [](https://www.typescriptlang.org/)
**The Next-Generation AST Codebase Map, Token Compression, and Context Packaging Engine for AI Coding Agents and IDEs.**
[English](./README.md) | [中文说明](./README_zh.md)
🌟 Why RepoContext?
When feeding codebases into modern AI coding assistants (**Claude Code**, **Cursor**, **Windsurf**, **OpenAI Codex**, **Antigravity**, **Cline**), developers face three critical bottlenecks:
- 💥 Token Explosion & High API Costs: Raw code dumps quickly exceed context limits or cost tens of dollars per query.
- 📉 Low Signal-to-Noise Ratio: 80% of lines are routine implementation details. LLMs only need the semantic API surface (signatures, types, interfaces, docstrings).
- 🔓 Security Leaks: Accidental exposure of
.envcredentials, API keys, and database URIs in prompts.
**RepoContext** solves all three with intelligent AST outline pruning, task-focused semantic file ranking, automated credential redaction, and native **Model Context Protocol (MCP)** integration.
🚀 Key Features
- ⚡ AST Codebase Map & Skeletonizer: Compresses source files by 70%~85% while retaining 100% of interfaces, types, functions, and JSDoc/docstrings.
- 🎯 Task-Oriented Relevance Pruning: Pass your promp
Related Skills
Claude Codex Cursor Token Saver
AI Coding Token Saver for Windows — optimize prompts and repository context before sending it to Claude, Codex
.Git Z2ey1tgs8e
AI Coding Token Saver for Windows — optimize prompts and repository context before sending it to Claude, Codex
SynapseCode
Ultra-fast Code Graph & AST Pruning MCP Server for LLMs. Reduces context token consumption by 75%-90% in Claud
CodeContext OS
Task-aware code intelligence for Claude Code and AI coding agents — combining AST structure, hybrid BM25 + FAI
Reporecall
Local codebase memory for Claude Code. Tree-sitter AST indexing (22 languages), hybrid keyword + vector search
Kompact
LLM context compression proxy — 40-70% token savings, zero code changes
Related Agents
Aps Conductor
Coordinate APS execution through CLI-backed next-work selection, context packaging, dependency checks, validat
Hatch3r Context Rules
Context-aware rules engine that applies coding standards based on file type, location, and project conventions
Core Developer
Core development protocol for the EITR engine containing 4 explicit workflows and constraints for modifying AS