Agent skill
gemini-research-subagent
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.
Install this agent skill to your Project
npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/dasblueyeddevil/gemini-research-subagent
SKILL.md
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 (loaded from .gemini/roles/)
| Role | Command | Use Case |
|---|---|---|
reviewer |
-r reviewer |
Code quality, bugs, security |
debugger |
-r debugger |
Bug tracing, root cause analysis |
planner |
-r planner |
Architecture, implementation planning |
security |
-r security |
Security vulnerabilities audit |
auditor |
-r auditor |
Codebase-wide analysis |
explainer |
-r explainer |
Code explanation |
migrator |
-r migrator |
Migration planning |
documenter |
-r documenter |
Documentation generation |
dependency-mapper |
-r dependency-mapper |
Dependency analysis |
onboarder |
-r onboarder |
Onboarding guide |
Custom Roles
Add custom roles in .gemini/roles/<name>.md. Examples:
| Role | Focus |
|---|---|
kotlin-expert |
Kotlin/Android, coroutines |
typescript-expert |
TypeScript type safety |
python-expert |
Python async, type hints |
api-designer |
REST API design |
database-expert |
Query 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
- Research: Invoke Gemini to understand context
- Implement: You write code based on Gemini's analysis
- 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"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
perigon-backend
Perigon ASP.NET Core + EF Core + Aspire conventions
perigon-agent
Pointers for Copilot/agents to apply Perigon conventions
perigon-angular
Angular 21+ standalone/Material/signal conventions for Perigon WebApp
fastapi-mastery
Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.
context7-efficient
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.
browser-use
Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.
Didn't find tool you were looking for?