H

how-it-works

by @thedotmackv
4.4(120)

claude-memスキルは、AIエージェントの活動を圧縮された観測としてどのように捉え、関連する記憶を後続のセッションに自動的に注入してコンテキストを提供するのかを説明します。これにより、AIはプロジェクトの詳細や決定を記憶し、コードベースの再説明や情報の再発見を回避できるため、開発効率とタスクの一貫性が大幅に向上します。

ai-agent-memorycontext-managementknowledge-retrievalllm-workflowdeveloper-toolsGitHub
インストール方法
npx skills add https://github.com/thedotmack/claude-mem --skill how-it-works
compare_arrows

Before / After 効果比較

1 组
使用前

メモリ管理がない場合、AIエージェントが新しいセッションを開始したり新しいタスクを処理したりするたびに、プロジェクトのコンテキスト、コードベースの構造、および以前の決定を再理解する必要があり、繰り返しのコンテキスト準備と情報検索に多くの時間が費やされます。

使用後

claude-memのメモリ注入機能により、AIエージェントは関連する履歴コンテキストを自動的に取得できるため、繰り返しの説明や情報の再発見が不要になり、コンテキスト準備時間が大幅に短縮され、開発効率とタスクの一貫性が向上します。

SKILL.md

How claude-mem works

What it does

While you work, an observer (a second agent) watches what your agent reads, edits and runs, and writes short notes about what mattered. Those notes are called observations. When a session ends, the observer writes a summary. When the next session starts, your agent gets a compact index of the observations that matter for this project and fetches full details only when it needs them.

So the next session starts where the last one left off: no re-explaining the codebase, no re-discovering decisions.

When it kicks in

Memory injection starts on your second session in a project.

The first session seeds memory as you work. To front-load a whole repo in one pass instead, run /learn-codebase (~5 minutes on a typical repo, optional).

Where data lives

Your memory lives in ~/.claude-mem on this machine: the SQLite database, vector index, logs and settings. npx claude-mem uninstall removes it.

What leaves the machine:

  • What the observer reads goes to the model you chose to run it: your Claude plan unless you picked another provider (Codex, OpenRouter, Gemini, or the claude-mem observer on CMEM Pro).
  • During install, cmem.ai gets only your email and optional note if you share them when the installer asks (it's optional and asked once), and a numbers-only usage summary (observation counts and token totals; no prompts, paths, or project names) when setup creates a sign-in link. Nothing else goes to cmem.ai unless you sign in and turn on something that uses it (cloud sync, CMEM Pro's hosted observer, a provider that runs through your cmem.ai account) or choose to upload your prompts during browser setup.
  • Anonymous usage analytics (telemetry) are on by default. Turn them off with npx claude-mem telemetry disable, or set DO_NOT_TRACK=1.

ユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数5.7K
評価4.4 / 5.0
バージョン
更新日2026年11月21日
比較事例1 件

ユーザー評価

4.4(120)
5
37%
4
43%
3
13%
2
5%
1
2%

この Skill を評価

0.0

対応プラットフォーム

🤖claude-code

タイムライン

作成2026年5月28日
最終更新2026年11月21日
🎁 Agent 知識カード
アンケート