cc-gemini-plugin
Health Uyari
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 9 GitHub stars
Code Basarisiz
- spawnSync — Synchronous process spawning in scripts/gemini-bridge.js
Permissions Gecti
- Permissions — No dangerous permissions requested
This plugin acts as a bridge, allowing host applications like Claude Code and Codex to offload large, cross-file analysis tasks directly to the Gemini CLI.
Security Assessment
The tool relies on executing shell commands to function. Specifically, the automated scan flagged the use of synchronous process spawning (`spawnSync`) within the bridge script to invoke the Gemini CLI. While it does not request inherently dangerous permissions or contain hardcoded secrets, the architecture means your local files and directories are collected, structured, and sent as prompts to an external third-party API (Google Gemini). Because sensitive data from your codebase will leave your local environment during analysis, overall risk is rated as Medium.
Quality Assessment
The project is actively maintained, with its most recent code push happening today. However, community trust and visibility are currently very low, evidenced by minimal public engagement (only 9 GitHub stars). More critically for enterprise or open-source use, the repository completely lacks a license file. Without a defined license, all rights are technically reserved by the author, meaning you have no legal permission to modify, distribute, or use the code.
Verdict
Use with caution — it functions as intended and is actively updated, but users should be aware of external data transmission risks and the absence of a formal software license.
Claude Code plugin integrating Gemini CLI for long-context code exploration and analysis
cc-gemini-plugin
Dual-host Gemini CLI integration for Claude Code and Codex.
The repository provides one shared Gemini runtime and two thin host adapters:
- Claude Code uses the existing plugin manifest,
/geminicommand, andgemini-agent. - Codex uses
.codex-plugin/plugin.json, the shared skill, and repo-local marketplace metadata.
The plugin gives the 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,
/geminicommand, andgemini-agent - Codex integration through
.codex-plugin/plugin.json, the shared skill, and repo-local
marketplace metadata - 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
- Install Gemini CLI
npm install -g @google/gemini-cli
# or
brew install gemini-cli
- Authenticate
gemini auth
- Verify Gemini works
gemini -p "what is 2+2" --output-format text
Installation
Claude Code
Install from the repository:
/plugin install https://github.com/thepushkarp/cc-gemini-plugin
Codex
This repo includes both:
.codex-plugin/plugin.json.agents/plugins/marketplace.json
That means the repository can act as a local Codex plugin and a repo-local
marketplace during development.
For a personal Codex install, the documented pattern is:
mkdir -p ~/.codex/plugins
cp -R /absolute/path/to/cc-gemini-plugin ~/.codex/plugins/cc-gemini-plugin
Then expose it from ~/.agents/plugins/marketplace.json, or use the repo-local
marketplace while developing in this repository.
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:
/gemini <task>
/gemini --dirs src,docs <task>
/gemini --files "schemas/**/*.json,data/**/*.csv" <task>
Codex
Use the bundled skill:
$gemini-integration
Or ask Codex to use the installed cc-gemini-plugin for a large-context pass.
Codex-specific skill metadata lives in skills/gemini/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/
├── .agents/plugins/marketplace.json
├── .claude-plugin/
│ ├── marketplace.json
│ └── plugin.json
├── .codex-plugin/
│ └── plugin.json
├── agents/
│ └── gemini-agent.md
├── commands/
│ └── gemini.md
├── scripts/
│ └── gemini-bridge.js
├── skills/
│ └── gemini/
│ ├── SKILL.md
│ └── agents/
│ └── openai.yaml
├── tests/
│ └── gemini-bridge.test.js
└── package.json
Troubleshooting
| Issue | Solution |
|---|---|
| Authentication error | Run gemini auth |
| Gemini missing on PATH | Install @google/gemini-cli or brew install gemini-cli |
| Token pressure | Narrow the inlined scope with fewer directories or more specific globs |
| Timeout | Reduce the context set and tighten the task |
License
MIT
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi