CLI Automation
このコンテンツはまだ日本語訳がありません。
CLI Automation
Section titled “CLI Automation”Use --non-interactive to automate coderclaw onboard.
Baseline non-interactive example
Section titled “Baseline non-interactive example”coderclaw onboard --non-interactive \ --mode local \ --auth-choice apiKey \ --anthropic-api-key "$ANTHROPIC_API_KEY" \ --gateway-port 18789 \ --gateway-bind loopback \ --install-daemon \ --daemon-runtime node \ --skip-skillsAdd --json for a machine-readable summary.
Provider-specific examples
Section titled “Provider-specific examples”`--custom-api-key` is optional. If omitted, onboarding checks `CUSTOM_API_KEY`.Add another agent
Section titled “Add another agent”Use coderclaw agents add <name> to create a separate agent with its own workspace,
sessions, and auth profiles. Running without --workspace launches the wizard.
coderclaw agents add work \ --workspace ~/.coderclaw/workspace-work \ --model openai/gpt-5.2 \ --bind whatsapp:biz \ --non-interactive \ --jsonWhat it sets:
agents.list[].nameagents.list[].workspaceagents.list[].agentDir
Notes:
- Default workspaces follow
~/.coderclaw/workspace-<agentId>. - Add
bindingsto route inbound messages (the wizard can do this). - Non-interactive flags:
--model,--agent-dir,--bind,--non-interactive.
Related docs
Section titled “Related docs”- Onboarding hub: Onboarding Wizard (CLI)
- Full reference: CLI Onboarding Reference
- Command reference:
coderclaw onboard