ContextMesh — Development skill for Claude Code
Intelligent context layer for Claude Code — infinite session memory, minimal active context.
How to install ContextMesh
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open gajanansr/ContextMesh and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What ContextMesh does
Intelligent context layer for Claude Code — infinite session memory, minimal active context.
Alternatives in Development
README
ContextMesh — Intelligent Context Layer for Claude Code
One coding session. Infinite memory. 90% fewer tokens.
ContextMesh is a **pure transparent proxy + memory engine** that sits between Claude Code and the Anthropic API. It automatically compresses token waste, maintains a persistent knowledge graph of your work, and injects Aider-style codebase repomaps — all without changing how you use Claude.
**No MCP. No wrappers. Just run `contextmesh init` once globally. Then use `claude` normally forever.**
How it works (Pure Proxy Architecture)
Everything happens automatically in the proxy. Claude doesn't need to learn any new tools or call any MCP endpoints.
Your Terminal (just run `claude`)
│
▼
┌──────────────────────────────────────────┐
│ ContextMesh Smart Proxy │ ← Intercepts every request globally
│ ┌─────────────────────────────────┐ │
│ │ Aider-Style RepoMap Injector │ │ ← Injects AST map into system prompt
│ │ Session Resumption Injector │ │ ← Injects last session memory
│ │ RTK Output Compressor │ │ ← Crushes terminal noise
│ │ Anti-Context Auto-Flusher │ │ ← Removes old resolved turns
│ └─────────────────────────────────┘ │
│ ↓ Stats Writer ↓ │
└─────────────┼──────────────┼─────────────┘
│ │
To Anthropic API To Local SQLite (for dashboard & stats)
Features
| Feature | What it does | Savings |
|---|---|---|
| RTK Output Compressor | Intercepts massive grep, npm test, cat outputs and crushes the middle noise |
Up to 90% on tool outputs |
| AST Repo-Map Injector | Parses your entire codebase with Tree-sitter and silently injects a dense structural map into Claude's system prompt on Turn 1 | 95% on code reads |
| Anti-Context Auto-Flusher | Silently drops old resolved tool calls from history when context bloats past 150k chars | 30–60% on long sessions |
| **Session R |
Related Skills
Memory Orchestrator
🧠 Five-layer memory system for OpenClaw agents — persistent, cross-session, cross-platform context that never
Aisquare CLI
Portable memory layer for coding agents — persistent user & project context across sessions, installed into Cl
Resume Work
Resume the current work session by loading active context from localdocs/.
Recallnest
One memory, every terminal. Shared memory layer for any MCP client — Claude Code, Codex, Kimi, Antigravity (ag
Mnemo
Persistent memory layer for Claude Code and Codex — your Obsidian vault on autopilot. Seven skills: recall, sa
Eywa Continuum
Cross-session memory for Claude Code — MCP server for context handoffs
Related Agents
Neo Shadow
Memory keeper. MUST BE USED to save session context into the second brain (.neo/brain/) — at task boundaries,
Brain Mode
Personal knowledge brain. Loads vault context, captures learnings, guides first-time setup. Use for any Claude
Auth Context
Stores and validates authenticated test-account context for the active web-vuln tier. Takes operator-pasted se