{"slug":"memory-review","title":"memory-review","summary":"Review the file-based memory store via the Agent Monitor Config Explorer API: the user and project CLAUDE.md plus per-project auto-memory files under ~/.claude/projects/<slug>/memory/*.md. Groups by project, shows the index (MEMORY.md) vs per-fact files, and flags stale or oversi","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-09-07T18:38:58.333623Z","repo":{"url":"https://github.com/hoangsonww/Claude-Code-Agent-Monitor","stars":1014,"forks":238,"license":"MIT","updatedAt":"2026-09-24T18:17:15Z"},"bodyHtml":"<hr>\n<h2>name: memory-review\ndescription: &gt;\nReview the file-based memory store via the Agent Monitor Config Explorer API:\nthe user and project CLAUDE.md plus per-project auto-memory files under\n~/.claude/projects/</h2>\n<h1>Memory Review</h1>\n<p>Curate the user's file-based agent memory: the long-form CLAUDE.md files plus\nthe per-project auto-memory store — read through the Agent Monitor dashboard at\n<code>http://localhost:4820</code>.</p>\n<h2>Input</h2>\n<p>The user provides: <strong>$ARGUMENTS</strong></p>\n<p>This may be:</p>\n<ul>\n<li>empty — review the whole memory store across every project (default).</li>\n<li>a project slug (e.g. <code>-Users-david-WebstormProjects-foo</code>) — restrict the\nreview to that one project's auto-memory dir.</li>\n<li>\"claude-md\" — review only the user/project CLAUDE.md files.</li>\n</ul>\n<h2>Data Sources</h2>\n<table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Returns</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>GET /api/cc-config/memory</code></td>\n<td><code>{ items:[…] }</code>. CLAUDE.md entries: <code>{ scope:\"user\"\\|\"project\", file, size, mtime, preview }</code>. Auto-memory entries: <code>{ scope:\"auto-memory\", project, name, isIndex, file, size, mtime, frontmatter, preview }</code></td>\n</tr>\n<tr>\n<td><code>GET /api/cc-config/file?path=&lt;abs&gt;</code></td>\n<td>full body of one file: <code>{ ok, file, size, mtime, truncated, text }</code> — use to read a fact in full before recommending an edit</td>\n</tr>\n</tbody>\n</table>\n<h2>Report Sections</h2>\n<h3>1. CLAUDE.md overview</h3>\n<p>List the user and project CLAUDE.md entries with <code>scope</code>, <code>size</code> (KB), and\nlast-modified (<code>mtime</code>). Note any that are <code>truncated</code> (over 256 KB) — these\nare oversized and worth splitting into auto-memory facts.</p>\n<h3>2. Per-project auto-memory, grouped</h3>\n<p>Group <code>scope: \"auto-memory\"</code> items by <code>project</code>. For each project show the\n<strong>index</strong> (<code>isIndex: true</code>, typically <code>MEMORY.md</code>) first, then the per-fact\nfiles. For each fact show <code>name</code>, <code>frontmatter.description</code> if present, <code>size</code>,\nand <code>mtime</code>.</p>\n<h3>3. Index vs per-fact consistency</h3>\n<p>Within each project, compare the index (<code>MEMORY.md</code>) against the per-fact files\npresent. Flag facts that exist on disk but are not referenced by the index, and\nindex entries that point at files which no longer appear in <code>/memory</code>.</p>\n<h3>4. Stale &amp; oversized facts</h3>\n<p>Flag facts whose <code>mtime</code> is old relative to the rest of the store (stale —\ncandidates to confirm or retire) and facts whose <code>size</code> is large (oversized —\ncandidates to split into smaller, single-fact files). When the user wants to\nact on one, fetch its full body with <code>GET /api/cc-config/file?path=&lt;file&gt;</code>\nbefore recommending changes.</p>\n<h2>Editing memory (mutations)</h2>\n<p>Auto-memory files are editable through the Config Explorer. To create/overwrite\na fact:</p>\n<pre><code>curl -s -X PUT http://localhost:4820/api/cc-config/file \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"scope\":\"auto-memory\",\"type\":\"auto-memory\",\"project\":\"&lt;slug&gt;\",\"name\":\"&lt;fact&gt;.md\",\"content\":\"...\"}'\n</code></pre>\n<p>To delete a fact:</p>\n<pre><code>curl -s -X DELETE http://localhost:4820/api/cc-config/file \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"scope\":\"auto-memory\",\"type\":\"auto-memory\",\"project\":\"&lt;slug&gt;\",\"name\":\"&lt;fact&gt;.md\"}'\n</code></pre>\n<p>A timestamped backup is written automatically before any edit or delete.\nThe user/project CLAUDE.md uses <code>type:\"memory\"</code> with a <code>scope</code> and no <code>name</code>.\n<strong>Never edit or delete a memory file without explicit per-action confirmation\nfrom the user</strong> — default to read-only review.</p>\n<h2>Output</h2>\n<ul>\n<li>Section 1 as a short table (<code>Scope | File | Size | Modified | Truncated</code>).</li>\n<li>Section 2 grouped by project, index first, then facts.</li>\n<li>Sizes in KB; timestamps as relative age; use ▲ for oversized / stale flags.</li>\n<li>Cite only fields the API returned — never invent facts, names, or sizes.</li>\n<li>If the dashboard is unreachable at <code>http://localhost:4820</code>, say so and tell\nthe user to start it with <code>npm start</code> from the repo root.</li>\n</ul>\n","files":[{"path":"agents/openai.yaml","sizeBytes":264,"isText":true},{"path":"SKILL.md","sizeBytes":3902,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-09-07T18:40:47.085433Z","sha256":"60DACEAE81C72F3B29FE3B2F74A1371CDDFE876B34BA6653E7B3FA3B84F6B177","sizeBytes":2133},"review":null,"source":{"repositoryUrl":"https://github.com/hoangsonww/Claude-Code-Agent-Monitor","path":"plugins/ccam-config/skills/memory-review","license":"MIT","commit":"d130ebb498786c2b985a57e5c920ca781060b709","subtreeSha":"F8650D5ABFA0914B2CBD4B601F70391314EEB86FD66F120FCDE3E0646A1547D4","lastSyncedAt":"2026-09-25T06:49:18.541012Z"},"reviewedAt":"2026-09-07T18:44:42.886982Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/hoangsonww/Claude-Code-Agent-Monitor/tree/master/plugins/ccam-config/skills/memory-review"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install hoangsonww-claude-code-agent-monitor@llmmart"},{"target":"git","command":"git clone https://github.com/hoangsonww/Claude-Code-Agent-Monitor.git"}]}