Claude guide CCBaga

Moving from Claude Code to an open-source harness

This route is the most thorough and the easiest to get wrong. The failure mode is always the same: pick the tool first, then work out how to move your setup into it. The order that works is the opposite one.

Updated 26 October 2026 · about 8 minutes · guide 3 of 3 in this cluster

Short answer

The real work is building the map: take what you accumulated in Claude Code, name the counterpart for each item, and then look at what has no counterpart at all. Rule files and MCP mostly travel; hooks have to be rebuilt; subagents mostly do not exist elsewhere. Build that table first and tool selection turns into an elimination exercise.

Build the map first

This table is ordered by "what you actually take with you". Read the last column carefully: some items do not get renamed on the way out, they simply stop existing.

What you have in Claude CodeIts counterpart elsewhereDoes it travel?
CLAUDE.md project conventionsAGENTS.md, CONVENTIONS.md, .clinerules-style rule filesYes, after rewriting the format
MCP server configurationMost mainstream harnesses speak MCP alreadyYes, usually as-is
File and shell tool setEvery harness ships built-in toolsYes, with behavioural differences
Custom / slash commandsMost support custom commands or script entry pointsYes, one by one
Plan mode / read-only planningSome products have an equivalentPartly
Hooks (run before or after tool calls)No equivalent mechanism; rebuild with git hooks or wrapper scriptsYou build it yourself
Subagents (parallel, isolated context)Mostly nothing; people simulate it by opening several instancesMostly lost
Tuning against a specific modelDoes not existLost by definition
A note on named tools. The harnesses mentioned above (Aider, Cline, Roo Code, OpenCode, Crush, Goose, OpenHands, Codex CLI, Gemini CLI and others) are independent projects with different features and configuration, and they change quickly. This table describes conceptual correspondence, not a feature guarantee — check each project's current documentation before committing.

The seven-step migration

  1. Take inventory. Walk ~/.claude and every project's .claude directory and list what you actually use: which commands, which hooks, which rule files. Most people find that only a handful of them matter.
  2. Sort. Put each item into one of the three columns above: travels directly, needs rewriting, has no counterpart. The third column determines the real cost of this migration.
  3. Choose. Use columns two and three as the filter, not benchmark scores. You are not looking for the strongest harness; you are looking for the one that makes you lose the least.
  4. Move the rule files. Rewrite CLAUDE.md into the target format. This pays off immediately because it is the main source of context quality.
  5. Rebuild the hooks. Use git hooks (a pre-commit formatter, for instance) or wrapper scripts. Do not try to reach parity in one sitting — rebuild the one that hurts most and stop.
  6. Run one real task. Take a task you did last week and do it again on both sides. Compare steps taken, manual interventions, and whether rework was needed. That is more reliable than any impression.
  7. Keep a way back. Do not delete the old environment. Back up configuration, credentials and rule files, and keep both setups alive for at least two weeks.

What you will certainly lose

This section gets its own heading because it is the most consistently under-estimated, and it is what turns into "I wish I had known" two weeks later.

If you read those four and think "I do not actually use any of that", your pain is somewhere else — most likely model quality or cost. In that case changing only the model is enough, and no migration is needed.

Choosing by situation

No ranking, only filtering logic. The three common situations weight the criteria completely differently:

Your situationWeight this mostYou can compromise on
Solo coding, care about feelTool-call stability, session recoveryTeam features, audit logs
Team work, care about rulesRule files, hook enforcement, auditabilityFancy interaction
Batch and automationHeadless mode, concurrency, scriptabilityInteractive experience

Running both in parallel

The least stressful migration is not a switch, it is a division of labour. Give it two to four weeks with both setups alive:

The point of the pace is that, whatever happens, you never risked a capacity cliff on a live project. And "it did not fit, I rolled back" is a legitimate result — migration is not a position to defend.

What this page is not. It is not a recommendation of any specific project, and it is not a way to keep using a service whose terms exclude you. It describes how to move your own workflow between tools you are entitled to run, and it assumes you keep each tool's licence and terms.
What is the biggest cost of migrating?

Not installation. It is rebuilding the conventions and workflows that grew on Claude Code. Rule files carry over after a format rewrite, hooks must be rebuilt with git hooks or wrapper scripts, and subagents mostly have no equivalent. Cost rises roughly linearly with how deeply you used the original.

What carries over completely?

Rule files and MCP connections are the most portable layer, because most mainstream harnesses support an equivalent concept. The first needs reformatting; the second usually reuses the same configuration unchanged.

Do I have to switch all at once?

No, and it is better not to. Split by task type, let the new harness take low-risk work first, and use two to four weeks of parallel running to build confidence before widening the share.