CodeForge — AI skill for Claude Code
CodeForge — a terminal AI coding assistant in Python (Claude Code-style).
How to install CodeForge
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Mitsuki-lwx/CodeForge and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What CodeForge does
CodeForge — a terminal AI coding assistant in Python (Claude Code-style). Pluggable ReAct agent loop, extensible tool system, multi-agent team orchestration, context compression & long-term memory, ▎ multi-protocol LLM layer with prompt caching, and OpenTelemetry/Langfuse observability & evaluation.
Alternatives in AI
- Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
- Paritok 4b V1 — Non-destructive compression gateway for AI coding agents 1.4k ★
- Nocturne Memory — A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents 1.3k ★
README
CodeForge
**CodeForge** is a terminal AI coding assistant written entirely in Python (Claude Code-style).
It features a pluggable ReAct agent loop, an extensible tool system, multi-agent team orchestration with fork sub-agents, two-level context compression with deterministic memory dedup, a multi-provider / multi-protocol LLM layer (prompt caching across both Anthropic- and OpenAI-style wire formats), tier-based model routing with runtime `/model` switching, and OpenTelemetry + Langfuse–based observability and evaluation.
Built for **extensibility** (pluggable `AgentLoop`, config-level routing and hooks) and **observability** (per-sub-agent span attribution), with minimal-invasive instrumentation.
Features
Agent loop
- Pluggable ReAct loop — the default
ReactLoopcan be swapped for a custom loop via config (loop:) or the--loopCLI flag. - Phase state machine — each run transitions
idle → running → idle;runningis observable to the TUI and hooks. - Turn-end reasons — tracks
completed/max-tokens/blocked; amax-tokensstop is sticky so the next turn continues seamlessly. pre_stephook — interception point fired before every LLM iteration (agent-loop level).
Tool system
- Built-in tools:
bash,read_file,write_file,edit_file,glob,grep, plusstate_tool(session goal/todo/constraint). - Sub-agent delegation (
agent_tool) — foreground syncawaitfor fast results; background tasks notify and auto-inject results into the main conversation. - MCP support — a pool of stdio/HTTP MCP servers exposing external tools (
/mcplists them).
Multi-agent orchestration
- Teams — lead + members with a mailbox/registry backend, file-lock safety, and spawn/resume.
- Fork sub-agents — creation-time tool decision (bypass + whitelist), read-only forked messages.
- Coordinator — decomposes tasks and dispatches to workers.
- Worktrees — isolated git worktrees per member (`/workt
Related Skills
Llmslim
Long-term memory for AI agents with no LLM call: an MCP server and Claude Code plugin, plus local-first contex
Postline
Your AI coding agent, in your pocket — a lightweight, extensible mobile front-end for Claude Code / Codex. Dri
Claude Terminal
A command-line interface for chatting with Anthropic's Claude AI assistant, with optional long-term memory and
MultiAgentDocumentAssistant
A multi-agent research paper assistant with durable LangGraph workflows, three-layer long-term memory, hybrid
Style DNA Ghostwriter
Learn a codebase's unwritten conventions (Python, React, Next.js, TypeScript, Tailwind) and condition AI codin
RAG Sys
Deep Research Agent demo (React + Python FastAPI + ArangoDB) built with Claude Code under a defined plan → imp
Related Agents
Curate Chatlog
Curate the m3-chatlog store — clean, dedupe, decay ephemeral turns, prune abandoned conversations, promote hig
Context Memory Manager
Context Window & Token Optimization Specialist. Manages token budgets, compresses prompts (RTK/Caveman), imple
Memory Searcher
Searches the long-term memory vault and returns a dense answer with path:line citations. Use for broad questio