# Fix What Broke After Switching AI Agents

> Switched between Claude Code, Cursor, Codex or Gemini CLI and something no longer works? See a diff for every fix, apply only the ones you approve, to a copy first, then verify. Never relaxes permissions or runs hooks.

Fix What Broke After Switching AI Agents is a paid AI agent skill on Agensi by AGI Tools, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19.99 (one-time purchase)
- Creator: [AGI Tools](https://www.agensi.io/creators/agi-tools)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/fix-what-broke-after-switching-ai-agents
- Tags: ai-agents, testing, security, python, claude-code, cursor, mcp-server, migration

## About this skill

Converters copy agent configuration between formats, and some of what they write does not work in the new agent: an instruction file still says `@docs/style.md`, which the new agent does not load; a skill points at its old folder; a credential was copied in clear into the new configuration. This skill finds those problems by comparing the source and the converted project, proposes the fixes that are mechanical, shows each one as a diff, and applies only what you approve.

**1. Plan (reads only).** `plan` writes a repair plan in which every item has an id, a class and its basis: **automatic** (a mechanical fix: copy imported instruction text, point skill paths at their new folder, replace a credential copied in clear with an environment reference in the destination's documented syntax, copy a missing skill or command where the destination reads them), **unverifiable** (the skill cannot confirm what the destination does), **manual** (needs you: adding an MCP server or permission rules, a credential, a user folder) or **unsupported** (the destination cannot represent it). Credentials are masked in every diff.

**2. Apply what you approve.** `apply --approve R01,R03` repairs a copy of the destination first. In place, it keeps a backup and a journal, refuses to touch the original workspace, checks that no file changed since the plan, verifies the result and rolls back automatically if anything got worse. `rollback` undoes an in-place run.

**Supported scenarios:** project-level files after a conversion between any two of Claude Code, Cursor, Codex, Gemini CLI, OpenCode, Grok CLI, Hermes and OpenClaw, in either direction. The real-converter check below covers Claude Code to six of them. It repairs; it does not convert, and it does not write to an agent's user folder: files for those are prepared for you to place.

**Checked on a real converter.** Six destinations written by an open-source sync tool from an invented project: Cursor and OpenCode went from NOT COMPLETE to NOTHING MISSING, NOT FULLY VERIFIED; Codex, Grok CLI, Hermes and OpenClaw stayed NOT COMPLETE, each with the reason. Results and limits are in `reference/real-converter-check.md`.

**What it never does.** It never relaxes a permission, adds an MCP server or other access, rewrites or runs a hook, runs a skill, script, command or scheduled task, prints or moves a credential, writes into the original workspace, or opens a network connection. Python 3.11+, standard library only.

**Honest limits.** No result is proof of a complete migration: it concerns files, not how the new agent behaves. Where a destination's format is not documented in our sources, nothing is invented: the item is reported. Verified on Linux; Windows and macOS are not verified.

Not affiliated with, endorsed by or sponsored by the makers of any agent named. Built by AGI Tools.

## Requires

- Python 3.11+

## Known limitations

- It repairs; it does not convert. Run a converter or the agents' own import commands first.
- Compatibility data comes from documentation and one converter's output, not from running the agents.
- Permissions, hooks and MCP servers are reported, never changed; rule scopes are not recreated where the destination has no scoped rules.
- It does not write to an agent's user folder; files for those are prepared for you to place.
- Hermes configuration (config.yaml) is not parsed.
- Verified on Linux with Python 3.11, 3.12 and 3.13. Windows and macOS are not verified.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Fix What Broke After Switching AI Agents skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does it convert my configuration?

No. Use a converter or the agents' own import commands; this skill repairs what they leave behind.

### Can it break my project?

It writes only the items you approve, into a copy by default. In place it keeps backups, checks that each file is unchanged since the plan, verifies afterwards and rolls back if the result is worse.

### Does it need my API keys?

No. It never reads a credential into a report; when it replaces one with a reference, you set the variable.

### Will it change my permission rules or hooks?

No. Permissions, hooks, MCP servers and other access are reported for you to decide, never changed.

### Is a clean result a guarantee?

No. Items that cannot be compared are counted and listed, and nothing here tests how the new agent behaves.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
