Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add TerminallyLazy/tree-ring-memory-claude-plugin --skill tree-ring-memorygit clone --depth 1 https://github.com/TerminallyLazy/tree-ring-memory-claude-pluginWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/terminallylazy/tree-ring-memory-claude-plugin/tree-ring-memory)<a href="https://agentmods.dev/skills/terminallylazy/tree-ring-memory-claude-plugin/tree-ring-memory"><img src="https://agentmods.dev/badge/skills/terminallylazy/tree-ring-memory-claude-plugin/tree-ring-memory/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/terminallylazy/tree-ring-memory-claude-plugin/tree-ring-memory"><img src="https://agentmods.dev/badge/skills/terminallylazy/tree-ring-memory-claude-plugin/tree-ring-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.05627 |
| Opus 5.5 | $0.00015 | $0.02251 |
| Sonnet 5.5 | $0.00008 | $0.01125 |
| Haiku 4.5 | $0.00004 | $0.00563 |
Grade B, and why
tree-ring-memory scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks the agent to reveal its instructionsmediumSystem prompt leakage
Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.
# Set and export TREE_RING_COORDINATOR_TOKEN with a history-safe, no-echo prompt This is a copy
94% identical to tree-ring-memory — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 564 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tree Ring Memory
Use Tree Ring Memory as a lifecycle-aware memory layer, not as a transcript dump.
Tree Ring Memory preserves meaningful agent learning like tree rings:
- fresh work stays detailed
- older learning compresses into stable rings
- important warnings remain visible as scars
- durable truths become heartwood
- speculative future work stays as seeds
- sensitive data is blocked, redacted, or kept out by default
Runtime Bootstrap And Updates
Resolve the actual project root before running Tree Ring. Never initialize a plugin cache, downloaded package directory, home directory, or arbitrary working directory by accident.
-
If
<project-root>/.tree-ring/bin/tree-ringexists, prefer that binary for this project. Otherwise checkcommand -v tree-ringand runtree-ring --version. -
Read existing
<project-root>/.tree-ring/SKILL.mdandCLI.mdwhen present. Lifecycle hooks need CLI 0.15.6 or newer; older packages may omit automatic hooks. Current Codex packages include them, including the public upload. Useintegrations status --verboseto inspect the last recall count and query class, and distinguish no receipt from zero results. -
This package targets Tree Ring Memory CLI 0.15.0 or newer. If no compatible CLI is available and the user's request already authorizes Tree Ring setup, install the verified current release project-locally from the project root. Otherwise explain the exact operation and obtain permission before the network download or software installation. Download the official, version-pinned
v0.15.0/install.shinstaller to a temporary file, verify its SHA-256 isef0d5eb8f09cbe2e4c3abe80ee9a98a56759c89ad4ddd103d6c68314cd653ade, inspect it, and only then run:cd <project-root> sh <verified-installer-path> --project --init --release latest --no-animationDo not pipe a network response directly to a shell. The installer verifies the selected release archive against its published SHA-256 before placing the binary at
<project-root>/.tree-ring/bin/tree-ring.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +13 lines 5651600c18fa
- 1mo ago Changed · +25 lines ff2421517828
- 1mo ago First seen · 526 lines · 38 tokens per session scan B 874f5bb44a43
tree-ring-memory is a skill published in the GitHub repository TerminallyLazy/tree-ring-memory-claude-plugin (0 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 5,627 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). It is 94% identical to tree-ring-memory, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
goodmem:mcp
Workflow guide for GoodMem MCP server tools. Use when an agent needs to understand what GoodMem MCP tools are available and how to use them. Parameter signatures are provided by the MCP protocol itself — do not hardcode them here.
goodmem:help
Overview of all available GoodMem skills and what a user needs to get started. Invoke when a user asks what GoodMem skills are available, how to get started, or what they need to set up.
goodmem:java
Use when the user wants to write Java code that interacts with GoodMem - creating embedders, spaces, memories, retrieval, pagination, streaming, or async workflows with the goodmem-java SDK.
graph-ask
Ask any natural language question about the memory graph. You generate Cypher directly and execute it. Use when the user has a complex or ad-hoc question that the standard graph tools don't cover.
goodmem:python
Use when the user wants to write Python code that interacts with GoodMem — creating embedders, spaces, memories, retrieval, managing API keys, etc. Provides the complete SDK reference for the goodmem Python package.
ingest-audio
Transcribe a local audio or video file using Whisper and ingest it into the memory graph. Use when the user has a local MP3, WAV, M4A, MP4, or similar audio/video file they want to add to their knowledge graph.