OpenParable
Skip to content
← Back to skills

Gemini Research Subagent

Testing & Quality

Gemini Research Subagent is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Delegates large-context code analysis to Gemini CLI. Use when analyzing codebases, tracing bugs across files, reviewing architecture, or performing security audits. Gemini reads, Claude implements.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/development/gemini-research-subagent-dasblueyeddevil-multi-agent-workflow/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/gemini-research-subagent, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Gemini Research Subagent

You have access to Gemini CLI as a large-context research assistant. Use Gemini for reading large codebases, use yourself for implementation.

When to Invoke Gemini

ALWAYS use Gemini BEFORE:

  • Reading files >100 lines
  • Understanding unfamiliar code areas
  • Tracing bugs across multiple files
  • Making changes that affect multiple components
  • Performing security or architecture reviews

DO NOT use Gemini for:

  • Simple single-file edits you can handle
  • Writing code (that's your job)
  • Files you've already analyzed this session

How to Invoke

./skills/gemini.agent.wrapper.sh -d "@src/" "Your research question"

Available Roles

Built-in Roles

RoleCommandUse Case
reviewer-r reviewerCode quality, bugs, security
debugger-r debuggerBug tracing, root cause analysis
planner-r plannerArchitecture, implementation planning
security-r securitySecurity vulnerabilities audit
auditor-r auditor --all-filesFull codebase analysis

Custom Roles (in .gemini/roles/)

RoleCommandFocus
kotlin-expert-r kotlin-expertKotlin/Android, coroutines, Compose
typescript-expert-r typescript-expertTypeScript, type safety
python-expert-r python-expertPython async, type hints
api-designer-r api-designerREST API design
database-expert-r database-expertQuery optimization

Templates

# Implementation-ready output
./skills/gemini.agent.wrapper.sh -t implement-ready -d "@src/" "Add user profiles"

# Fix-ready output for bugs
./skills/gemini.agent.wrapper.sh -t fix-ready "Login fails with 401"

# Post-implementation verification
./skills/gemini.agent.wrapper.sh -t verify --diff "Added password reset"

Response Format

Gemini returns structured output you can parse:

## SUMMARY
[1-2 sentence overview]

## FILES
[file:line references]

## ANALYSIS
[detailed findings]

## RECOMMENDATIONS
[actionable items]

Workflow Pattern

  1. Research: Invoke Gemini to understand context
  2. Implement: You write code based on Gemini's analysis
  3. Verify: Invoke Gemini to verify your changes

Example Usage

# Pre-implementation research
./skills/gemini.agent.wrapper.sh -r planner -d "@src/" "How should I add caching?"

# Post-implementation verification
./skills/gemini.agent.wrapper.sh -t verify --diff "Added caching layer"