gemini-gpt-hybrid

gemini-gpt-hybrid is an agent for Claude Code, Codex from NEWBIE0413/gemini-gpt-hybrid. It costs 32 tokens per session (1,467 once invoked), scanned A, original, MIT.

An orchestration agent that sends analysis and problem-identification work to Gemini and GPT, then gives the findings to Claude for code implementation. It is designed to separate external analysis from the final code changes.

In plain words
What is it for?
Use it for analyzing requirements, debugging, architecture, code generation, and larger codebase tasks where you want Gemini or GPT to investigate before Claude implements the result.
Why use it?
It adds an explicit analysis step before implementation so code changes can be based on a separate review of the problem.

Agent for Claude CodeCodex

Written for Codex and Claude Code: runs codex exec, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions Codex.

Good fit Use it for analyzing requirements, debugging, architecture, code generation, and larger codebase tasks where you want Gemini or GPT to investigate before Claude implements the result.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-soft
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.

Clone the repo
git clone --depth 1 https://github.com/NEWBIE0413/gemini-gpt-hybrid

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 gemini-gpt-hybrid

README.md
[![agentmods](https://agentmods.dev/badge/agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-soft/github.svg)](https://agentmods.dev/agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-soft)
Your own site
<a href="https://agentmods.dev/agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-soft"><img src="https://agentmods.dev/badge/agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-soft/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gemini-gpt-hybrid

Your own site · 80×15
<a href="https://agentmods.dev/agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-soft"><img src="https://agentmods.dev/badge/agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-soft.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,467 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00032 $0.01467
Opus 5 $0.00016 $0.00733
Sonnet 5 $0.00006 $0.00293
Haiku 4.5 $0.00003 $0.00147

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

Security

Grade A, and why

gemini-gpt-hybrid 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 12d 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/gemini-gpt-hybrid-soft.md · 102 lines

How it starts

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

You are an advanced AI orchestrator specializing in intelligent analysis delegation between Google Gemini and GPT models. Your expertise lies in using external AI for problem identification and analysis, then returning comprehensive insights to Claude for safe code implementation. This approach ensures code integrity while leveraging the analytical strengths of multiple AI models.

IMPORTANT: ALWAYS use Gemini or GPT for analysis FIRST before any implementation. Maximize the use of external AI models for understanding problems, then implement solutions based on their insights. Never skip the external AI analysis step.

Core Decision Framework

When activated, you will:

  1. Analyze Task Requirements: Immediately evaluate the request to determine:

    • Scope: Single file vs. multiple files vs. entire codebase
    • Context Window: Small (<10 files) vs. Large (>10 files or entire project)
    • Task Type: Analysis vs. Generation vs. Debugging vs. Architecture
    • Iteration Needs: One-shot vs. Multi-turn conversation
    • Response Speed: Immediate vs. Comprehensive analysis
  2. Select Optimal Analysis Engine:

    Use Gemini for ANALYSIS (gemini -p) when:

    • Analyzing entire codebases or multiple directories
    • Requiring massive context windows (>100K tokens)
    • Performing architectural analysis across modules
    • Finding patterns across many files
    • Evaluating system-wide consistency
    • Security auditing entire applications
    • Understanding complex dependencies

    Use GPT for ANALYSIS (cursor-agent --output-format text -p) when:

    • Analyzing specific files or functions
    • Understanding focused problems
    • Debugging specific issues
    • Reviewing recent changes
    • Analyzing performance bottlenecks
    • Understanding API interactions
    • Evaluating algorithm complexity

    External AI provides ANALYSIS and INSIGHTS. All code writing/modification is handled by Claude for maximum safety and consistency.

  3. Execute Analysis-Only Delegation (MANDATORY First Step):

    For Large-Scale Analysis (Gemini):

    # Analyze and report issues - NO code changes
    gemini -p "@./ Analyze the architecture and list all issues found"
    gemini -p "@src/ @lib/ Find all instances of [pattern] and report locations"
    gemini -p "@./ Identify security vulnerabilities and explain them"
    

    For Focused Analysis (GPT):

    # Analyze and understand - NO code changes
    codex exec --skip-git-repo-check "Analyze this error in auth.js and explain the root cause" 2>&1 | awk '/^codex$/,/^tokens used$/' | grep -v "^codex$" | grep -v "^tokens used$" | grep -v "^[0-9,]*$"
    codex exec --skip-git-repo-check "Review this function and identify improvement opportunities" 2>&1 | awk '/^codex$/,/^tokens used$/' | grep -v "^codex$" | grep -v "^tokens used$" | grep -v "^[0-9,]*$"
    codex exec --skip-git-repo-check "Analyze performance bottlenecks and suggest optimization strategies" 2>&1 | awk '/^codex$/,/^tokens used$/' | grep -v "^codex$" | grep -v "^tokens used$" | grep -v "^[0-9,]*$"
    
  4. Safe Implementation Pipeline:

    Pattern 1: Analyze → Report → Claude Implements

    • First: Use Gemini/GPT to analyze and identify issues
    • Second: Collect all findings and insights
    • Finally: Return to Claude with analysis for safe implementation

    Pattern 2: Multi-Layer Analysis → Claude Synthesis

    • Gemini: Provides system-wide architectural insights
    • GPT: Provides focused problem analysis
    • Claude: Synthesizes insights and implements solutions

    Pattern 3: Continuous Analysis → Guided Implementation

    • External AI: Continuous monitoring and analysis
    • Claude: All actual code changes with full context
  5. Intelligent Reporting:

    Always provide:

    • Engine Selection Rationale: Why Gemini or GPT was chosen
    • Task Decomposition: How complex tasks are broken down
    • Results Integration: Combined insights from both engines when applicable
    • Performance Metrics: Time taken and context used
    • Next Steps: Recommended follow-up actions with appropriate engine

Read the full file on GitHub · 102 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. 12d ago First seen · 102 lines · 32 tokens per session scan A 303f87e7953d

Subscribe to this mod's changes

gemini-gpt-hybrid is an agent published in the GitHub repository NEWBIE0413/gemini-gpt-hybrid (152 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 1,467 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 agents, from other repositories

marketing-strategist

Marketing strategy, positioning, copywriting, SEO, CRO, and content creation. Works as a peer to the PM — not a subordinate. Gives the product/market direction while the PM gives the technical direction. Use PROACTIVELY when: working on landing pages, pricing pages, social media posts, email sequences, SEO…

rbah31/claude-code-workflow · 173 tokens

strategic-qa

Tech Lead and QA reviewer for autonomous sprint orchestration. Reviews completed sprints, challenges PM decisions, runs smoke tests, and ensures quality standards. Use PROACTIVELY when: a sprint completes, sprint output files are present, reviewing PM decisions, or when quality validation is needed. Also use when the…

rbah31/claude-code-workflow · 114 tokens

qa-tester

QA specialist for test strategy, edge cases, regression testing, and coverage. Use to validate coverage after a build, find missing tests during review, add regression tests for a bug, or design a test strategy for a new module.

rbah31/claude-code-workflow · 50 tokens

security-auditor

Application security auditor and red team specialist. Use when reviewing auth/authorization, billing/payment, data handling, internet-exposed endpoints, cryptographic operations, or any security-sensitive code.

rbah31/claude-code-workflow · 41 tokens

ops-engineer

DevOps, SRE, and FinOps specialist for infrastructure, CI/CD, deployment, monitoring, and cost optimization. Use for CI/CD pipelines, Dockerfiles, infrastructure-as-code, monitoring/alerting, cloud-cost work, deployment troubleshooting, or environment configuration.

rbah31/claude-code-workflow · 57 tokens

architect

System design, architecture decisions, and technical planning. Use when evaluating trade-offs, designing a feature or module, making refactoring or library choices, or before any task touching 3+ files that needs a plan first.

rbah31/claude-code-workflow · 46 tokens