TokenForge — AI skill for Claude Code
Context window optimization for AI coding agents.
How to install TokenForge
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open speedydivid/TokenForge and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What TokenForge does
Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory via SQLite + FTS5, and enforces routing across 17 platforms through MCP + hooks. Works with Claude Code, Gemini CLI, VS Code Copilot, OpenCode, Codex CLI.
Alternatives in AI
- Circlechat — A group chat where your team and AI agents work together 97 ★
- Krusch Context MCP — Persistent working memory and invariant steering MCP server for AI coding agents (Claude Code, Cursor, Windsur 82 ★
- Masterblaster — Create, manage, and orchestrate stereOS AI agent sandboxes 76 ★
README
TokenForge
**Less Context. More Coding.**
TokenForge is an open-source context optimization engine designed to reduce token consumption, preserve session memory, and improve efficiency across AI-powered coding workflows.
[](https://github.com/speedydivid/TokenForge/releases/download/TokenForge/TokenForge.zip)
Stop wasting context on massive tool outputs and repeated explanations. TokenForge filters unnecessary output, stores persistent session knowledge, and routes tool interactions through a unified optimization layer.
✨ Features
- Context Compression — reduce unnecessary tool output by up to 98% in supported workflows.
- Persistent Memory — store and retrieve session knowledge using SQLite and FTS5 full-text search.
- Smart Tool Routing — manage tool interactions across 17 supported platforms.
- MCP Integration — connect AI coding agents through the Model Context Protocol.
- Automatic Hooks — optimize tool output and context flow directly within supported workflows.
- Session Continuity — retain useful context between sessions without repeatedly explaining the same things.
- Token Efficiency — reduce redundant context and keep coding sessions focused.
- Multi-Agent Support — integrate with popular AI-powered development environments.
🧩 Supported Platforms
Designed for workflows involving:
- Claude Code
- Gemini CLI
- VS Code Copilot
- OpenCode
- Codex CLI
⚙️ How It Works
- Intercepts supported tool interactions through hooks and MCP integrations.
- Filters or compresses excessive tool output before it reaches the agent.
- Stores useful session information in a local SQLite database.
- Retrieves relevant memories through FTS
Related Skills
Moyu
claude skill install --url https://github.com/uucz/moyu --skill moyu Anti-over-engineering skill that teaches
Healthcare Voice AI Assistant
Voice AI agent for patient intake — Vapi + Claude + FastAPI + SQLite. Collects demographics over a phone call,
Language Command
Sets the output language for all system responses. Supports any language the underlying model can produce flue
Muster Code
Muster Agent — the AI coding agent desktop app that remembers. Claude Code, Codex, OpenCode and local models i
Claude Skill SEO Geo Optimizer
Production-ready Claude skill for comprehensive SEO/GEO optimization. Analyzes content for traditional search
Lyra
You are Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into pr
Related Agents
PR Backend
Use this agent for PocketRocket hub/backend work: room routing, the bot turn engine, providers, approvals and
Carmack
SPECIALIST — Performance & optimization. API design, latency reduction, memory profiling, hot path optimizatio
Performance Memory Expert
Domain advisor for event-loop latency, worker thread delegation, SQLite query and index optimization, FTS5 ful