claude-code-rev
Runnable ClaudeCode source code
Claude Code Rev is a reconstructed and runnable version of the Claude Code source tree, restored primarily from source maps with missing modules backfilled through compatibility shims. The project enables developers to run a local Claude Code development environment with Bun, featuring multi-provider support for GitHub Models and GitHub Copilot inference endpoints. Developers can switch between providers and models interactively, making it useful for testing AI agent workflows with different LLM backends including Claude Sonnet, Opus, and Haiku models hosted on GitHub Copilot.
Key Features
Use Cases
- 01Running a local Claude Code development environment for testing AI agent workflows
- 02Experimenting with different LLM providers (GitHub Models vs GitHub Copilot) in Claude Code runtime
- 03Testing Claude-based agent tool loops with various model versions (Sonnet, Opus, Haiku)
- 04Developing and debugging AI agent skills with a restored Claude Code source tree
- 05Switching between inference providers interactively without restarting the CLI
- 06Using GitHub Copilot account-backed Claude models for agent development work
Related Plugins
View moreandrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
claude-code-rev — FAQ
What is claude-code-rev?+
Claude-code-rev is a restored and runnable version of the Claude Code source tree, reconstructed from source maps with compatibility shims for missing modules. It provides a local development environment for running Claude Code with multi-provider AI inference support.
How do I install and run claude-code-rev?+
Clone the repository, ensure you have Bun 1.3.5+ and Node.js 24+ installed, run 'bun install' to install dependencies, then use 'bun run dev' to start the CLI. For GitHub provider support, authenticate with 'gh auth login' first or set GH_TOKEN/GITHUB_TOKEN environment variables.
Which AI clients does this work with?+
This is a standalone restored Claude Code runtime that runs via Bun CLI. It connects to GitHub Models or GitHub Copilot as inference providers rather than integrating with other AI client applications.
Do I need API keys or GitHub authentication?+
Yes, you need GitHub authentication to use the supported providers. Authenticate via GitHub CLI ('gh auth login'), or set GH_TOKEN or GITHUB_TOKEN environment variables for GitHub Models and GitHub Copilot access.
Is claude-code-rev free to use?+
The source code itself is freely available on GitHub. However, using GitHub Models or GitHub Copilot inference endpoints may require appropriate GitHub subscriptions or credits depending on the models you choose.
Which Claude models are supported?+
When using the github-copilot provider, validated models include claude-sonnet-4.6, claude-opus-4.6, claude-haiku-4.5, claude-sonnet-4.5, claude-opus-4.5, and claude-sonnet-4. GitHub Models provider supports OpenAI-compatible models like gpt-4.1.
How do I install claude-code-rev?+
Open the source repository on GitHub and follow its README. claude-code-rev is a plugin — MCP Agents Market links you directly to the official repo.
Is claude-code-rev free?+
claude-code-rev is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.