Set up Claude Code, Kimi Code, and OpenClaw sub-agent instances. Use when configuring new agent accounts, installing plugins across accounts, or setting up permissions for autonomous operation.
Configure Claude Code, Kimi Code, and OpenClaw instances for orchestrated multi-agent work.
for acct in cc1 cc2 cc3 hataricc nicxxx; do
echo "=== Setting up $acct ==="
CLAUDE_CONFIG_DIR=~/.claude-accounts/$acct claude --dangerously-skip-permissions \
-c "/plugin install superpowers@claude-plugins-official" 2>/dev/null || true
done
Each account's ~/.claude-accounts/<name>/settings.json:
{
"permissions": {
"allow": ["Bash(*)", "Read(*)", "Write(*)", "Edit(*)", "Glob(*)", "Grep(*)", "WebSearch", "WebFetch(*)"]
}
}
Or use --dangerously-skip-permissions flag (ais create --yolo does this automatically).
# Sub-Agent Standing Orders
1. **Stay focused** — complete only the task you were given
2. **Stay in scope** — only modify files in this directory
3. **Report completion** — print: TASK COMPLETE: <summary>
4. **Report errors** — print: TASK BLOCKED: <reason>
5. **No git push** — commit locally but do NOT push
6. **No interactive prompts** — never ask for confirmation
| Account | Model | Pool | Use Case |
|---------|-------|------|----------|
| cc1 | Sonnet | cb1 | Fast parallel tasks |
| cc2 | Sonnet | cb1 | Fast parallel tasks |
| cc3 | Opus | cb1 | Complex reasoning |
| hataricc | Opus | nic | Complex tasks (separate pool) |
| nicxxx | Opus | cb1 | Complex tasks, fallback |
API Key (recommended for agents):
kimi-account add sk-kimi-YOUR_KEY_HERE
OAuth (for interactive use):
kimi-account login # auto-number
kimi-account login 3 # specific account
# Via ais (recommended)
ais create my-agent -a kimi -A 1 --yolo -c "your task"
# Manual
KIMI_SHARE_DIR=~/.kimi-accounts/1 kimi --yolo
mkdir -p ~/.openclaw/skills/ais-orchestrator/scripts/
cp /path/to/orchestrator-skill.md ~/.openclaw/skills/ais-orchestrator/SKILL.md
cp ~/.local/bin/ais ~/.openclaw/skills/ais-orchestrator/scripts/ais
chmod +x ~/.openclaw/skills/ais-orchestrator/scripts/ais
~/.openclaw/openclaw.json:
{
"agents": {
"defaults": {
"model": {
"primary": "openrouter/moonshotai/kimi-k2.5",
"fallbacks": ["openrouter/qwen/qwen3-coder:free"]
}
}
}
}
The orchestrator runs on Kimi K2.5 (free) — no Claude credits for management overhead.
For agents that need to control tmux sessions:
{
"mcpServers": {
"tmux": {
"command": "npx",
"args": ["-y", "@nickgnd/tmux-mcp"]
}
}
}
Add to ~/.claude-accounts/<name>/settings.json.
ais accounts # Check all accounts
check-credits # Check Claude credits
kimi-account check # Check Kimi accounts
ais create test -a kimi -A 1 --yolo -c "echo hello" # Test spawn
sleep 12 && ais inspect test -n 10 # Check output
ais kill test # Clean up
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer