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 piyushsattiv2026.10.28MITIn 1 marketplace
Observational memory beside compaction: an observer model notes what matters as the session runs, and after each compaction the notes are added after the harness's own summary; a recall tool returns the exact transcript lines behind a note
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Observational memory beside compaction. As a session runs, an observer model reads the transcript and writes short, rated, timestamped observations, each citing the transcript lines behind it. A reflector distils durable reflections from them, and a dropper retires the ones that are safe to retire. After each compaction, observational-memory adds the notes to the context, after the harness's own summary. The recall tool returns the exact transcript lines behind any note's id.
It is a port of pi-observational-memory (commit 022da5e) to plain hooks, and replaces an earlier Claude Code mod. The model and every deviation are in SPEC.md.
bin/observational-memory is one Python 3 script, standard library only, installed to ~/.local/bin/observational-memory by install.json. Hooks and the MCP server call that installed copy.hooks/claude.json, hooks/codex.json and hooks/cursor.json are named by their manifests.opencode/observational-memory.js is an OpenCode 2 plugin (a default export with an id and setup, no dependencies), installed to ~/.config/opencode/plugins/observational-memory.js by install.json, where OpenCode loads it on its own. It sends each turn's messages to observational-memory hook opencode stop, adds the notes to compactions through hook opencode compacting, and registers the recall tool, so OpenCode needs no MCP entry. OpenCode 1.x plugins have a different shape and are not supported..mcp.json and mcp.json are identical. Each registers the server observational-memory, which runs "$HOME/.local/bin/observational-memory" recall-mcp through sh -c, so $HOME expands the same in every harness.commands/ holds /observational-memory:status, /observational-memory:view, /observational-memory:on, /observational-memory:off and /observational-memory:mode for Claude Code and Cursor, answered by the prompt hook.skills/observational-memory/ tells the agent about the notes and recall. In Codex it is also how the user reaches observational-memory.~/.local/state/observational-memory/: config.json, and per session <harness>/<session>.jsonl (the ledger), .state.json and .lock, OpenCode's transcript mirrors in opencode/transcripts/<session>.jsonl, plus hooks.log and observational-memory.log. All of it is owner-only.Two more parts ship in this folder. Both are off until you turn them on, and observational-memory behaves the same without them.
| Part | Folder | Turn on | Does |
|---|---|---|---|
| Handoff | handoff/, commands/handoff.md | run /observational-memory:handoff | Before a task change or a compaction, walks every open thread with the user, then writes one handoff file per live thread. handoff/inject.py can reload them at the next session start; it is not registered as a hook, so wire it yourself if you want that. Settings are in handoff/handoff.yaml; a handoff.yaml in the plugin data folder overrides it. The environment variables still carry the older SMARTCOMPACT_ prefix. |
| Record store | store/ | install it with store/install.json, then add the entry in store/mcp.json.example to .mcp.json | A second MCP server, memory, for durable, scoped memory records with provenance: index, read, search and write (compare-and-swap). Records live in ~/.local/state/memory/. Needs uv and Python 3.13. |
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 piyushsatti/pi-plugins --plugin observational-memoryPlugins from other owners that cover similar ground