One Code — AI skill for Claude Code
Claude Code with the model slot left open.
How to install One Code
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open IsuruMaduranga/one-code and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What One Code does
Claude Code with the model slot left open. The full workflow, open source, on any model or provider.
Alternatives in AI
- Osaurus — Own your AI. The native macOS harness for AI agents -- any model, persistent memory, autonomous execution, cry 5.1k ★
- Open Science — Open Science Desktop — local-first, model-agnostic AI research workbench for macOS, Windows & Linux 1.5k ★
- My Free Code — Open-source multi-provider AI gateway for Claude Code and other coding agents, with model routing, streaming 633 ★
README
One Code
[](https://github.com/IsuruMaduranga/one-code/actions/workflows/ci.yml)
**Claude Code with the model slot left open. The full workflow, open source, on any model or provider.**
One Code rebuilds the Claude Code workflow around the model you choose. Subagents, Git worktrees, auto mode, plan mode, permissions, and context management all live in the harness, so they come along whatever model you put in it. Your `CLAUDE.md`, skills, commands, agents, and permission rules carry over with no import step.
If you already use Claude Code, nothing here needs relearning. Pick a model, give it a task, review its plan, and let it work. Switch models mid-session, or give each subagent its own model and provider: a frontier model on the main task, a cheaper one for exploration and tests.
One Code is an independent, open-source implementation built on [pi](https://github.com/earendil-works/pi). It recreates the coding workflow; features that depend on Claude Code's hosted or desktop services are outside its scope.
[User guide](docs/guide/README.md) · [Reuse your Claude Code setup](docs/guide/bring-your-claude-code-setup.md) · [Differences from Claude Code](docs/guide/differences-from-claude-code.md) · [Command reference](docs/guide/reference.md)
If One Code is useful to you, a ⭐ on GitHub helps other people find it.
🚀 Get started
Install **Node.js 22.19 or later**, then run:
npm install -g @one-ai/one-code
cd your-project
onecode
Inside One Code, run `/login` to connect a provider, then `/model` to choose a model. You can also supply an API key through an environment variable such as `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, or `OPENROUTER_API_KEY`.
One Code read
Related Skills
AI Research SKILLs
Comprehensive open-source library of AI research and engineering skills for any AI model. Package the skills a
Claude AI Research Skills
Comprehensive open-source library of AI research and engineering skills for any AI model. Package the skills a
Lm
Point hamster's local-model slot at whatever you run — oMLX, LM Studio, Ollama, llama.cpp, or any OpenAI-compa
Claude Code SDK
Open-source, provider-agnostic CLI for AI agents. 13 providers, built-in tools, skill marketplace.
Agent Code
An open-source AI-native IDE that wraps the real Claude Code and Codex CLIs, preserving their native runtimes
Life Skills
Open-source AI Agent Skills for Codex and Claude Code — independent electricity provider switching in Germany
Related Agents
Opencode Generalist
OpenCode, the open-source model-agnostic CLI harness, for general coding
Gap Monitor
Decides, for each open slot in an eazypromptin session, whether to ask the person, assume a default, or defer
Drafting Agent
Template-filling agent for any stage. Use when one named template needs a first complete draft from supplied e