agent-memory プラグイン
A four-tier memory ladder for Claude Code where promotion is earned by recurrence, not asserted by confidence. L0 raw transcripts are never injected; L1 candidate atoms are gitignored and recalled on lexical relevance per prompt; L2 project context loads each session start; L3 stable persona is always loaded. L1 to L2 needs three distinct sessions spanning two distinct calendar days (a stated claim needs two; a verified claim is the only single-observation path); L2 to L3 needs two projects and thirty days. Two gates refuse rather than guess: a claim altered by the redaction pass never promotes on evidence alone, and a contradicted claim freezes until a human resolves it. Three hooks run the loop unattended and every one fails open. Nothing reaches a committed CLAUDE.md without an explicit human adopt. Ships 5 stdlib scripts, 3 hooks, a cs-memory-curator agent, /cs-memory, a JSON schema, and a 69-check validator. Concept from TencentCloud/TencentDB-Agent-Memory (MIT); no upstream code
agent-memory プラグインのインストール方法
両方のコマンドを Claude Code 内で実行してください。最初のコマンドで marketplace を一度追加し、2 番目のコマンドでプラグインをインストールします。
/plugin marketplace add alirezarezvani/claude-skills
/plugin install agent-memory@claude-code-skillsagent-memory の内容
プラグイン自身のファイルから読み込まれた 4 個のパーツ です。
コマンド 1
/agent-memory:name として実行- /agent-memory:cs-memory
ファイルに説明がありません。
Agent 1
@agent-agent-memory:name として呼び出し- @agent-agent-memory:cs-memory-curator
ファイルに説明がありません。
SKILL 1
タスクが一致したときに Claude が読み込みます- agent-memory
ファイルに説明がありません。
Hook 1
以下のイベントで実行されます- hooks
ファイルに説明がありません。
Claude Code での agent-memory の使用方法
Claude Code セッションでコマンドを入力してください:
/agent-memory:cs-memoryAgent を名前で指定してください:
@agent-agent-memory:cs-memory-curatorSKILL にコマンドは不要です。リクエストが説明と一致したときに Claude が読み込みます。
更新、オフ、または削除
- プラグインを更新 (shell)
- claude plugin update agent-memory@claude-code-skills
- marketplace を更新
- /plugin marketplace update claude-code-skills
- 一時的にオフにする
- /plugin disable agent-memory@claude-code-skills
- 削除する
- /plugin uninstall agent-memory@claude-code-skills
agent-memory プラグインに関する質問
agent-memory プラグインをインストールするにはどうすればよいですか。
Claude Code で /plugin marketplace add alirezarezvani/claude-skills を実行し、続いて /plugin install agent-memory@claude-code-skills を実行します。
agent-memory プラグインには何が含まれていますか。
agent-memory には 1 件のコマンド, 1 件のエージェント, 1 件のスキル, フック が含まれています。
agent-memory プラグインにはどのようなコマンドが追加されますか?
/agent-memory:cs-memory が追加されます。Claude Code でプラグインのプレフィックスを使用して、例えば /agent-memory:cs-memory のように実行してください。
agent-memory にはどの Agent が含まれていますか?
cs-memory-curator です。@agent-agent-memory:cs-memory-curator で呼び出せます。
agent-memory プラグインを更新または削除するにはどうすればよいですか?
shell で claude plugin update agent-memory@claude-code-skills を使用して更新するか、/plugin の Installed タブから行ってください。削除するには /plugin uninstall agent-memory@claude-code-skills を使用してください。