Files
thedotmack__claude-mem/CLAUDE.md
Alex Newman e29d2213fa fix(packaging): stop shipping maintainer directives in CLAUDE.md via marketplace clone (#3381) (#3391)
* fix(packaging): stop shipping maintainer directives in CLAUDE.md via marketplace clone (#3381)

The GitHub marketplace install is a git clone of this repo, so every
tracked file ships to end users — including root CLAUDE.md, whose
maintainer-only sections (Local Status Notes, Daily Maintenance)
contain autonomous agent directives that end-user Claude instances
then obey. The .npmignore guard from #2537 only covers the npm
tarball channel (#3359), not clones.

- Move Local Status Notes and Daily Maintenance verbatim into
  CLAUDE.local.md (gitignored, auto-loaded locally by Claude Code
  for the maintainer); root CLAUDE.md keeps contributor content only
- Add CLAUDE.local.md to .gitignore
- Add --exclude=/CLAUDE.md to the marketplace rsync so the
  maintainer's local marketplace copy matches a fresh clone

Closes #3381

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RSNZmfi4vSYjTeEWtwqKrW

* fix(packaging): drop rsync CLAUDE.md exclude that preserved the stale marketplace copy

rsync --exclude also protects the DESTINATION from --delete/overwrite,
so --exclude=/CLAUDE.md would have kept the old directive-bearing
CLAUDE.md in ~/.claude/plugins/marketplaces/thedotmack/ forever. The
slim contributor CLAUDE.md is still tracked, so a fresh GitHub clone
contains it — matching that means syncing it normally and letting
rsync overwrite the stale copy. CLAUDE.local.md needs no hard-coded
exclude: the sync builds its exclude list from .gitignore
(getGitignoreExcludes), which now lists it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RSNZmfi4vSYjTeEWtwqKrW

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 15:42:32 -07:00

1.0 KiB

Claude-Mem: AI Development Instructions

Claude-mem is a Claude Code plugin providing persistent memory across sessions. It captures tool usage, compresses observations using the Claude Agent SDK, and injects relevant context into future sessions.

Build

npm run build-and-sync        # Build, sync to marketplace, restart worker

File Locations

  • Source: <project-root>/src/
  • Built Plugin: <project-root>/plugin/
  • Installed Plugin: ~/.claude/plugins/marketplaces/thedotmack/
  • Database: ~/.claude-mem/claude-mem.db
  • Chroma: ~/.claude-mem/chroma/

Requirements

  • Bun (all platforms - auto-installed if missing)
  • uv (all platforms - auto-installed if missing, provides Python for Chroma)
  • Node.js

Documentation

Public Docs: https://docs.claude-mem.ai (Mintlify) Source: docs/public/ - MDX files, edit docs.json for navigation Deploy: Auto-deploys from GitHub on push to main

Important

No need to edit the changelog ever, it's generated automatically.