Skip to content
goodprompts

Migrate Claude Code workspaces and sessions to Gemini CLI

Asks an AI agent to inventory Claude Code projects, convert rules, commands and MCP settings into Gemini CLI files, and export sessions with secrets redacted.

CodingSuggested models Claudeby @Mr_Buzzoni on X

The prompt

1,326 characters
"Port every Claude Code workspace on this machine to Gemini 4 Neon in the Gemini CLI. ~/.claude and every .claude/ folder are read only: create new files, never edit or delete old ones. 1. FIND List every workspace in ~/.claude/projects/ with its project path, session count, last activity and size. Stop and wait for my OK. 2. PORT (each approved workspace) - CLAUDE.md, project + global -> GEMINI.md in the project root, rules word for word - .claude/commands/ + skills -> .gemini/commands/*.toml, same prompts - .mcp.json + servers in ~/.claude.json -> mcpServers in .gemini/settings.json, secrets as ${ENV_VAR} - .claude/agents/ -> one command per agent, system prompt intact - hooks + permissions -> port.md, with how to rebuild each one 3. SESSIONS Every .jsonl -> .gemini/history/<date>_<id>.json {id, date, title, summary, decisions, files_touched, open_tasks, messages: [{role, text}]} Drop tool output and thinking. Keys, tokens, passwords, emails -> [REDACTED]. 4. HANDOFF .gemini/handoff.md: where the work stands, the last 5 decisions and why, the next step, open bugs. Import it at the end of GEMINI.md with @.gemini/handoff.md 5. REPORT port.md: what moved, what has no equivalent, what I do by hand. Mark anything uncertain with [CHECK]. Show me the plan for the first workspace before writing anything."
1,326 characters

About this prompt

Category
Coding
Suggested models
Claude
Published
Dec 3, 2026

Is this your post? Email [email protected] to ask us to remove this prompt.

Tags
#claude-code#gemini-cli#config-migration#session-export

published by @finds

Comments

Details

Category
Coding
Suggested models
Claude
Published
Dec 3, 2026

Is this your post? Email [email protected] to ask us to remove this prompt.

Tags
#claude-code#gemini-cli#config-migration#session-export
Published byGoodPrompts Finds@finds · 78 published
View profile

Comments

No comments yet.

More like this

Frontend state audit prompt for reviewing app codeCodingPlanning and building a data animation explainer as a canvas HTML fileCodingAudit third-party API integrations for reliability and failure risksCodingReview a pull request for scope creep and risksCodingAudit a codebase for authorization and tenant isolation flawsCoding