一键导入
gemini
Execute Gemini CLI for AI-powered code analysis and generation. Use when you need to leverage Google's Gemini models for complex reasoning tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute Gemini CLI for AI-powered code analysis and generation. Use when you need to leverage Google's Gemini models for complex reasoning tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill should be used when the user asks to \\\\\\\"create an agent\\\\\\\", \\\\\\\"add an agent\\\\\\\", \\\\\\\"write a subagent\\\\\\\", \\\\\\\"agent frontmatter\\\\\\\", \\\\\\\"when to use description\\\\\\\", \\\\\\\"agent examples\\\\\\\", \\\\\\\"agent tools\\\\\\\", \\\\\\\"agent colors\\\\\\\", \\\\\\\"autonomous agent\\\\\\\", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for CodeBuddy Code plugins.
Email inbox for AI agents. Check messages, send emails, and communicate via your own @agentmail.to address.
This skill should be used when the user asks to \\\\\\\"create a Next.js route\\\\\\\", \\\\\\\"add a page\\\\\\\", \\\\\\\"set up layouts\\\\\\\", \\\\\\\"implement loading states\\\\\\\", \\\\\\\"add error boundaries\\\\\\\", \\\\\\\"organize routes\\\\\\\", \\\\\\\"create dynamic routes\\\\\\\", or needs guidance on Next.js App Router file conventions and routing patterns.
This skill should be used when the user asks about \\\\\\\"authentication in Next.js\\\\\\\", \\\\\\\"NextAuth\\\\\\\", \\\\\\\"Auth.js\\\\\\\", \\\\\\\"middleware auth\\\\\\\", \\\\\\\"protected routes\\\\\\\", \\\\\\\"session management\\\\\\\", \\\\\\\"JWT\\\\\\\", \\\\\\\"login flow\\\\\\\", or needs guidance on implementing authentication and authorization in Next.js applications.
This skill should be used when the user needs to interact with web pages, browse websites, take screenshots, fill forms, click elements, extract web content, or perform any browser automation tasks. Trigger phrases include \\\\\\\"open webpage\\\\\\\", \\\\\\\"visit website\\\\\\\", \\\\\\\"browse\\\\\\\", \\\\\\\"screenshot page\\\\\\\", \\\\\\\"fill form\\\\\\\", \\\\\\\"click button\\\\\\\", \\\\\\\"extract from website\\\\\\\", \\\\\\\"web scraping\\\\\\\", \\\\\\\"automate browser\\\\\\\".
Audit and improve CODEBUDDY.md files in repositories. Use when user asks to check, audit, update, improve, or fix CODEBUDDY.md files. Scans for all CODEBUDDY.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions \\\\\\\"CODEBUDDY.md maintenance\\\\\\\" or \\\\\\\"project memory optimization\\\\\\\".
| name | gemini |
| description | Execute Gemini CLI for AI-powered code analysis and generation. Use when you need to leverage Google's Gemini models for complex reasoning tasks. |
| description_zh | 完整的 OMC (Oh My CodeBuddy) 插件,包含 agents、commands、skills、hooks、tools 和 MCP servers。提供多代理编排、深度研究、代码分析等功能。 |
| version | 1.0.0 |
| source | codebuddy |
| source_plugin | oh-my-codebuddy |
AgentZ note: Bundled scripts are optional reference only. Prefer
shell,file_read, andfile_write.
AgentZ note: Bundled scripts are optional reference only. Prefer
shell,file_read, andfile_write.
AgentZ note: Bundled scripts are optional reference only. Prefer
shell,file_read, andfile_write.
Execute Gemini CLI commands with support for multiple models and flexible prompt input. Integrates Google's Gemini AI models into AgentZ workflows.
Mandatory: Run via uv with fixed timeout 7200000ms (foreground):
uv run ~/.AgentZ/skills/gemini/scripts/gemini.py "<prompt>" [working_dir]
Optional (direct execution or using Python):
~/.AgentZ/skills/gemini/scripts/gemini.py "<prompt>" [working_dir]
# or
python3 ~/.AgentZ/skills/gemini/scripts/gemini.py "<prompt>" [working_dir]
gemini-3-pro-preview)
export GEMINI_MODEL=gemini-3timeout: 7200000 for double protectionprompt (required): Task prompt or questionworking_dir (optional): Working directory (default: current directory)Plain text output from Gemini:
Model response text here...
Error format (stderr):
ERROR: Error message
When calling via Bash tool, always include the timeout parameter:
Bash tool parameters:
- command: uv run ~/.AgentZ/skills/gemini/scripts/gemini.py "<prompt>"
- timeout: 7200000
- description: <brief description of the task>
Alternatives:
# Direct execution (simplest)
- command: ~/.AgentZ/skills/gemini/scripts/gemini.py "<prompt>"
# Using python3
- command: python3 ~/.AgentZ/skills/gemini/scripts/gemini.py "<prompt>"
Basic query:
uv run ~/.AgentZ/skills/gemini/scripts/gemini.py "explain quantum computing"
# timeout: 7200000
Code analysis:
uv run ~/.AgentZ/skills/gemini/scripts/gemini.py "review this code for security issues: $(cat app.py)"
# timeout: 7200000
With specific working directory:
uv run ~/.AgentZ/skills/gemini/scripts/gemini.py "analyze project structure" "/path/to/project"
# timeout: 7200000
Using python3 directly (alternative):
python3 ~/.AgentZ/skills/gemini/scripts/gemini.py "your prompt here"
uv run for automatic Python environment management (requires uv installed)./gemini.py (uses system Python via shebang)GEMINI_MODEL environment variable)