agent-memory-protocol

agent-memory-protocol is a skill for Claude Code from iBrain-BVBA/gutt-claude-code-plugin. It costs 101 tokens per session (1,904 once invoked), scanned A, original, MIT.

A protocol for giving an agent an identity when it reads or writes the gutt knowledge graph, a stored network of organizational information and relationships.

In plain words
What is it for?
Use it when a named or role-based agent needs to search its own memories, use group knowledge, or save lessons with the required identity tags.
Why use it?
It keeps memories associated with the correct agent and scope, while defining how the agent should recall and record information.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_DATA} variable. Also seen: mentions Claude Code.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/me/my_app.

Part of the gutt-pro plugin — 12 skills, 10 commands, 1 agent, 5 hooks shipped together

Good fit Use it when a named or role-based agent needs to search its own memories, use group knowledge, or save lessons with the required identity tags.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add iBrain-BVBA/gutt-claude-code-plugin
Claude Code
/plugin install gutt-pro

Made for: Claude Code.

Or install gutt-pro, the plugin that ships this one along with the rest of its 12 skills, 10 commands, 1 agent, 5 hooks.

Wrote 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.

agentmods badge for agent-memory-protocol

README.md
[![agentmods](https://agentmods.dev/badge/skills/ibrain-bvba/gutt-claude-code-plugin/agent-memory-protocol/github.svg)](https://agentmods.dev/skills/ibrain-bvba/gutt-claude-code-plugin/agent-memory-protocol)
Your own site
<a href="https://agentmods.dev/skills/ibrain-bvba/gutt-claude-code-plugin/agent-memory-protocol"><img src="https://agentmods.dev/badge/skills/ibrain-bvba/gutt-claude-code-plugin/agent-memory-protocol/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.

agentmods 80×15 button for agent-memory-protocol

Your own site · 80×15
<a href="https://agentmods.dev/skills/ibrain-bvba/gutt-claude-code-plugin/agent-memory-protocol"><img src="https://agentmods.dev/badge/skills/ibrain-bvba/gutt-claude-code-plugin/agent-memory-protocol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,904 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.01904
Opus 5.5 $0.00040 $0.00762
Sonnet 5.5 $0.00020 $0.00381
Haiku 4.5 $0.00010 $0.00190

Measured 1mo ago against content hash 9f58b92f8544, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-memory-protocol 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.

gutt-core/skills/agent-memory-protocol/SKILL.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Named Memory Protocol

How a named workflow works the gutt knowledge graph as itself: register a memory identity, recall its own scope before the group's, and tag every org write it makes so the next run can find it. This layers workflow identity on top of memory-search (how to read) and memory-capture (how to write). The identity convention — naming, registration, tagging, recall order, guard rails — lives in one normative place: references/agent-identity.md. This file is the operative digest; on any conflict, the reference wins.

Use this for a named memory-writing workflow: either an agent or a skill whose contract declares a stable identity. For a skill, declare the base identity in frontmatter as metadata.memory-identity and repeat the operative rules under an exact ## Memory identity heading. Writing from the main session with no named workflow identity is just memory-capture — no registration and no tagging.

Finding the scope bound to this directory (do this before step 1)

The registered name carries a --<scope> suffix, and the first place to look for its value is the binding a person set with /gutt-pro:agent-scope. You cannot run that command to ask — it only takes effect when a human types it — so read the stored value directly:

  • <DATA_DIR> — ${CLAUDE_PLUGIN_DATA}, interpolated into this sentence for you. Do not pass $CLAUDE_PLUGIN_DATA through to a shell and do not export it: only hooks are given it, so it expands to nothing in a command you run.
  • Read <DATA_DIR>/config.json and look under projects. The key is the name Claude Code gives this project's transcript directory, which you can derive from your working directory: resolve its symlinks, then replace every path separator, drive-letter colon, . and _ with a single - — each character becomes its own dash, so two adjacent ones yield -- (this is not the run-collapsing rule scope values are normalised with). So /Users/me/my_app is -Users-me-my-app, /Users/me/.config/app is -Users-me--config-app, and on Windows C:\dev\my.app is C--dev-my-app. Take projects.<that key>.agentScope.value.
    • Resolve the symlinks first (pwd -P): on macOS /tmp and /var are links into /private, and the unresolved spelling gives a key that never matches.
    • Match the key exactly. If nothing matches, treat it as unbound and fall through — never pick the closest-looking entry, because a wrong match binds this directory to another one's identity, permanently.

Read the full file on GitHub · 125 lines

Files

What ships with it

1 file 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.

Changes

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.

  1. 1mo ago Changed · +7 lines · -7 tokens per session 9f58b92f8544
  2. 1mo ago First seen · 118 lines · 108 tokens per session scan A d01da2f34455

Subscribe to this mod's changes

agent-memory-protocol is a skill published in the GitHub repository iBrain-BVBA/gutt-claude-code-plugin (5 stars, last pushed 1mo ago), licensed MIT. It adds 101 tokens to every session and 1,904 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.

Related

Other skills, from other repositories

mem0-oss-to-platform

Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…

mem0ai/mem0 · 217 tokens

forget

Remove a personal fact, preference, relationship detail, topic, or prior event from Muse's active memory and stop existing copies or automations from bringing it back. Use for explicit requests such as 'forget that', 'don't remember this about me', or 'remove that from your memory'. Do not use when 'forget it' merely…

asgeirtj/system_prompts_leaks · 74 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens