
TokenForge
Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory via SQLite + FTS5, and enforces routing acro…
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
Install and set up TokenForge (release-binary project) into my current project. Found on https://claudeers.com/tokenforge Repo: https://github.com/speedydivid/TokenForge Homepage/docs: — Detected install method: release-binary → inspect the README Category: plugins. Platforms: cli. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: active; community-verified: false. Confirm the source before running anything.
Grab the latest release asset from GitHub.
# download a build from https://github.com/speedydivid/TokenForge/releases
git clone https://github.com/speedydivid/TokenForge
// compatibility
| Platforms | cli |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | — |
| Pricing | open-source |
| Language | JavaScript |
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.
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 FTS5 search.
- Routes supported interactions through a consistent optimization layer.
🎯 Why TokenForge?
- Less context wasted on repetitive tool output.
- Lower token consumption in supported workflows.
- Persistent knowledge across coding sessions.
- A unified approach to AI agent integrations.
- A more focused development experience.
🔍 Project Keywords
ai-agents token-optimization context-engineering
mcp sqlite fts5 claude-code gemini-cli
codex-cli opencode github-copilot developer-tools
TokenForge — Keep the context. Cut the noise.
// faq
What is TokenForge?
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.. It is open-source on GitHub.
Is TokenForge free to use?
TokenForge is open-source, so it is free to use.
What category does TokenForge belong to?
TokenForge is listed under plugins in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/tokenforge)
// retro hit counter
[](https://claudeers.com/tokenforge)
// reviews
// guestbook
// related in Claude Plugins
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explainin…
"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/
financial-services — a Claude ecosystem project on GitHub.