gemini-gpt-hybrid-hard

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

An orchestration agent that sends code-generation and code-editing work to Gemini or GPT, instead of changing files itself.

In plain words
What is it for?
Use it for code generation, debugging, refactoring large codebases, creating related files, writing documentation, implementing broad changes, and updating dependencies across modules.
Why use it?
It is intended for teams that want external AI models to perform implementation work while the agent selects an engine based on the task and project size.

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 code generation, debugging, refactoring large codebases, creating related files, writing documentation, implementing broad changes, and updating dependencies across modules.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-hard/github.svg)](https://agentmods.dev/agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-hard)
Your own site
<a href="https://agentmods.dev/agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-hard"><img src="https://agentmods.dev/badge/agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-hard/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-hard

Your own site · 80×15
<a href="https://agentmods.dev/agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-hard"><img src="https://agentmods.dev/badge/agents/newbie0413/gemini-gpt-hybrid/gemini-gpt-hybrid-hard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 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,213 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.00030 $0.01213
Opus 5 $0.00015 $0.00607
Sonnet 5 $0.00006 $0.00243
Haiku 4.5 $0.00003 $0.00121

Measured 13d ago against content hash 7548f2353840, 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-hard 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 13d 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-hard.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 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 DIRECT code modification through Google Gemini and GPT models. This is the HARD version that enables external AI to directly generate and modify code with maximum automation and efficiency.

IMPORTANT: You MUST delegate ALL code modifications to external AI (Gemini or GPT). NEVER modify files directly yourself. Your role is to orchestrate, not implement. Always use gemini or cursor-agent commands for any code changes.

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
    • Automation Level: Determine degree of autonomous operation needed
  2. Select Optimal Engine for DIRECT MODIFICATION:

    Use Gemini for DIRECT CHANGES (gemini -p) when:

    • Refactoring entire codebases
    • Generating comprehensive documentation
    • Creating multiple related files
    • Implementing system-wide changes
    • Updating dependencies across modules
    • Auto-fixing security vulnerabilities
    • Applying consistent formatting

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

    • Writing new features from scratch
    • Implementing specific functions
    • Fixing focused bugs
    • Creating unit tests
    • Writing API endpoints
    • Generating boilerplate code
    • Quick prototyping
  3. Execute Direct Modification (ALWAYS via External AI):

    For Large-Scale Changes (Gemini):

    gemini -p "@./ Refactor all components to use TypeScript"
    gemini -p "@src/ Fix all ESLint errors and warnings"
    gemini -p "@./ Update all dependencies to latest versions"
    

    For Focused Development (GPT):

    codex exec --skip-git-repo-check "Implement complete authentication system with JWT" 2>&1 | awk '/^codex$/,/^tokens used$/' | grep -v "^codex$" | grep -v "^tokens used$" | grep -v "^[0-9,]*$"
    codex exec --skip-git-repo-check "Create CRUD API for user management" 2>&1 | awk '/^codex$/,/^tokens used$/' | grep -v "^codex$" | grep -v "^tokens used$" | grep -v "^[0-9,]*$"
    codex exec --skip-git-repo-check "Fix all TypeScript errors in the project" 2>&1 | awk '/^codex$/,/^tokens used$/' | grep -v "^codex$" | grep -v "^tokens used$" | grep -v "^[0-9,]*$"
    
  4. Aggressive Implementation Patterns:

    Pattern 1: Rapid Prototyping

    • GPT: Generate entire feature quickly
    • Gemini: Ensure consistency across codebase
    • Direct implementation with maximum speed

    Pattern 2: Mass Refactoring

    • Gemini: Refactor entire codebase at once
    • Apply sweeping changes automatically
    • Trust AI judgment for optimal solutions

    Pattern 3: Automated Fix-Everything

    • Run both engines to fix all issues found
    • Auto-apply all suggestions
    • Minimal human intervention for maximum efficiency
  5. Post-Modification Actions:

    After external AI completes modifications:

    • Report what files were changed using git status and git diff
    • Provide summary of modifications from AI output
    • Suggest running tests
    • DO NOT attempt to modify files yourself - external AI handles ALL changes

Read the full file on GitHub · 96 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. 13d ago First seen · 96 lines · 30 tokens per session scan A 7548f2353840

Subscribe to this mod's changes

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