memory-capture

memory-capture is a skill for Claude Code from iBrain-BVBA/gutt-claude-code-plugin. It costs 119 tokens per session (3,289 once invoked), scanned A, original, MIT.

A skill for saving useful knowledge to the gutt knowledge graph, a connected store of lessons, decisions, and events. It checks existing entries first and avoids unnecessary duplicates.

In plain words
What is it for?
Capturing insights and incidents automatically, and recording lessons, decisions, or working agreements when a person explicitly approves them.
Why use it?
It keeps stored knowledge concise, trustworthy, and easier to reuse later.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Capturing insights and incidents automatically, and recording lessons, decisions, or working agreements when a person explicitly approves them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ibrain-bvba/gutt-claude-code-plugin/memory-capture
Install

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.

Any agent
npx skills add iBrain-BVBA/gutt-claude-code-plugin --skill memory-capture
Clone the repo
git clone --depth 1 https://github.com/iBrain-BVBA/gutt-claude-code-plugin

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 memory-capture

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ibrain-bvba/gutt-claude-code-plugin/memory-capture"><img src="https://agentmods.dev/badge/skills/ibrain-bvba/gutt-claude-code-plugin/memory-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,289 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.00119 $0.03289
Opus 5.5 $0.00048 $0.01316
Sonnet 5.5 $0.00024 $0.00658
Haiku 4.5 $0.00012 $0.00329

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

Security

Grade A, and why

memory-capture 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/memory-capture/SKILL.md · 228 lines

How it starts

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

Memory Capture

How every agent should write to the gutt knowledge graph: classify what you have, gate it by trust tier, make sure it isn't already there, then write one self-contained episode. This is the write counterpart to memory-search and graph-traversal (which only read) — they forward-reference it rather than restate it. Most captures are cheap; the discipline is in what you write, and whether you may write it without asking.

Hard rules (non-negotiable — read first)

  1. Search before you write — and keep the ids of what you found. Run memory-search rung 1 first. If the point already exists, don't duplicate it — write a new episode with only what changed, and name the near-matches as previous_episodes on that write (rule 7). Dedup ≠ update: a near-match is a reason to write less, never to rewrite the old entry. But a near-match that contradicts what you were about to write is not a dedup — take that pair to conflict-adjudication before writing.
  2. Trust-tier gate. Auto-write only Insight and Incident. Lesson, Decision, and WorkingAgreement need an explicit human signal — the user asked for it or confirmed it. No signal (you inferred it yourself) → draft it for review, don't write. Can't confidently type it → treat it as gated.
  3. Keep org writes self-contained — last_n_episodes=0. Pass last_n_episodes=0 on every org/group write; the server default of 3 is wrong for plugin writes — it pulls unrelated recent episodes into entity/edge extraction. Non-zero is meaningful only in personal scope, for intentionally chaining check-ins. This bans the blind recent-N window, not provenance: naming specific related episodes is rule 7, and the two do not conflict.
  4. Discover the write surface — the tool and the group. Hardcode neither. Two questions, two sources, both read at call time:
    • Which tool? Read your tool list. Depending on the deployment you'll see per-group add_memory_to_<alias> tools (pick the one for your target group; there is no group_id argument), or a generic add_memory (pass group_id to target a group), or add_personal_memory. A user who can write to 2+ groups often sees only the per-group tools — generic add_memory is hidden. Never hardcode a tool name or the mcp__…__ prefix.
    • Which group? Read the group://<group_id>/instructions MCP resources. Listing them is the discovery step: the listing is ABAC-filtered, so the group:// resources you can see are the scopes you may touch, and each payload carries the group_id to pass, a display name, and — when the deployment has filled them in — prose on what belongs in that group. group://personal/instructions is the private-scope sibling.

Read the full file on GitHub · 228 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 First seen · 228 lines · 119 tokens per session scan A 1e592dbeeea2

Subscribe to this mod's changes

memory-capture is a skill published in the GitHub repository iBrain-BVBA/gutt-claude-code-plugin (5 stars, last pushed 1mo ago), licensed MIT. It adds 119 tokens to every session and 3,289 once invoked, about $0.0005 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