CLI commands
CLI リファレンス
openclaw はメインの CLI エントリーポイントです。各コアコマンドには
専用のリファレンスページがあるか、エイリアス先のコマンドとともに文書化されています。この
インデックスでは、CLI 全体に適用されるコマンド、グローバルフラグ、出力スタイル規則を
一覧化しています。
コマンドページ
| 領域 | コマンド |
|---|---|
| セットアップとオンボーディング | crestodian · setup · onboard · configure · config · completion · doctor · dashboard |
| リセットとアンインストール | backup · reset · uninstall · update |
| メッセージングとエージェント | message · agent · agents · acp · mcp |
| ヘルスとセッション | status · health · sessions |
| Gateway とログ | gateway · logs · system |
| モデルと推論 | models · infer · capability (infer のエイリアス) · memory · commitments · wiki |
| ネットワークとノード | directory · nodes · devices · node |
| ランタイムとサンドボックス | approvals · exec-policy (approvals を参照) · sandbox · tui · chat/terminal (tui --local のエイリアス) · browser |
| 自動化 | cron · tasks · hooks · webhooks |
| 検出とドキュメント | dns · docs |
| ペアリングとチャンネル | pairing · qr · channels |
| セキュリティとPlugin | security · secrets · skills · plugins · proxy |
| レガシーエイリアス | daemon (Gateway サービス) · clawbot (名前空間) |
| Plugin (任意) | voicecall (インストール済みの場合) |
グローバルフラグ
| フラグ | 目的 |
|---|---|
--dev |
~/.openclaw-dev 配下に状態を分離し、デフォルトポートをずらします |
--profile <name> |
~/.openclaw-<name> 配下に状態を分離します |
--container <name> |
実行対象として名前付きコンテナを指定します |
--no-color |
ANSI カラーを無効化します (NO_COLOR=1 も尊重されます) |
--update |
openclaw update の短縮形です (ソースインストールのみ) |
-V, --version, -v |
バージョンを出力して終了します |
出力モード
- ANSI カラーと進行状況インジケーターは TTY セッションでのみ描画されます。
- OSC-8 ハイパーリンクは、対応している環境ではクリック可能なリンクとして描画されます。それ以外の場合、 CLI はプレーンな URL にフォールバックします。
--json(および対応している場合は--plain) は、クリーンな出力のためにスタイルを無効化します。- 長時間実行されるコマンドは進行状況インジケーターを表示します (対応している場合は OSC 9;4)。
パレットの信頼できるソース: src/terminal/palette.ts。
コマンドツリー
完全なコマンドツリー
openclaw [--dev] [--profile <name>] <command>
crestodian
setup
onboard
configure
config
get
set
unset
file
schema
validate
completion
doctor
dashboard
backup
create
verify
security
audit
secrets
reload
audit
configure
apply
reset
uninstall
update
wizard
status
channels
list
status
capabilities
resolve
logs
add
remove
login
logout
directory
self
peers list
groups list|members
skills
search
install
update
list
info
check
plugins
list
inspect
install
uninstall
update
enable
disable
doctor
marketplace list
memory
status
index
search
commitments
list
dismiss
wiki
status
doctor
init
ingest
compile
lint
search
get
apply
bridge import
unsafe-local import
obsidian status|search|open|command|daily
message
send
broadcast
poll
react
reactions
read
edit
delete
pin
unpin
pins
permissions
search
thread create|list|reply
emoji list|upload
sticker send|upload
role info|add|remove
channel info|list
member info
voice status
event list|create
timeout
kick
ban
agent
agents
list
add
delete
bindings
bind
unbind
set-identity
acp
mcp
serve
list
show
set
unset
status
health
sessions
cleanup
tasks
list
audit
maintenance
show
notify
cancel
flow list|show|cancel
gateway
call
usage-cost
health
status
probe
discover
install
uninstall
start
stop
restart
run
daemon
status
install
uninstall
start
stop
restart
logs
system
event
heartbeat last|enable|disable
presence
models
list
status
set
set-image
aliases list|add|remove
fallbacks list|add|remove|clear
image-fallbacks list|add|remove|clear
scan
infer (alias: capability)
list
inspect
model run|list|inspect|providers|auth login|logout|status
image generate|edit|describe|describe-many|providers
audio transcribe|providers
tts convert|voices|providers|status|enable|disable|set-provider
video generate|describe|providers
web search|fetch|providers
embedding create|providers
auth add|login|login-github-copilot|setup-token|paste-token
auth order get|set|clear
sandbox
list
recreate
explain
cron
status
list
add
edit
rm
enable
disable
runs
run
nodes
status
describe
list
pending
approve
reject
rename
invoke
notify
push
canvas snapshot|present|hide|navigate|eval
canvas a2ui push|reset
camera list|snap|clip
screen record
location get
devices
list
remove
clear
approve
reject
rotate
revoke
node
run
status
install
uninstall
stop
restart
approvals
get
set
allowlist add|remove
exec-policy
show
preset
set
browser
status
start
stop
reset-profile
tabs
open
focus
close
profiles
create-profile
delete-profile
screenshot
snapshot
navigate
resize
click
type
press
hover
drag
select
upload
fill
dialog
wait
evaluate
console
pdf
hooks
list
info
check
enable
disable
install
update
webhooks
gmail setup|run
proxy
start
run
coverage
sessions
query
blob
purge
pairing
list
approve
qr
clawbot
qr
docs
dns
setup
tui
chat (alias: tui --local)
terminal (alias: tui --local)
Plugin は追加のトップレベルコマンドを追加できます (例: openclaw voicecall)。
チャットスラッシュコマンド
チャットメッセージは /... コマンドをサポートします。スラッシュコマンド を参照してください。
注目点:
/status— 簡易診断。/trace— セッションスコープのPluginトレース/デバッグ行。/config— 永続化される設定変更。/debug— ランタイム専用の設定上書き (メモリのみ、ディスクではありません。commands.debug: trueが必要です)。
使用量トラッキング
OAuth/API 認証情報が利用可能な場合、openclaw status --usage と Control UI はプロバイダーの使用量/クォータを表示します。データはプロバイダーの使用量
エンドポイントから直接取得され、X% left に正規化されます。現在の使用量
ウィンドウに対応しているプロバイダー: Anthropic、GitHub Copilot、Gemini CLI、OpenAI Codex、MiniMax、
Xiaomi、z.ai。
詳細は 使用量トラッキング を参照してください。