TC

thepushkarp/cc-gemini-plugin

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

74 stars 质量 50 趋势 22

Gemini CLI 集成于 Claude Code 和 Codex。

概览

双主机 Gemini CLI 集成,支持 Claude Code 和 Codex。 该仓库使用一个共享的 Gemini 运行时和两个薄主机适配器:- Claude Code 暴露 /cc-gemini-plugin:gemini 和 gemini-agent。- Codex 暴露捆绑的 gemini-integration 技能。 它为每个主机提供了一个干净的方式,将大型跨文件分析任务交给 Gemini,而不是逐个文件解决所有问题。 - Scripts/gemini-bridge.js 共享桥接运行时 - 通过插件 manifest、/cc-gemini-plugin:gemini 命令和 gemini-agent 实现 Claude Code 集成 - 通过 root SKILL.md 技能定义和 agents/openai.yaml 实现 Codex 集成 - 测试/gemini-bridge.test.js 中的桥接覆盖 - 理解整个代码库架构 - 跨文件安全审计 - 重构影响分析 - 不熟悉的代码库取向 - 文档生成 - 跨 JSON、YAML、TOML、CSV、Markdown 和代码的结构化文本数据综合 这是一个用户级安装。

概述(AI 翻译)

通过 Antigravity CLI(agy)委派任务,使用 Claude Code、Codex 及其他软件 Agent Skills 使用其模型、工具和独立的工作上下文进行托管。

Claude 代码提供了 /cc-gemini-plugin:gemini 和 gemini-agent。可移植 gemini-integration 技能使用相同的运行时,可以单独安装。 委托推理、研究、写作、编码、数据分析、自动化,或 其他由已安装环境支持的工作。原生工具可以读取和 编辑文件并运行允许的命令;网页、浏览器、MCP 和子代理工具 取决于会话的可用功能和配置。参见 Google 的 CLI概述和 MCP文档。

给agy一个有用的任务、相关参考文献和明确的期望结果。运行 在适当时,独立并行进行任务,重复使用明确的对话 对于相关的后续,并根据报告的极限调整,而不是假设固定 模型容量或配额。

要求

  • Node.js 22 或更新。
  • 反重力CLI可在macOS/Linux上以agy形式提供,Windows上则以原生agy.exe形式提供。
  • 完成agy认证并访问其服务。

请遵循 Google 的 CLI 安装与认证指南,

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

cc-gemini-plugin

Delegate tasks through Antigravity CLI (agy) from Claude Code, Codex, and other Agent Skills hosts, using its models, tools, and separate working context.

Claude Code provides /cc-gemini-plugin:gemini and gemini-agent. The portable gemini-integration skill uses the same runtime and can be installed separately. Delegate reasoning, research, writing, coding, data analysis, automation, or other work supported by the installed environment. Native tools can read and edit files and run permitted commands; web, browser, MCP, and subagent tools depend on the session’s available capabilities and configuration. See Google’s CLI overview and MCP documentation.

Give agy a useful task, relevant references, and a clear desired result. Run independent tasks in parallel when appropriate, reuse explicit conversations for related follow-ups, and adapt to reported limits instead of assuming fixed model capacities or quotas.

Requirements

  • Node.js 22 or newer.
  • Antigravity CLI available as agy on macOS/Linux or native agy.exe on Windows.
  • Completed agy authentication and network access to its service.

Follow Google’s CLI installation and authentication guide, then launch agy once to complete setup. Check the installation with:

agy --version
agy -p "Reply with OK."
agy models

The bridge uses agy exclusively. Google ended consumer Gemini CLI service on June 18, 2026; enterprise licenses and paid API-key access continue to be supported. See the Google announcement for the distinction.

The development baseline is agy 1.2.14, checked on October 1, 2026. Model identifiers and effort values come from the installed CLI; this project keeps no model catalogue or model-family routing rules. See the current headless interface and execution modes.

Installation

Claude Code plugin

In Claude Code:

/plugin marketplace add thepushkarp/cc-gemini-plugin
/plugin install cc-gemini-plugin@cc-gemini-plugin
/reload-plugins

Use /cc-gemini-plugin:gemini or delegate a suitable task to gemini-agent. To update, run these commands in your shell:

claude plugin marketplace update cc-gemini-plugin
claude plugin update cc-gemini-plugin@cc-gemini-plugin

Then run /reload-plugins in Claude Code. You can also select Update now from the Installed tab in /plugin.

Codex and other Agent Skills hosts

Install with the Vercel skills CLI using Bun:

bunx skills add thepushkarp/cc-gemini-plugin --skill gemini-integration
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add thepushkarp/cc-gemini-plugin
新手?先看 mcpskill.org 教程 →