# context-engine

> context-engine — jaimejunr-context-engine. Use this tool when you need to enhance AI agent functionality with automated token saving and rewriting capabilities. It solves problems related to code management and optimization, providing a local solution with zero API dependencies. The context-engine tool takes in code repositories as input and outputs optimized code with auto-rewritten hooks, call graphs, and repository maps.

Canonical page: https://skillsregistry.net/skills/jaimejunr-context-engine  
JSON: https://api.skillsregistry.net/v1/skills/jaimejunr-context-engine

## Description

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.

## Trust

- **Trust score (0–1):** 0.00
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Category:** maps-location
- **Updated:** 2026-09-21

## Source

- **Source listing:** [GitHub](https://github.com/JaimeJunr/context-engine)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "jaimejunr-context-engine"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/jaimejunr-context-engine` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/jaimejunr-context-engine/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
