How this command is triggered — by the user, by Claude, or both
Slash command
/gemini:analyze <file-path> [<question or analysis instruction>]This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
Analyze files using Google Gemini's multimodal capabilities. Gemini can process images, PDFs, audio, and video files using its `@file` injection syntax. Raw slash-command arguments: `$ARGUMENTS` Supported file types: - **Images**: PNG, JPG, JPEG, GIF, WEBP, SVG, BMP, ICO - **Documents**: PDF, TXT, CSV, JSON, XML, HTML, Markdown - **Audio**: MP3, WAV, OGG, FLAC, AAC, M4A - **Video**: MP4, WEBM, MOV, AVI, MKV - **Code**: Any text-based source code file Argument handling: - If no arguments are provided, use `AskUserQuestion` exactly once to ask what file the user wants analyzed. - The user ...
Analyze files using Google Gemini's multimodal capabilities. Gemini can process images, PDFs, audio, and video files using its @file injection syntax.
Raw slash-command arguments:
$ARGUMENTS
Supported file types:
Argument handling:
AskUserQuestion exactly once to ask what file the user wants analyzed.screenshot.png) - analyze the file with a general description.diagram.pdf what does this architecture show?).Glob or Read.Glob to find matching files and confirm with the user.Execution flow:
node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" analyze $ARGUMENTS
@file syntax to inject the file into the prompt.Error handling:
/gemini:setup.npx claudepluginhub bsmi021/ai-plugins-cc --plugin gemini/analyzeAnalyzes project code across quality, security, performance, and architecture domains, producing severity-rated findings, actionable recommendations, metrics, and reports.
/analyzeAnalyzes repository code health via complexity metrics, git churn, and test coverage. Generates report with overview, critical issues, warnings, recommendations.
/analyzeGuides through an interactive analysis of marketing campaign performance, collecting scope, period, type, and metrics focus to produce insights and recommendations.
/analyzeScans codebase for features, components, APIs, and models; interviews user for business context; generates and saves product inventory and architecture reports to .pm/.
/analyzeAnalyzes Rails codebase or directory for layered architecture adherence, mapping layers, assessing services, detecting model violations, god objects, and abstraction opportunities.
/analyzeAnalyzes a WebGPU Inspector capture for performance and correctness issues, producing a prioritized list of findings with severity, explanation, and concrete fixes.