openclaw-cli
OpenClaw CLIを使いこなすためのスキルで、gateway・agents・channels・skills・hooks・automationといった主要機能の操作を支援します。CLIを通じた設定・管理・自動化のあらゆる場面で活用できます。
description の原文を見る
Master the OpenClaw CLI - gateway, agents, channels, skills, hooks, and automation
SKILL.md 本文
OpenClaw CLI
openclaw コマンドラインインターフェース操作の完全リファレンス。
使用する場面
OpenClaw gateway、agents、channels、skills、hooks、automation の管理。
コアコマンド
セットアップとオンボーディング
初期セットアップ:
# デーモンインストール付きのクイックオンボーディング
openclaw onboard --install-daemon
# ワークスペースと設定のセットアップ
openclaw setup --workspace ~/.openclaw/workspace
# インタラクティブな設定
openclaw configure
ヘルスチェック:
openclaw doctor
Gateway 管理
Gateway を実行:
# インタラクティブモード
openclaw gateway
# 特定のポートを指定
openclaw gateway --port 18789
# tailscale を使用
openclaw gateway --tailscale serve
Gateway サービス:
# システムサービスとしてインストール
openclaw gateway install
# サービスを制御
openclaw gateway start
openclaw gateway stop
openclaw gateway restart
openclaw gateway status
Gateway ヘルス:
openclaw status
openclaw status --deep # Channels をプローブ
openclaw health
Agent 管理
Agent を一覧表示:
openclaw agents list
openclaw agents list --bindings # ルーティングを表示
Agent を追加:
# インタラクティブウィザード
openclaw agents add <name>
# 非インタラクティブ
openclaw agents add dev \
--workspace ~/.openclaw/workspace-dev \
--model claude-sonnet-4.5 \
--non-interactive
Agent を削除:
openclaw agents delete <id>
アイデンティティを設定:
# IDENTITY.md から
openclaw agents set-identity --agent main --from-identity
# 明示的な値
openclaw agents set-identity --agent main \
--name "MyAgent" \
--emoji "🤖" \
--avatar avatars/bot.png
Skills 管理
Skills を一覧表示:
openclaw skills list
openclaw skills list --eligible # 準備完了している skills のみ
openclaw skills list --json # JSON 出力
Skill 情報:
openclaw skills info <skill-name>
適格性をチェック:
openclaw skills check
Hooks 管理
Hooks を一覧表示:
openclaw hooks list
openclaw hooks list --eligible
openclaw hooks list --verbose # 不足している要件を表示
Hook 情報:
openclaw hooks info <hook-name>
有効/無効:
openclaw hooks enable session-memory
openclaw hooks disable command-logger
Hooks をインストール:
# npm から
openclaw hooks install @openclaw/my-hooks
# ローカルディレクトリ
openclaw hooks install ./my-hooks
# リンク (開発用)
openclaw hooks install -l ./my-hooks
Hooks を更新:
openclaw hooks update <id>
openclaw hooks update --all
Channel 管理
Channels を一覧表示:
openclaw channels list
Channel ステータス:
openclaw channels status
openclaw channels status --probe
Channel を追加:
# インタラクティブ
openclaw channels add
# Telegram bot
openclaw channels add --channel telegram \
--account alerts \
--name "Alerts Bot" \
--token $TELEGRAM_BOT_TOKEN
# Discord
openclaw channels add --channel discord \
--account work \
--token $DISCORD_BOT_TOKEN
Channel を削除:
openclaw channels remove --channel telegram --account alerts
openclaw channels remove --channel discord --account work --delete
WhatsApp ログイン:
openclaw channels login --channel whatsapp
Channel ログ:
openclaw channels logs
openclaw channels logs --channel whatsapp --lines 100
モデルと認証
ステータス:
openclaw models status
openclaw models status --probe # ライブチェック
openclaw models status --probe-provider anthropic
モデルを一覧表示:
openclaw models list
openclaw models list --all
openclaw models list --provider anthropic
デフォルトを設定:
openclaw models set claude-sonnet-4.5
openclaw models set-image claude-sonnet-4.5
認証セットアップ:
# Anthropic (推奨)
claude setup-token
openclaw models auth setup-token --provider anthropic
# またはトークンを貼り付け
openclaw models auth paste-token --provider anthropic
フォールバック:
openclaw models fallbacks list
openclaw models fallbacks add claude-opus-4.6
openclaw models fallbacks remove claude-haiku-4.5
openclaw models fallbacks clear
モデルをスキャン:
openclaw models scan
openclaw models scan --set-default
メッセージング
メッセージを送信:
openclaw message send \
--target +15555550123 \
--message "Hello from OpenClaw"
# Discord チャネル
openclaw message send \
--channel discord \
--target channel:123456 \
--message "Deployment complete"
ポーログを送信:
openclaw message poll \
--channel discord \
--target channel:123 \
--poll-question "Lunch?" \
--poll-option "Pizza" \
--poll-option "Sushi"
その他のメッセージ操作:
openclaw message read --target +15555550123
openclaw message react --target <id> --emoji "👍"
openclaw message edit --target <id> --message "Updated"
openclaw message delete --target <id>
ブラウザ制御
ステータスと制御:
openclaw browser status
openclaw browser start
openclaw browser stop
openclaw browser tabs
ナビゲート:
openclaw browser open https://example.com
openclaw browser navigate https://example.com --target-id <id>
操作:
openclaw browser click "#submit-button"
openclaw browser type "#email" "user@example.com"
openclaw browser press Enter
キャプチャ:
openclaw browser screenshot
openclaw browser screenshot --full-page
openclaw browser snapshot --format ai
プロファイル:
openclaw browser profiles
openclaw browser create-profile --name dev
openclaw browser delete-profile --name old
Nodes とデバイス
Nodes を一覧表示:
openclaw nodes list
openclaw nodes status --connected
Node 操作:
# Node を説明
openclaw nodes describe --node <id>
# Node 上でコマンドを実行
openclaw nodes run --node <id> --cwd /path -- ls -la
# 通知 (macOS)
openclaw nodes notify --node <id> \
--title "Build Complete" \
--body "Success" \
--sound default
カメラ:
openclaw nodes camera list --node <id>
openclaw nodes camera snap --node <id> --facing front
openclaw nodes camera clip --node <id> --duration 10s
Canvas:
openclaw nodes canvas snapshot --node <id>
openclaw nodes canvas present --node <id> --target index.html
openclaw nodes canvas hide --node <id>
スクリーン録画:
openclaw nodes screen record --node <id> --duration 30s
システムコマンド
システムイベント:
openclaw system event --text "Deployment complete" --mode now
Heartbeat:
openclaw system heartbeat last
openclaw system heartbeat enable
openclaw system heartbeat disable
プレゼンス:
openclaw system presence
Cron ジョブ
ジョブを一覧表示:
openclaw cron list
openclaw cron list --all
openclaw cron status
ジョブを追加:
# 毎時間システムイベント
openclaw cron add \
--name "hourly-check" \
--every "1h" \
--system-event "Hourly check"
# 特定の時刻にメッセージ
openclaw cron add \
--name "morning-reminder" \
--at "09:00" \
--message "Good morning!"
ジョブを管理:
openclaw cron enable <id>
openclaw cron disable <id>
openclaw cron rm <id>
openclaw cron run <id>
ジョブの実行:
openclaw cron runs --id <id> --limit 10
設定
設定値を取得/設定:
# 値を取得
openclaw config get agents.defaults.model.primary
# 値を設定
openclaw config set agents.defaults.model.primary "claude-sonnet-4.5"
# 値をリセット
openclaw config unset some.config.path
メモリ操作
メモリステータス:
openclaw memory status
メモリをインデックス:
openclaw memory index
メモリを検索:
openclaw memory search "GraphQL implementation patterns"
ログ
ログを表示:
openclaw logs
openclaw logs --follow
openclaw logs --limit 200
openclaw logs --json
Sandbox
Sandbox を一覧表示:
openclaw sandbox list
Sandbox を再作成:
openclaw sandbox recreate
セキュリティ
セキュリティ監査:
openclaw security audit
openclaw security audit --deep
openclaw security audit --fix
Plugins
Plugins を一覧表示:
openclaw plugins list
openclaw plugins list --json
Plugin 情報:
openclaw plugins info <plugin-id>
Plugin をインストール:
openclaw plugins install <path-or-spec>
有効/無効:
openclaw plugins enable <id>
openclaw plugins disable <id>
Plugin ヘルス:
openclaw plugins doctor
更新とメンテナンス
OpenClaw を更新:
openclaw update
設定をリセット:
openclaw reset --scope config
openclaw reset --scope config+creds+sessions
openclaw reset --scope full
アンインストール:
openclaw uninstall --service
openclaw uninstall --state
openclaw uninstall --workspace
openclaw uninstall --all
グローバルフラグ
すべてで利用可能:
--dev # ~/.openclaw-dev を使用して分離
--profile <name> # ~/.openclaw-<name> を使用
--no-color # ANSI 色を無効化
--json # マシン読み込み可能な出力
-V, --version # バージョンを表示
一般的なワークフロー
初回セットアップ
# 1. デーモンでオンボード
openclaw onboard --install-daemon
# 2. WhatsApp をペア (またはその他のチャネル)
openclaw channels login
# 3. Gateway を起動
openclaw gateway
# 4. メッセージでテスト
openclaw message send --target +1234567890 --message "Test"
マルチ Agent セットアップ
# 1. Agent を追加
openclaw agents add work --workspace ~/.openclaw/workspace-work
# 2. アイデンティティを設定
openclaw agents set-identity --agent work --from-identity
# 3. バインディングを追加 (openclaw.json 内)
# bindings: [{ agentId: "work", match: { channel: "discord" } }]
# 4. 確認するために一覧表示
openclaw agents list --bindings
Hook オートメーション
# 1. session memory hook を有効化
openclaw hooks enable session-memory
# 2. command logger を有効化
openclaw hooks enable command-logger
# 3. 確認
openclaw hooks check
# 4. Gateway を再起動
openclaw gateway restart
Channel セットアップ
# 1. Telegram bot を追加
openclaw channels add --channel telegram \
--account alerts \
--token $TELEGRAM_BOT_TOKEN
# 2. 確認
openclaw channels status
# 3. テストメッセージを送信
openclaw message send --channel telegram \
--target <chat-id> \
--message "Bot online"
モデル設定
# 1. 認証をセットアップ
claude setup-token
# 2. デフォルトモデルを設定
openclaw models set claude-sonnet-4.5
# 3. フォールバックを追加
openclaw models fallbacks add claude-opus-4.6
openclaw models fallbacks add claude-haiku-4.5
# 4. 確認
openclaw models status
デバッグ
Gateway ステータスをチェック:
openclaw status --deep
openclaw doctor
openclaw health
ログを表示:
openclaw logs --follow
openclaw channels logs --lines 200
Channel をテスト:
openclaw channels status --probe
Skills/Hooks をチェック:
openclaw skills check
openclaw hooks check
openclaw plugins doctor
ヒント
- スクリプト化には
--jsonを使用 - すべてのコマンドが JSON 出力をサポート - Profile 分離 - メイン設定に影響を与えずテストするには
--profileを使用 - Doctor で修正 - 問題をキャッチするために定期的に
openclaw doctorを実行 - ログの場所 -
~/.openclaw/logs/はファイルログ用 - 設定の場所 -
~/.openclaw/openclaw.json - ワークスペース -
~/.openclaw/workspace(またはカスタムパス)
リソース
ライセンス: MIT(寛容ライセンスのため全文を引用しています) · 原本リポジトリ
詳細情報
- 作者
- irangareddy
- ライセンス
- MIT
- 最終更新
- 不明
Source: https://github.com/irangareddy/openclaw-essentials / ライセンス: MIT
関連スキル
newsblur-cli
ターミナルからNewsBlurを管理できます。フィードの閲覧、ストーリーの検索、記事の保存・共有、インテリジェンス分類器の学習、新しいフィードの発見、ワークフローの自動化がNewsBlur CLIで実現します。ユーザーがNewsBlurアカウントを操作したい場合、フィードの確認、購読管理、またはニュース読み込みに関するスクリプト構築時に活用してください。
caveman-compress
自然言語のメモリファイル(CLAUDE.md、todos、preferences)を「原始人形式」に圧縮し、入力トークンを削減します。技術的な内容、コード、URL、構造はすべて保持したまま圧縮します。圧縮版が元のファイルを上書きし、人間が読める形のバックアップはFILE.original.mdとして保存されます。トリガー:/caveman-compress FILEPATH または「compress memory file」
find-skills
日本語の意図から Agent Skills を発見する。「楽天SEOのスキル探して」「PDFを処理したい」「データ分析を自動化したい」などの日本語リクエストに対応。Claude Code (CLI)、Codex、Gemini CLI、claude.ai (Web) いずれでも動作。日本最大の Agent Skills データベース「Agent Skills by ALSEL」(11,000件超、全件日本語化、ダウンロード可能スキル8,600件超) から、ユーザーの意図に合うスキルを推薦・インストール案内する。
planning-and-task-breakdown
仕事を順序立てたタスクに分割します。仕様書や要件が明確にあり、実装可能なタスクに分解する必要がある場合に利用してください。タスクが大きすぎて着手しづらい場合、スコープを見積もる必要がある場合、または並列で作業を進められる場合に活用できます。
docx
このスキルは、ユーザーがWord文書(.docxファイル)を作成、読み込み、編集、操作したいときに使用します。以下の場合に実行してください:「Word文書」「.docx」などの記述、または目次・見出し・ページ番号・レターヘッドなどのフォーマットを含む専門的な文書の作成リクエスト。また、.docxファイルのコンテンツ抽出・再編成、文書への画像挿入・置換、Word形式での検索置換、変更履歴やコメント機能の使用、コンテンツを整形したWord文書への変換の場合も対象です。ユーザーが「レポート」「メモ」「手紙」「テンプレート」などの成果物をWord形式または.docxファイルで求める場合はこのスキルを使用してください。PDF、スプレッドシート、Google Docs、文書作成と無関係なコーディングタスクには使用しないでください。
idea-refine
アイデアを反復的に改善します。構造化された発散的思考と収束的思考を通じて、アイデアを洗練させることができます。「idea-refine」または「ideate」を使用してトリガーします。