IsuruMaduranga

One Code — AI skill for Claude Code

AI community

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

[![CI](https://github.com/IsuruMaduranga/one-code/actions/workflows/ci.yml/badge.svg)](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.

One Code terminal showing permission modes, a model switch, an approved edit, a side question, diagnostics, and a running subagent

[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