PetClaw 操作コマンド
このページでは PetClaw で実際に実行するコマンド に絞って整理します。
補足: upstream ドキュメントでは
openclaw ...と書かれていることがありますが、このプロジェクトでは通常petclaw ...と読み替えて問題ありません。
よく使う 5 つのコマンド
| コマンド | 用途 | 使う場面 |
|---|---|---|
| petclaw --version | runtime バージョン確認 | インストール確認 |
| petclaw health | gateway 健全性確認 | 接続不良時 |
| petclaw gateway | gateway 起動 | サービス未起動時 |
| petclaw dashboard --no-open | token 付き dashboard URL を出力 | dashboard 確認時 |
| petclaw channels login --channel whatsapp | WhatsApp ログイン開始 | channel 設定時 |
起動と基本確認
petclaw --version
petclaw health
petclaw status
--version: runtime の存在確認health: gateway が応答しているか確認status: 人向けの全体状態を確認
Gateway コマンド
petclaw gateway
petclaw gateway run
petclaw gateway status
petclaw gateway health
petclaw gateway probe
petclaw gateway discover
petclaw gateway call <method>
gateway の起動、状態確認、到達性確認、RPC の手動呼び出しに使います。
Dashboard と session
petclaw dashboard --no-open
petclaw sessions
petclaw sessions cleanup
dashboard --no-open は token 付き URL を出力し、sessions は session の確認や cleanup に使います。
Channels コマンド
petclaw channels list
petclaw channels status
petclaw channels add
petclaw channels remove
petclaw channels login --channel whatsapp
petclaw channels logout
channel の設定やログイン状態の管理に使います。
セットアップと診断
petclaw setup
petclaw onboard
petclaw configure
petclaw config
petclaw doctor
petclaw backup
petclaw reset
setup: ローカル設定と workspace 初期化onboard: 初回セットアップconfigure: 対話式設定config: 設定確認と検証doctor: 診断と修正提案backup: ローカル状態をバックアップreset: ローカル状態をリセット
よく使うその他のコマンド群
| コマンド群 | 用途 |
|---|---|
| logs | gateway ログ確認 |
| models | モデル検出と設定 |
| approvals | 実行承認管理 |
| devices | デバイスと token 管理 |
| plugins | プラグイン管理 |
| skills | skills 確認 |
| docs | OpenClaw ドキュメント検索 |
| update | runtime / OpenClaw 更新 |
推奨確認順
petclaw --version
petclaw health
petclaw gateway
petclaw dashboard --no-open
petclaw channels status
petclaw channels login --channel whatsapp