メインコンテンツへスキップ
cohaku memory context
優先度順(rule > working > long_term)にメモリを返します。get_context MCP ツールと同じコンテキストを提供します。

オプション

オプション短縮形デフォルト説明
--max-n50返すメモリの最大件数
--scope-sprojectスコープ: project, global, all

使用例

# デフォルトのコンテキストを取得
cohaku memory context

# すべてのスコープから最大20件を取得
cohaku memory context --scope all -n 20