Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By mooktakimv0.6.0MITIn 1 marketplace
Long-term project memory in git, on top of the project-log work log: a protocol for typed notes with citations, a generated index, an inbox for unverified knowledge, and lessons, checked by a fast project-memory command
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Gives a project long-term memory that lives in git, so every session, teammate, and agent starts from what the project already learned. It builds on the work log of project-log, which installs with it as a dependency.
Agents follow what they retrieve closely, so a memory full of stale or unverified notes does more harm than none. This plugin sets up a protocol built around that: keep always-loaded context small, store only what cannot be cheaply re-derived from the code, cite the code behind every fact and check the citation before trusting it, and let nothing unverified become guidance.
/plugin marketplace add mooktakim/skills
/plugin install project-memory@mooktakim
AGENTS.md # short blocks pointing at the protocols and the index
CLAUDE.md # @AGENTS.md: Claude Code reads only CLAUDE.md and expands the import
docs/
MEMORY.md # the memory protocol, plus this project's own overrides
LOG.md # the work log protocol (project-log)
INDEX.md # generated: one line per curated note, read at task start
conventions/ architecture/ decisions/ playbooks/ gotchas/ # curated notes
lessons.md # abstract lessons with helpful/harmful counters
log/YYYY/MM/DD/ # the work log (project-log): one EPOCH-slug.md per finished unit of work
inbox/ # proposed memories awaiting verification
archive/ # superseded or expired notes
The protocol travels with the repository: once set up, Claude follows docs/MEMORY.md with or without this plugin installed.
path:line), sources, and when they were last verified.project-log owns it: its protocol, its migration from older history logs, and its project-log lint check.project-memory lint checks frontmatter, folders, citations, links, the index, size budgets, and common secret patterns. Claude runs it after changing docs/; a project can also run it in CI. project-memory index writes the index and project-memory stale lists what a consolidation pass must look at.How knowledge moves through the project:
flowchart LR
work["Finished work"] --> log["docs/log/ entry<br/>in the same commit"]
work --> inbox["docs/inbox/<br/>proposed knowledge"]
inbox -->|"tests pass, PR merges,<br/>or a human approves"| notes["Curated notes<br/>with code citations"]
notes -->|"project-memory index"| index["docs/INDEX.md"]
index -->|"read at task start"| next["Next task"]
notes -->|"not verified in 90 days"| archive["docs/archive/"]
Each project can change the protocol in the Project overrides section at the end of its docs/MEMORY.md, and tune the size budgets and expiry window in its frontmatter. Overrides win over the protocol, and protocol upgrades keep them unchanged.
Setup offers to move notes out of an oversized root CLAUDE.md, existing ADRs, and project facts from Claude's local auto memory, each listed in the plan with counts before anything moves. When the project has no work log yet, setup first sets one up with project-log, which migrates an older history log (docs/history/ or docs/HISTORY.md) in the same plan.
project-memory commandA Rust program (standard library only) that the plugin puts on PATH and builds with cargo the first time it runs, so it needs Rust installed. It checks a large project (hundreds of notes, thousands of log entries) in under a tenth of a second, and works from any directory in a project. A teammate without the plugin installs it with:
cargo install --locked --git https://github.com/mooktakim/skills project-memory
- uses: actions/checkout@v7
- uses: mooktakim/skills/project-log@<full commit SHA>
- uses: mooktakim/skills/project-memory@<full commit SHA>
Each action builds its command from its own source once per version, caches it, and runs its lint, so later runs take about a second. Pin both to the same commit SHA; moving the pin is how a project upgrades. In a monorepo, pass with: { directory: apps/web }.
Ask in plain words ("set up project memory", "run a memory consolidation pass") or run /project-memory:project-memory. Setup and maintenance show a plan and wait for your approval before writing.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub mooktakim/skills --plugin project-memoryPlugins from other owners that cover similar ground