Gemini Runner Audit Skill
Use this skill when you need Gemini to run in an isolated subprocess and return structured results without polluting the main agent context.
When to use
- Deep code audit (security, correctness, architecture)
- Large repo analysis where clean parent context is important
- Multi-turn Gemini analysis using
resume_session
Tool to call
- MCP tool name:
gemini_audit - Required argument:
task - Optional arguments:
cwd(defaults to current working directory)modelmode:default | auto_edit | yolo | plantimeout_secondsresume_session
Default execution policy
- Set
cwdto current repo root unless user explicitly requests another path. - Start with
mode=defaultandtimeout_seconds=1800for heavy audits. - For short checks, use 120-300 seconds.
- If the response includes a
Session ID, reuse it for follow-up questions.
Recommended prompts
- Security:
Run a comprehensive security audit of this repository and rank findings by severity.
- Bug hunt:
Find concrete logic bugs and race conditions with file/line references.
- Docs quality:
Evaluate README and docs for gaps, inconsistencies, and missing operational steps.
Output handling
Always parse and surface:
StatusSession IDSummary/Full ResponseTool UsesErrorsArtifactspath (result.json)
If status is error or timeout, include clear next action:
- increase timeout
- narrow task scope
- retry with same
resume_sessionif applicable
Guardrails
- Do not stream human mode for automation.
- Do not suppress Gemini errors; report them explicitly.
- Keep filesystem scope aligned with
cwdto match user-visible project context.
Source: ID-VerNe/gemini-runner-mcp-skill-kit — distributed by TomeVault.