一键导入
add-agentsdk-claude
Add Anthropic Claude agent SDK. Cloud-only (no local model support). Authenticates via Claude subscription OAuth or API key.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add Anthropic Claude agent SDK. Cloud-only (no local model support). Authenticates via Claude subscription OAuth or 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".
Add Google Gemini agent SDK. Free tier available (60 req/min). Built-in tools, MCP support, 11 lifecycle hooks. Authenticates via API key.
| name | add-agentSDK-claude |
| description | Add Anthropic Claude agent SDK. Cloud-only (no local model support). Authenticates via Claude subscription OAuth or API key. |
Adds Anthropic Claude runtime support. After installation, groups can use runtime: 'claude' for Claude models (Opus, Sonnet, Haiku).
Check if already applied:
ls src/runtime/claude-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-claude
git merge origin/skill/add-agentSDK-claude --no-edit
npm install && npm run build && ./container/build.sh
AskUserQuestion: How do you want to authenticate with Anthropic?
claude setup-token in another terminal, then add the token to .env as CLAUDE_CODE_OAUTH_TOKEN=<token>ANTHROPIC_API_KEY=sk-ant-... to .envThe credential proxy (port 3001) handles injection into containers.
Only if Claude should be the default for all groups:
DEFAULT_RUNTIME=claude
Most users keep DEFAULT_RUNTIME=codex and set specific groups to Claude via /model.
launchctl kickstart -k gui/$(id -u)/com.nanoclaw # macOS
# Linux: systemctl --user restart nanoclaw
Set a group to Claude runtime:
sqlite3 store/messages.db "UPDATE registered_groups SET container_config = '{\"runtime\":\"claude\"}' WHERE jid = '...';"
Send a message. Check /auth shows Claude status.
git log --oneline --all | grep "add Claude" # find the merge commit
git revert <commit> -m 1
npm install && npm run build && ./container/build.sh