Context Engine — AI skill for Claude Code
Drop-in token saver for Claude Code & MCP agents — auto-rewrite hooks + 10-tool MCP server + BM25/PageRank repo maps + call graphs in 7 languages + local RAG.
How to install Context Engine
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open JaimeJunr/context-engine and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Context Engine does
Drop-in token saver for Claude Code & MCP agents — auto-rewrite hooks + 10-tool MCP server + BM25/PageRank repo maps + call graphs in 7 languages + local RAG. Single Rust binary, 100% local, zero APIs.
Alternatives in AI
README
ctx — Context Engine
[](https://crates.io/crates/ctx-engine) [](https://jaimejunr.github.io/context-engine/) [](LICENSE) [](https://rustup.rs/) [](#desenvolvimento) [](https://github.com/JaimeJunr/context-engine/releases)
**Maintainers e AI agents:** leia [`CLAUDE.md`](CLAUDE.md) antes de fazer qualquer mudança.
CLI Rust que dá ao seu agente de codificação **mapas curados de repositório**, **busca semântica em docs**, **compressão de output**, **grafo de chamadas em 8 linguagens** e **integração via MCP/hooks** — tudo em um único binário 100% local.
🌐 **Site oficial:** ****
Install
**Sem Rust instalado** — um comando pega o build certo para o seu OS:
# Linux / macOS
curl --proto '=https' --tlsv1.2 -LsSf \
https://github.com/JaimeJunr/context-engine/releases/latest/download/ctx-engine-installer.sh | sh
# Windows (PowerShell)
irm https://github.com/JaimeJunr/context-engine/releases/latest/download/ctx-engine-installer.ps1 | iex
**Já tem Rust?** Use cargo:
cargo install ctx-engine
**Configura seu agente** em um comando — escreve hook PreToolUse + MCP server no `~/.claude/settings.json`:
ctx install --agent claude-code
Reabra a sessão do Claude Code e o agente passa a usar `ctx` automaticamente para compressão de comandos e consulta de grafo/repo map.
Desinstalar
ctx uninstall --agent claude-code # remove só o que o ctx instalou (preserva o resto)
Plataformas suportadas
| OS | Arquitetura |
|---|---|
| Linux | x86_64, aarch64 |
| macOS |
Related Skills
Living Codebase Cartographer
Offline codebase cartographer: language-agnostic repo maps, dependency/call graphs, blast-radius impact analys
Reporecall
Local codebase memory for Claude Code. Tree-sitter AST indexing (22 languages), hybrid keyword + vector search
Ast Grep Skill
LLM-neutral skill for AST-aware search and rewrite across 25 languages, wrapping ast-grep (sg) with offline pa
Free AI Token
AI money-saver as an Agent Skill 全球AI省钱管家技能 — free AI API tokens, free-tier LLM APIs & cheapest AI memberships
Krusch Git
Git DAG indexing, AST symbol graphs, and hybrid semantic code search MCP server for AI coding agents (Claude C
LLM Git
AI commit message generator. Conventional commits, compose mode, and history rewrite via Claude/GPT APIs.
Related Agents
Mpep Researcher
Expert in searching and interpreting USPTO MPEP, 35 USC statutes, 37 CFR regulations using hybrid RAG search (
Python RAG Backend Engineer
Production-grade Python RAG backend engineer specializing in ChromaDB vector storage, sentence-transformers em
Edge Load Saturation Validator
L1/L2 Rust load validator — back-pressure, bounded-channel saturation, many-device fan-out, runtime starvation