Repository navigation
Closed
Labels
capability:platformFramework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap)enhancementNew feature or requestfamily:toolstools/*good first issueGood for newcomers
Description
Goal: Bring Google's Gemini CLI to feature parity with Claude Code as a skill runtime. Grounds: RFC-AI-0004 Principle 3 — Vendor neutrality, which names Gemini CLI by name.
Why Gemini CLI: Open-source, Apache 2.0, official Google offering with a growing extension ecosystem. Strong reach into the Google-Cloud and Workspace adopter universe. Gemini CLI also has first-class MCP support, which means many of the framework's MCP-shaped integrations (Gmail, Slack, Google Drive, GitHub) should "just work" once the skill-format adapter lands.
What "parity" means:
- Skills under
.claude/skills/<name>/SKILL.mdare invokable from Gemini CLI - The
tools/*bridges are reachable (language-agnostic — port directly) - Sandbox parity: Gemini CLI has a
--sandboxmode; document the mapping to the framework'sbubblewrap+ network-allowlist baseline - HITL primitives: Gemini CLI's "approve before run" mode is the native fit — verify and document
Suggested approach:
- Map
SKILL.md→ Gemini CLI's.gemini/extensions/extension format (orGEMINI.mdfor project-level instructions) - Reuse the framework's MCP servers where Gemini supports them
- Document the skill-invocation pattern: how a maintainer runs a framework skill end-to-end via Gemini
- Map the
setup-isolated-*sandbox baseline to Gemini's sandbox flags
Reference:
- RFC-AI-0004:
docs/rfcs/RFC-AI-0004.md - Gemini CLI: https://github.com/google-gemini/gemini-cli
- Gemini CLI extensions: https://github.com/google-gemini/gemini-cli/blob/main/docs/extension.md
- Existing skill shape:
.claude/skills/
Metadata
Metadata
Assignees
Labels
capability:platformFramework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap)enhancementNew feature or requestfamily:toolstools/*good first issueGood for newcomers
Activity
maheshsv commentedon May 31, 2026
I will work this issue
justinmclean commentedon Jul 27, 2026
@maheshsv do you still want to work on this?
sjyangkevin commentedon Sep 9, 2026
I'd like to work on this as my first contribution if it's still available.
potiuk commentedon Sep 10, 2026
Feel free.
sjyangkevin commentedon Sep 11, 2026
Edited 2026-09-12:
Reading the following two guides, and I feel it provides the answer.
I have a partial implementation for the Gemini CLI, including parsing the skills from the existing canonical
.agents/skills/path, a GeminiBeforeTooladapter foragent-guardregistered in.gemini/settings.json, structured output in the existing spec-loop profile, and a runtime contract documenting the implemented support (some of these seems already been configured).However, after looking into the Gemini CLI documentation, I wanted to discuss the following and look for a direction.
settings.jsonnamed it throughpolicyPaths, or explicit start up commandgemini --policy <path>. Explicit paths work, but replace default user-policy discovery unless that directory is also included. Extension policies are another documented option, with lower priority and restrictions on allow/YOLO-scoped rules. the current implementation usespolicyPathswith existing user policies preserved in.gemini/settings.json. Does that fit the intended installation contract?--sandboxalone might not meet Magpie's baseline. Gemini CLI (version 0.59.0) launcher defaults to network access and mounts Gemini settings, temporary files, and existing gcloud configuration. A reviewed mount policy, enforced egress allowlist, native-tool permissions, and interactive approval tests are still needed. Would a configured Gemini container/proxy profile fit the intended scope?Google has also announced a consumer transition to Antigravity CLI, while retaining Gemini CLI for enterprise and paid API-key use (now authenticate through Vertex AI). Antigravity's documented sandbox looks closer to the baseline, but I have not validated it.
Thanks,
Draft PR: #1199
feat(gemini): integrate gemini cli as runtime (#1199)