Claude Code
CLI name: claude · Status: supported
Prerequisites
Section titled “Prerequisites”Install Claude Code so claude
is on PATH. Sign in the way Anthropic documents for headless use.
Agent config
Section titled “Agent config”cli = "claude"model = "sonnet" # or opus, haiku, or a full model idprofile = "edit"extra_args are appended after adapter flags (see Agent TOML).
What wteam runs
Section titled “What wteam runs”Each turn is roughly:
claude -p <prompt> --output-format stream-json --verbose [--model …] [--resume <id> | --append-system-prompt <role>] …- First turn: role text from
roles/<role>.mdgoes in--append-system-prompt. - Later turns:
--resume <session_id>fromstate.json. - Output: JSONL on stdout. Session id from any event; assistant text from the
final
resultevent; context from the last top-levelassistantusage.
Turn logs: .wteam/<slug>/logs/<agent>-<turn>.log.
Permissions
Section titled “Permissions”Claude is the reference implementation for profiles: rules map to --settings JSON
and a permission mode. dontAsk denies anything not explicitly allowed.
Run wteam permissions --profile edit --cli claude before your first real run.
Matrix detail: Permissions.
Environment
Section titled “Environment”| Variable | Effect |
|---|---|
WTEAM_CLAUDE_USER_SETTINGS=1 |
Allow user hooks, skills and permission rules (default: project + local only, slash commands off) |
See also
Section titled “See also”- Architecture
- Benchmark (Commit0 baseline uses Claude)