> ## Documentation Index
> Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# `openclaw commitments`

推論されたフォローアップのコミットメントを一覧表示および管理します。

コミットメントはオプトイン（`commitments.enabled`）で、会話コンテキストから作成され、Heartbeat によって配信される短期間のフォローアップメモリです。概念ガイドと設定については、[推論されたコミットメント](/ja-JP/concepts/commitments)を参照してください。

サブコマンドなしの場合、`openclaw commitments` は保留中のコミットメントを一覧表示します。

## 使用方法

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw commitments [--all] [--agent <id>] [--status <status>] [--json]
openclaw commitments list [--all] [--agent <id>] [--status <status>] [--json]
openclaw commitments dismiss <id...> [--json]
```

## オプション

* `--all`: 保留中のコミットメントだけでなく、すべてのステータスを表示します。
* `--agent <id>`: 1 つのエージェント ID に絞り込みます。
* `--status <status>`: ステータスで絞り込みます。値: `pending`、`sent`、
  `dismissed`、`snoozed`、または `expired`。不明な値はエラーで終了します。
* `--json`: 機械可読な JSON を出力します。

`dismiss` は指定されたコミットメント ID を `dismissed` としてマークし、Heartbeat がそれらを配信しないようにします。

## 例

保留中のコミットメントを一覧表示します。

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw commitments
```

保存されているすべてのコミットメントを一覧表示します。

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw commitments --all
```

1 つのエージェントに絞り込みます。

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw commitments --agent main
```

スヌーズされたコミットメントを検索します。

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw commitments --status snoozed
```

1 つ以上のコミットメントを破棄します。

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw commitments dismiss cm_abc123 cm_def456
```

JSON としてエクスポートします。

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw commitments --all --json
```

## 出力

テキスト出力では、コミットメント数、ストアパス、有効なフィルター、
およびコミットメントごとの 1 行が出力されます。

* コミットメント ID
* ステータス
* 種類（`event_check_in`、`deadline_check`、`care_check_in`、または `open_loop`）
* 最短の期限時刻
* スコープ（エージェント/チャンネル/ターゲット）
* 推奨されるチェックインテキスト

JSON 出力には、件数、有効なステータスおよびエージェントのフィルター、
コミットメントストアパス、保存されている完全なレコードが含まれます。

## 関連

* [推論されたコミットメント](/ja-JP/concepts/commitments)
* [メモリの概要](/ja-JP/concepts/memory)
* [Heartbeat](/ja-JP/gateway/heartbeat)
* [スケジュールされたタスク](/ja-JP/automation/cron-jobs)
