migrate-gemini

migrate-gemini is a skill for Claude Code, Codex from conorbronsdon/agent-context-os. It costs 37 tokens per session (885 once invoked), scanned A, original, MIT.

A controlled procedure for moving selected Gemini CLI instructions, commands, skills, hooks, and MCP settings into another workspace.

In plain words
What is it for?
Planning and reviewing a narrow Gemini workflow migration with a dry run, proposed file map, approval, and parity checks.
Why use it?
It prevents private history or credentials from being copied and requires review before changing source or security-sensitive configuration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/conorbronsdon/agent-context-os/migrate-gemini
Any agent
npx skills add conorbronsdon/agent-context-os --skill migrate-gemini
Clone the repo
git clone --depth 1 https://github.com/conorbronsdon/agent-context-os

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate-gemini

README.md
[![agentmods](https://agentmods.dev/badge/skills/conorbronsdon/agent-context-os/migrate-gemini.svg)](https://agentmods.dev/skills/conorbronsdon/agent-context-os/migrate-gemini)
Your own site
<a href="https://agentmods.dev/skills/conorbronsdon/agent-context-os/migrate-gemini"><img src="https://agentmods.dev/badge/skills/conorbronsdon/agent-context-os/migrate-gemini.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 885 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00885
Opus 5 $0.00018 $0.00443
Sonnet 5 $0.00007 $0.00177
Haiku 4.5 $0.00004 $0.00089

Measured 6d ago against content hash d39316ff93e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

migrate-gemini scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/migrate-gemini/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrate Gemini workflows

Move proven Gemini CLI workflows into this workspace without bulk-copying private history or silently changing behavior.

Consumer Gemini CLI requests transitioned to Antigravity CLI in June 2026; continuing enterprise/API-key Gemini CLI remains a distinct path. Treat Gemini files as migration sources. Do not claim that Antigravity shares Gemini skill discovery, hook, permission, or lifecycle behavior unless the installed target has been separately validated.

Safety rules

  • Start with inventory and a dry run. Do not mutate source Gemini files.
  • Never print or persist token values, environment values, credentials, or full chat transcripts.
  • Work on a branch or worktree and show the proposed file map before writing.
  • Require explicit user approval before running a non-dry-run import or replacing an existing file.
  • Treat hooks and MCP configuration as executable/security-sensitive configuration. Rebuild and review them; do not blindly copy them.

Procedure

1. Define the scope

Ask for the Gemini project or configuration directory and the 1–3 workflows that matter most. Prefer a narrow migration over an account-wide import.

Inventory only the presence, path, and type of:

  • GEMINI.md files and imports
  • .gemini/commands/
  • .gemini/skills/ and .agents/skills/
  • hook event names and command names (not secret environment values)
  • MCP server names and transport types (not credentials)
  • extensions and headless scripts that need manual review

Write the inventory to .context-os/migrations/<timestamp>/inventory.json. This directory is gitignored.

2. Offer Claude Code's native dry run when available

If the user is in Claude Code, offer an explicit handoff to the native interactive command:

/import gemini --dry-run

Do not try to invoke another slash command from this skill. If the user chooses the native path, stop and let them invoke it directly, then review its proposed file map and warnings. If it is unavailable for the installed version/provider, continue with the manual mapping below; do not improvise a destructive import.

Read the full file on GitHub · 86 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 86 lines · 37 tokens per session scan A d39316ff93e0

Subscribe to this mod's changes

migrate-gemini is a skill published in the GitHub repository conorbronsdon/agent-context-os (22 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 885 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pace-bridge

Use to bridge a confirmed Superpowers/native plan into PACEflow CHG/HOTFIX artifacts, create artifact-writer prompts, and mark the specific plan as synced.

paceaitian/paceflow · 38 tokens

pace-knowledge

Use for PACEflow knowledge/thoughts notes, finding-to-knowledge extraction, correction knowledge links, and Obsidian frontmatter/L0-L2 note structure.

paceaitian/paceflow · 38 tokens

platform-specific-paths

Generic browser automation skill with Windows-only paths scanned from another operating system.

ooocooc/open-skill-sunset · 19 tokens

handoff

Create, validate, list, and load local Portable Handoff capsules for context transfer, continuing work in a new chat, compacting current work, or loading prior work. Use whenever the user asks for a handoff, context transfer, continuation briefing, or portable work-state summary.

legoambarish/portable-handoff · 59 tokens

session-review

End-of-session adversarial review loop. Assemble the session's work into a role-assigned, self-contained brief, then run independent reviewers in parallel — an isolated code-reader (the idea-validator agent) that reads the ACTUAL files and web-checks technology currency, plus an external-family model if you have one …

awrshift/agent-memory-kit · 149 tokens

second-opinion

Cross-check the agent's own answer with independent reviewers before bringing it to the user. Use when the user says 'second opinion', 'sanity check', 'cross-check', 'am I missing something', 'stress-test', 'devil's advocate', 'run a full review', 'this is important', 'high-stakes', 'help me choose between', 'critique…

awrshift/agent-memory-kit · 130 tokens