A Claude Code slash command that invokes Gemini 3.1 Pro as a specialized agent for visual analysis, UI/UX tasks, and research.
- Claude Code
- Gemini CLI:
npm install -g @google/gemini-cli GEMINI_API_KEYenvironment variable setjqfor JSON parsing:brew install jq- (macOS, optional)
pngpastefor clipboard image capture:brew install pngpaste
git clone <repo-url>
cd claude-gemini-skill
./install.shRestart Claude Code after installing.
Inside Claude Code:
/gemini analyze the screenshot of my dashboard
/gemini convert this mockup to HTML/CSS
/gemini review the architecture of this project
/gemini suggest UI improvements for the login page
If you mention a screenshot or clipboard image, it will be captured automatically and sent to Gemini.
- Captures clipboard image (if relevant)
- Gathers context from your project files
- Sends everything to Gemini 3.1 Pro with a specialized system prompt
- Either applies changes directly or returns analysis, depending on the request
./install.sh --uninstall| Source | Destination |
|---|---|
commands/gemini.md |
~/.claude/commands/gemini.md |
bin/gemini-clean |
~/.claude/bin/gemini-clean |
gemini-prompt.md |
~/.claude/gemini-prompt.md |
MIT