Skip to content

feat(agent): add crab agent sync for cross-agent config migration#55

Merged
MrFlounder merged 1 commit intomainfrom
feat/agent-agnostic-codex-support
Mar 11, 2026
Merged

feat(agent): add crab agent sync for cross-agent config migration#55
MrFlounder merged 1 commit intomainfrom
feat/agent-agnostic-codex-support

Conversation

@MrFlounder
Copy link
Contributor

@MrFlounder MrFlounder commented Mar 11, 2026

Summary

  • crab agent status — audit what MCP servers and agents/skills exist on Claude vs Codex side
  • crab agent sync mcp — mechanically translate MCP server configs between Claude's JSON and Codex's TOML (uses codex mcp add for reliable config writing)
  • crab agent sync agents — LLM-assisted rewrite of Claude agents → Codex skills (and vice versa)
  • Dry-run by default, --apply to write changes, --from claude|codex for direction

Builds on the agent-agnostic foundation from #52.

Test plan

  • crab agent status — correctly shows Linear MCP in Claude, agents list, gaps
  • crab agent sync mcp --from claude --apply — synced Linear to Codex, verified with codex mcp list
  • crab agent status after sync — shows MCP "✓ In sync"
  • make test-unit — all 36 existing tests pass (no regressions)

🤖 Generated with Claude Code

New command to sync user-level configurations between Claude Code and
Codex CLI:

- `crab agent status` — audit MCP servers and agents/skills on each side
- `crab agent sync mcp` — translate MCP server configs (JSON↔TOML)
- `crab agent sync agents` — LLM-assisted rewrite of agents↔skills
- `crab agent sync all` — sync everything

Supports --from claude|codex direction and --apply flag (dry-run by
default). MCP sync uses `codex mcp add` for reliable config writing.
Agent/skill rewrite uses whichever LLM CLI is available.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MrFlounder MrFlounder force-pushed the feat/agent-agnostic-codex-support branch from fb19065 to 1e12db8 Compare March 11, 2026 19:44
@MrFlounder MrFlounder changed the title feat: agent-agnostic support (codex + claude) with sync command feat(agent): add crab agent sync for cross-agent config migration Mar 11, 2026
@MrFlounder MrFlounder merged commit 7f9df47 into main Mar 11, 2026
5 checks passed
@MrFlounder MrFlounder deleted the feat/agent-agnostic-codex-support branch March 11, 2026 19:45
MrFlounder added a commit that referenced this pull request Mar 11, 2026
## Summary

Bump version `0.12.0` → `0.13.0`.

Features since 0.12.0:
- Agent-agnostic support — Claude Code + Codex CLI (#52)
- `crab agent sync` for cross-agent config migration (#55)
- `crab env snapshot/restore` for machine migration (#57)
- Bats unit test framework + CI (#52)
- `crab court` fresh-start prompt fix (#54)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant