claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// Claude Skills

cc-gemini-plugin

Gemini CLI integration for Claude Code and Codex.

Slowing down
77/100
last commit 3 months ago
last release none
releases 0
open issues 2
// install
git clone https://github.com/thepushkarp/cc-gemini-plugin

cc-gemini-plugin

Dual-host Gemini CLI integration for Claude Code and Codex.

This repository uses one shared Gemini runtime and two thin host adapters:

  • Claude Code exposes /cc-gemini-plugin:gemini and gemini-agent.
  • Codex exposes the bundled gemini-integration skill.

It gives each host a clean way to hand large, cross-file analysis tasks to Gemini instead of solving everything file-by-file.

Architecture

  • Shared bridge runtime at scripts/gemini-bridge.js
  • Claude Code integration through the plugin manifest, /cc-gemini-plugin:gemini command, and gemini-agent
  • Codex integration through the root SKILL.md skill definition and agents/openai.yaml
  • Bridge coverage in tests/gemini-bridge.test.js

Use Cases

  • whole-codebase architecture understanding
  • cross-file security audits
  • refactor impact analysis
  • unfamiliar codebase orientation
  • documentation generation
  • structured text data synthesis across JSON, YAML, TOML, CSV, Markdown, and code

Prerequisites

  1. Install Gemini CLI
npm install -g @google/gemini-cli
# or
brew install gemini-cli
  1. Authenticate
gemini auth
  1. Verify Gemini works
gemini -p "what is 2+2" --output-format text

Installation

Claude Code

This is a user-level install. Once you add the marketplace and install the plugin, it stays available in new Claude Code sessions on this machine.

Add the marketplace from GitHub, install the plugin, then reload plugins:

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

After installation, use:

/cc-gemini-plugin:gemini <task>

To update the plugin:

/plugin marketplace update cc-gemini-plugin
/reload-plugins

Codex

Codex does not need a plugin for this repository. Install it as a user-level skill so it is available in new Codex sessions on this machine across repositories.

Install it by cloning the repository into ~/.agents/skills:

mkdir -p ~/.agents/skills
git clone https://github.com/thepushkarp/cc-gemini-plugin.git \
  ~/.agents/skills/cc-gemini-plugin

Restart Codex after cloning the skill.

To update it later:

git -C ~/.agents/skills/cc-gemini-plugin pull

After installation, use the bundled skill:

$gemini-integration

Shared Runtime

Both hosts route through:

node scripts/gemini-bridge.js [options] <task>

Supported options:

  • --model <name>
  • --dirs <path,...>
  • --files <glob,...>
  • --format <text|json|stream-json>
  • --max-files <n>
  • --max-file-bytes <n>
  • --print-command

The bridge:

  • collects files and directories locally
  • inlines text-like content into a structured prompt
  • skips unsupported binary files
  • invokes Gemini CLI in headless mode

Host Entry Points

Claude Code

Use:

/cc-gemini-plugin:gemini <task>
/cc-gemini-plugin:gemini --dirs src,docs <task>
/cc-gemini-plugin:gemini --files "schemas/**/*.json,data/**/*.csv" <task>

Codex

Use the bundled skill:

$gemini-integration

Or ask Codex to use the Gemini integration for a large-context pass.

Codex-specific skill metadata lives in agents/openai.yaml.

Examples

Architecture review:

node scripts/gemini-bridge.js --dirs src,docs \
  "Explain the architecture and cite the key files."

Refactor impact:

node scripts/gemini-bridge.js --dirs src \
  "Analyze the impact of refactoring the auth module. Include affected files and migration steps."

Structured data review:

node scripts/gemini-bridge.js --files "schemas/**/*.json,data/**/*.csv" \
  "Summarize the data contracts and identify breaking changes."

Structured output:

node scripts/gemini-bridge.js --format json --dirs src \
  "Summarize the public API surface."

Development

Run the bridge tests:

npm test

Repository Structure

cc-gemini-plugin/
├── .claude-plugin/
│   ├── marketplace.json
│   └── plugin.json
├── SKILL.md
├── agents/
│   ├── gemini-agent.md
│   └── openai.yaml
├── commands/
│   └── gemini.md
├── scripts/
│   └── gemini-bridge.js
├── tests/
│   └── gemini-bridge.test.js
└── package.json

Troubleshooting

IssueSolution
Authentication errorRun gemini auth
Gemini missing on PATHInstall @google/gemini-cli or brew install gemini-cli
Token pressureNarrow the inlined scope with fewer directories or more specific globs
TimeoutReduce the context set and tighten the task

License

MIT

// compatibility

Platformscli, api
Operating systems
AI compatibilityclaude
License
Pricingopen-source
LanguageJavaScript

// faq

What is cc-gemini-plugin?

Gemini CLI integration for Claude Code and Codex.. It is open-source on GitHub.

Is cc-gemini-plugin free to use?

cc-gemini-plugin is open-source, so it is free to use.

What category does cc-gemini-plugin belong to?

cc-gemini-plugin is listed under plugins in the Claudeers registry of Claude-compatible tools.

0 views
68 stars
unclaimed
updated 15 days ago

// embed badge

cc-gemini-plugin on Claudeers
[![Claudeers](https://claudeers.com/api/badge/cc-gemini-plugin.svg)](https://claudeers.com/cc-gemini-plugin)

// retro hit counter

cc-gemini-plugin hit counter
[![Hits](https://claudeers.com/api/counter/cc-gemini-plugin.svg)](https://claudeers.com/cc-gemini-plugin)

// reviews

// guestbook

0/500

// related in Claude Skills

🔓

An agentic skills framework & software development methodology that works.

// skillsobra/Shell249,840MIT[ claude ]
🔓

💫 Toolkit to help you get started with Spec-Driven Development

// skillsgithub/Python117,790MIT[ claude ]
🔓

Public repository for Agent Skills

// skillsanthropics/Python159,495[ claude ]
🔓

AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs,…

// skillsGraphify-Labs/Python77,228MIT[ claude ]
Ecosystem hubone of the most connected projects in the claude ecosystem · 24 connections
→ see how cc-gemini-plugin connects across the ecosystem