一键导入
add-agentsdk-gemini
Add Google Gemini agent SDK. Free tier available (60 req/min). Built-in tools, MCP support, 11 lifecycle hooks. Authenticates via API key.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add Google Gemini agent SDK. Free tier available (60 req/min). Built-in tools, MCP support, 11 lifecycle hooks. Authenticates via API key.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Register an email mailbox for skills to operate on — reading, triage, drafting, bulk archive. NOT a channel; inbound emails will not wake the agent. For email-as-a-channel, use /add-gmail instead. Supports Google Workspace (Gmail), Microsoft 365 (Outlook/Exchange), and IMAP.
Set up email archive system — interactive calibration builds sender rules, creates folder taxonomy, and configures batch processing to reach inbox zero. Requires at least one email account registered via /add-email-account. Run this before using /email-archive in your main chat.
Batch-classify old emails into organized folders, working toward inbox zero. Uses sender rules (free, fast) with LLM fallback for unknown senders. Supports interactive, supervised, and autonomous modes. Provider-agnostic — works with any email account configured in config.yaml. Use /email-archive to process a batch, /email-archive status for progress.
Enable custom model support — use local models (OMLX, Ollama) or any third-party model endpoint (HuggingFace, Together AI, Groq, etc.) alongside your primary agent SDK. Triggers on "custom models", "local models", "add custom", "add local".
Add a model endpoint — local (OMLX, Ollama) or remote (HuggingFace, Together AI, Groq, or any OpenAI-compatible URL). Triggers on "add endpoint", "add model", "model endpoint", "connect model".
Run initial NanoClaw setup. Use when user wants to install dependencies, authenticate messaging channels, register their main channel, or start the background services. Triggers on "setup", "install", "configure nanoclaw", or first-time setup requests.
| name | add-agentSDK-gemini |
| description | Add Google Gemini agent SDK. Free tier available (60 req/min). Built-in tools, MCP support, 11 lifecycle hooks. Authenticates via API key. |
Adds Google Gemini runtime support. After installation, groups can use runtime: 'gemini' for Gemini models (2.5 Pro, Flash, Flash Lite).
Check if already applied:
ls src/runtime/gemini-runtime.ts 2>/dev/null && echo "ALREADY_INSTALLED" || echo "NOT_INSTALLED"
If already installed, skip to Phase 3 (Configure).
git fetch origin skill/add-agentSDK-gemini
git merge origin/skill/add-agentSDK-gemini --no-edit
npm install && npm run build && ./container/build.sh
Get a free API key from https://aistudio.google.com/apikey
Add to .env:
echo 'GEMINI_API_KEY=<your-key>' >> .env
Free tier: 60 requests/minute, 1000/day. No payment method required.
launchctl kickstart -k gui/$(id -u)/com.nanoclaw # macOS
# Linux: systemctl --user restart nanoclaw
Set a group to Gemini runtime:
sqlite3 store/messages.db "UPDATE registered_groups SET container_config = '{\"runtime\":\"gemini\"}' WHERE jid = '...';"
Or use /model gemini-2.5-flash in Telegram.
Send a message. Check /auth shows Gemini status.
git log --oneline --all | grep "add Gemini"
git revert <commit> -m 1
npm install && npm run build && ./container/build.sh