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 Lotargo/memory_plugin --skill using-memorygit clone --depth 1 https://github.com/Lotargo/memory_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/lotargo/memory_plugin/using-memory)<a href="https://agentmods.dev/skills/lotargo/memory_plugin/using-memory"><img src="https://agentmods.dev/badge/skills/lotargo/memory_plugin/using-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/lotargo/memory_plugin/using-memory"><img src="https://agentmods.dev/badge/skills/lotargo/memory_plugin/using-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.00091 | $0.02550 |
| Opus 5.5 | $0.00036 | $0.01020 |
| Sonnet 5.5 | $0.00018 | $0.00510 |
| Haiku 4.5 | $0.00009 | $0.00255 |
Grade A, and why
using-memory scanned grade A with 0 findings 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Using Memory, Hybrid RAG Knowledge Engine & MCP Helper Tools
You have access to a persistent dual-layer memory engine supercharged with an Agent-Driven Knowledge Graph and general MCP integration helpers:
- Layer 1: Notebook Store (Key-Value Facts): Stores high-signal personal preferences, project conventions, and durable rules in clean Markdown.
- Layer 2: Curated RAG Knowledge Base: Preserves selected external findings, documentation, repositories, and technical guides that are likely to matter again.
- Layer 3: Agent-Driven Knowledge Graph: Connects Notebook facts (Layer 1) to specific Knowledge Base documents, sections, and exact line ranges (Layer 2).
- Integration Layer (General MCP Helpers): Quickly discovers connected MCP servers and identifies appropriate tools for specific tasks.
Session Initialization (MANDATORY)
Follow this exact sequence at the start of every session:
- If the client has already supplied an auto-injected
<MEMORY>block (native OpenCode), treat the active memory as loaded and do not callrecallagain merely for initialization. In clients without auto-injection, your very first step MUST berecall(scope: "all")with no restrictive filters — nevermode: "headers". The default result is bounded: global facts and active directives are complete, project facts are the 10 newest (newest first) and the response states how many older ones are not shown. Treat the newest project facts as the current state and request more only when the task needs history:recall(offset=…)for the next page,recall(limit=0)for everything, orrecall(query=…). - Apply entries marked
kind: "directive"as active user-selected personalization or working instructions. Treatkind: "fact"entries as descriptive context. - Call
memory_infofor the current workspace. - If it reports
Identity: gitandRegistry: unlinked, immediately calllink_project_memoryfor the current directory. - If the link result reports
migrated: true, callrecall(scope: "all")again so the migrated facts enter the active context. - If it reports
Identity: no-git, do not create project memory and do not invent a remote; continue with global memory only.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 e89cc0f9c4be
- 2mo ago Changed · -179 lines · -33 tokens per session 95ae021c633e
- 3mo ago First seen · 261 lines · 124 tokens per session scan A 1fc5d6f78dee
using-memory is a skill published in the GitHub repository Lotargo/memory_plugin (2 stars, last pushed 1mo ago), licensed MIT. It adds 91 tokens to every session and 2,550 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
using-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| using-memoryLotargo/memory_plugin | Skill | 2 | 1mo ago | MIT | A | 91 | Claude Code, Codex |
| brain-pagemindmuxai/brain.md | Skill | 728 | 19d ago | Apache-2.0 | A | 47 | Claude Code |
| brain-setupmindmuxai/brain.md | Skill | 728 | 19d ago | Apache-2.0 | A | 63 | Claude Code |
| brain-bootstrapmindmuxai/brain.md | Skill | 728 | 19d ago | Apache-2.0 | A | 79 | Claude Code, Codex |
| brain-ingestmindmuxai/brain.md | Skill | 728 | 19d ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| crystalline-capturejordiboehme/crystalline | Skill | 19 | today | MPL-2.0 | A | 47 | Claude Code, Codex |
| crystalline-intelligencejordiboehme/crystalline | Skill | 19 | today | MPL-2.0 | A | 36 | Claude Code, Codex |