Skip to content

Instantly share code, notes, and snippets.

@0xqtpie
0xqtpie / README.md
Created December 27, 2025 06:45
claude code <--> opencode migrator

Claude Code ↔ OpenCode Migration Script

A self-contained Python CLI that migrates configurations between Claude Code and OpenCode formats. Supports bidirectional migration. Uses uv with PEP 723 inline dependencies for zero-setup execution.

Quick Start

# Forward: Claude Code → OpenCode
uv run migrate_claude_to_opencode.py --dry-run        # Preview changes
uv run migrate_claude_to_opencode.py --all # Migrate everything