OpenClaw Growth Pack
Bootstraps a new OpenClaw instance with aligned model routing, consistent gateway tokens, anti-stall contracts, autonomy loop, and verification gates for sta...
Description
name: openclaw-growth-pack description: Turn a fresh OpenClaw install into a reliable execution agent. Use when users report "asks step-by-step only", stalls mid-task, token mismatch, or model routing/auth failures. Apply a production onboarding baseline: model routing, gateway token consistency, anti-stall heartbeat, lightweight autonomy loop, and verification checklist.
OpenClaw Growth Pack
Apply this skill to bootstrap a new OpenClaw instance into a stable, task-completing setup.
Use this workflow in order:
- Align model routing and provider endpoint.
- Align gateway token values across runtime surfaces.
- Install anti-stall execution contract in
AGENTS.mdandHEARTBEAT.md. - Enable lightweight periodic self-check.
- Run verification gates before calling setup complete.
Keep changes minimal, auditable, and reversible.
1) Model Routing Baseline
Use one source of truth in ~/.openclaw/openclaw.json:
{
"models": {
"mode": "merge",
"providers": {
"bailian": {
"baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
"apiKey": "YOUR_CODING_PLAN_KEY"
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "bailian/qwen3-coder-plus"
}
}
}
}
Rules:
- Do not keep
coding-intl.dashscope.aliyuncs.comin active config. - Do not duplicate provider definitions in multiple files unless strictly needed.
- If
~/.openclaw/agents/main/agent/models.jsonexists, remove conflicting provider overrides.
2) Gateway Token Consistency
Keep all token surfaces aligned:
gateway.auth.tokeninopenclaw.jsongateway.remote.tokeninopenclaw.json(if present)- Dashboard Control UI token (paste the same value)
PowerShell audit:
$cfg = Get-Content "$HOME/.openclaw/openclaw.json" -Raw | ConvertFrom-Json
$auth = $cfg.gateway.auth.token
$remote = $cfg.gateway.remote.token
"auth.token = $auth"
"remote.token = $remote"
if ($remote -and $auth -ne $remote) { Write-Warning "Token mismatch in openclaw.json" }
After any token change:
openclaw gateway restart
3) Anti-Stall Contract
Write or update AGENTS.md with these mandatory constraints:
- Output state on each substantial task:
Goal,Progress,Next. - Do not stop before completion except for explicit blocker or user stop.
- On failure: retry, then fallback, then report minimal unblock input.
- Multi-step completion must include evidence artifact path or command result summary.
Write or update HEARTBEAT.md:
- Each cycle performs at most 1-2 checks.
- Either produce execution evidence or exactly
HEARTBEAT_OK. - If queue item exists, execute one concrete step, then log evidence to
memory/YYYY-MM-DD.md.
4) Lightweight Autonomy Loop
If cron/system events are available, create conservative jobs:
- Daily: unfinished-task check.
- Weekly: memory review and friction pattern extraction.
If cron is unavailable, enforce manual equivalent:
- Start-of-day: review
tasks/QUEUE.md, pick one actionable item. - End-of-day: append one lesson to
memory/YYYY-MM-DD.md.
5) Verification Gates (Do Not Skip)
Setup is complete only when all pass:
- Model call succeeds with primary route.
- Gateway access succeeds without token mismatch.
- A 3+ step task finishes with evidence.
- At least one blocker path is documented in
memory/blocked-items.md.
Recommended evidence:
- command summary
- artifact path or URL
- final status (
doneorblockedwith required input)
6) Rollback
Before edits, create backups:
Copy-Item "$HOME/.openclaw/openclaw.json" "$HOME/.openclaw/openclaw.json.bak" -Force
Rollback:
Copy-Item "$HOME/.openclaw/openclaw.json.bak" "$HOME/.openclaw/openclaw.json" -Force
openclaw gateway restart
References
For concrete command examples and troubleshooting playbooks, read:
references/examples.md
Reviews (0)
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!