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 TerminallyLazyv0.3.7MITIn 1 marketplace
Recalls project decisions, lessons and warnings across Claude Code sessions and captures new ones as you work. Hooks run at session start and after every response, forwarding events to a local Tree Ring Memory CLI 0.15+ that must be installed.
Trending plugins
7-day copy clicks
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
agent-memory, ai-memory, local-first, session-recall, project-memory, privacy, memory-capture, claude-code ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
This directory is the repository-distributed Tree Ring Memory plugin for ChatGPT/Codex and Claude Code. It packages reviewed instructions plus thin lifecycle-hook registrations; the local Tree Ring Memory CLI remains the runtime and data owner.
The Codex manifest is version 0.3.10. The Claude Code manifest is version
0.3.7. Both share the same reviewed wrapper skill. Manual guidance supports
CLI 0.15.0 or newer; the lifecycle hooks require CLI 0.15.6 or newer for
project-local runtime resolution and cross-session recall. DOX persistence
requires CLI 0.15.11 or newer for source-root collision checks; older
compatible runtimes remain usable for read-only DOX previews.
The repository plugin registers exactly SessionStart, SubagentStart,
Stop, and SubagentStop. Each hook forwards its event JSON directly to the
local CLI and waits synchronously for at most 10 seconds. It does not register
prompt, tool, compaction, or SessionEnd hooks; run a background service;
scrape chats; or ship an MCP server.
Session start covers startup, resume, and compaction rehydration when the host reports those sources. Subagent start gives each worker an independent, receipt-backed preflight. Codex requires review and trust of the installed hook definition before it runs. Claude Code loads the hook with the enabled plugin.
Startup recall loads a bounded brief of shared project guidance and this agent's durable memories, including captures from earlier sessions. Workflow and session memories remain limited to their matching scope. It does not depend on memories containing special startup keywords. Use targeted recall when the task changes; the startup brief is not an exhaustive search.
Stop and subagent-stop enforce one agent-mediated memory checkpoint. The
lifecycle parser uses only stable harness identity and project fields; it never
inspects or persists transcript_path, last_assistant_message, prompts, or
transcript content. The checkpoint asks the active agent to evaluate its
already-grounded work. If and only if that evaluation yields a concise,
durable, normal-sensitivity candidate, the agent automatically runs the exact
strict tree-ring capture command template returned by the lifecycle handler.
Strict capture fixes agent scope, requires identity and provenance, adds an
automatic-capture tag, and rejects sensitive candidates. No candidate means no
memory write. This is one bounded checkpoint, not a recorder or automatic
summary of every turn.
The hook wrapper resolves the Git project root when available, prefers that
project's .tree-ring/bin/tree-ring, and otherwise uses tree-ring from
PATH. It then invokes the shared lifecycle entry point with the project-local
.tree-ring root. A project or linked worktree with no local .tree-ring entry
is skipped quietly without creating memory or using the primary checkout's
store. Existing roots, including dangling symlinks and roots with missing or
invalid activation metadata, still reach runtime diagnostics. An unavailable
or incompatible CLI is not active-harness proof and cannot be reported as a
successful checkpoint or capture.
When the host's effective project hook contains the managed lifecycle definition, that definition owns recall and stop checkpoints. The marketplace wrapper detects the exact managed marker and exits without invoking the CLI, preventing duplicate context, receipts, checkpoint continuations, or capture attempts.
For Codex's root .codex layer in a validated linked worktree, the wrapper
checks the corresponding primary-checkout .codex/hooks.json exclusively;
Codex ignores the worktree-local hook file in that case. The worktree must have
its own .codex directory for that layer to exist. Git metadata must prove the
reciprocal worktree and primary ownership; uncertain layouts dispatch normally.
This deduplication covers the root layer generated by Tree Ring, not custom
nested hook layers. Claude continues to check the local .claude/settings.json;
the wrapper does not assume that every Claude worktree inherits primary hooks.
Hook source selection never changes the current worktree's memory root.
integrations status --verbose reports the last validated recall's result
count and query class. A zero-result receipt proves the check ran; it does not
prove that useful context was found. Older skills-only packages omitted
automatic lifecycle hooks. Current Git and public upload packages include them. A newly configured Codex hook still needs
the host's trust flow and a new session before automatic execution can be
verified.
The safe default is a verified project-local install. From the actual project root, after the user has authorized Tree Ring setup:
7-day copy clicks
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 terminallylazy/tree-ring-memory --plugin tree-ring-memoryPlugins from other owners that cover similar ground