#!/usr/bin/env bash
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# OpenClaw CLI ๆ ธๅฟๅฝไปค้ๆฅ
# docs.openclaw.ai ยท 2026
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# โโ ็ฝๅ
ณ ยท gateway โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
openclaw gateway status # ๆฅ็่ฟ่ก็ถๆ
openclaw gateway start # ๅฏๅจ็ฝๅ
ณ
openclaw gateway stop # ๅๆญข็ฝๅ
ณ
openclaw gateway restart # ้ๅฏ็ฝๅ
ณ
openclaw gateway install # ๆณจๅไธบ็ณป็ปๆๅก
openclaw gateway status --deep # ๆทฑๅบฆๆขๆตๆซๆ
openclaw gateway status --json # JSON ่พๅบ๏ผ่ๆฌ็จ๏ผ
# โโ ๅๅงๅ ยท setup โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
openclaw onboard # ไบคไบๅผๅผๅฏผๅๅฏผ
openclaw onboard --install-daemon # ๅผๅฏผ + ๅฎ่ฃ
ๆๅก๏ผ้ฆๆฌกๆจ่๏ผ
openclaw configure # ้ๆฐ้
็ฝฎๆจกๅ/้้
openclaw dashboard # ๆๅผๆต่งๅจๆงๅถๅฐ
openclaw reset --scope config # ้็ฝฎ้
็ฝฎ๏ผไฟ็ๅญ่ฏ๏ผ
openclaw reset --scope full # ๅฎๅ
จ้็ฝฎ๏ผๆ
็จ๏ผ
# โโ ้้ ยท channels โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
openclaw channels list # ๅๅบๆๆ้้
openclaw channels status --probe # ๆขๆต่ฟๆฅ็ถๆ
openclaw channels login # WhatsApp ๆซ็ ็ปๅฝ
openclaw channels add --channel telegram --token "$TGTOKEN" # ๆฅๅ
ฅ Telegram
openclaw channels logs --channel telegram # ๆฅ็้้ๆฅๅฟ
openclaw channels remove --channel discord # ็งป้ค้้
# โโ ๅฎๆถไปปๅก ยท cron โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
openclaw cron list --all # ๆฅ็ๅ
จ้จไปปๅก
openclaw cron status # ไปปๅก็ถๆๆฆ่ง
openclaw cron add --name "brief" --cron "0 9 * * 1-5" --message "ๅ้ไปๆฅๆ่ฆ" # ๆทปๅ ๅฎๆถไปปๅก
openclaw cron run --id brief # ็ซๅณ่งฆๅไปปๅก
openclaw cron enable --id brief # ๅฏ็จไปปๅก
openclaw cron disable --id brief # ๆๅไปปๅก
openclaw cron runs --id brief --limit 10 # ๆฅ็่ฟ่กๅๅฒ
openclaw cron rm --id brief # ๅ ้คไปปๅก
# โโ ่ฏๆญ ยท doctor & logs โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
openclaw doctor # ๅฅๅบทๆฃๆฅ
openclaw doctor --deep --yes # ๆทฑๅบฆๆฃๆฅๅนถ่ชๅจไฟฎๅค
openclaw logs --follow # ๅฎๆถๆฅๅฟๆต
openclaw logs --json --limit 200 # JSON ๆ ผๅผๆฅๅฟ
openclaw status --all --deep # ๅ
จ้ข็ณป็ป่ฏๆญ
openclaw status --usage # ๆฅ็ๆไพๅ็จ้/้
้ข
openclaw health --json --verbose # ่ฏฆ็ปๅฅๅบทๆฅๅ
# โโ ๆจกๅ ยท models โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
openclaw models list # ๅๅบๅฏ็จๆจกๅ
openclaw models status --check # ๆฃๆฅ API Key ็ถๆ
openclaw models auth paste-token --provider anthropic # ่ฎพ็ฝฎ API Key
openclaw models aliases add "claude" "claude-sonnet-4-20250514" # ๆทปๅ ๆจกๅๅซๅ
openclaw models fallbacks add "claude-sonnet-4" "gpt-4o" # ้
็ฝฎๅ้ๆจกๅ้พ
openclaw models scan --set-default --yes # ๆซๆๅนถๆดๆฐๆจกๅ็ฎๅฝ
# โโ ๆ่ฝ & ๆไปถ ยท skills / plugins โโโโโโโโโโโโโโโโโโโโโโโโโ
openclaw skills list # ๅๅบๆๆๆ่ฝ
openclaw skills list --eligible # ไป
ๆพ็คบๅฏ็จๆ่ฝ
openclaw skills info <name> # ๆฅ็ๆ่ฝ่ฏฆๆ
npx clawhub install email # ไป ClaWHub ๅฎ่ฃ
ๆ่ฝ
openclaw plugins list # ๅๅบๅทฒๅฎ่ฃ
ๆไปถ
openclaw plugins install --path ./my-plugin # ๆฌๅฐๅฎ่ฃ
ๆไปถ
openclaw plugins doctor # ๆฃๆฅๆไปถๅ ่ฝฝ้่ฏฏ
# โโ ๅค Agent & ้
็ฝฎ ยท agents / config โโโโโโโโโโโโโโโโโโโโโโ
openclaw agents list --bindings # ๅๅบ Agent ๅ่ทฏ็ฑ็ปๅฎ
openclaw agents add <name> --workspace ./ws # ๅๅปบๆฐ Agent
openclaw agents delete <name> # ๅ ้ค Agent
openclaw config get # ๆฅ็ๅฝๅ้
็ฝฎ
openclaw config set <key> <value> # ไฟฎๆน้
็ฝฎ้กน
openclaw --profile work channels add # ๅค้
็ฝฎๆไปถ้็ฆป
# โโ ๅ
จๅฑ Flag๏ผ้็จไบๆๆๅฝไปค๏ผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# --json JSON ๆ ผๅผ่พๅบ๏ผ้ๅ่ๆฌ / CI๏ผ
# --no-color ็ฆ็จๅฝฉ่ฒ่พๅบ
# --profile <n> ๆๅฎ้
็ฝฎๆไปถ๏ผๅค็ฏๅข้็ฆป๏ผ