memory-capture

memory-capture is a skill for Claude Code, Codex from KumihoIO/kumiho-plugins. It costs 40 tokens per session (461 once invoked), scanned A, original, MIT.

A workflow for saving one user-provided fact, preference, or decision into Kumiho, a memory system for coding assistants. It checks related memories and stores the new item with an appropriate type and scope.

In plain words
What is it for?
It helps remember a specific preference, decision, or fact when the user directly asks the assistant to save it.
Why use it?
Important information can be lost between conversations, while bulk history imports may save too much. This records one explicitly chosen item and avoids storing credentials.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the kumiho-memory-cloud plugin — 5 skills shipped together

Good fit It helps remember a specific preference, decision, or fact when the user directly asks the assistant to save it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kumihoio/kumiho-plugins/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 KumihoIO/kumiho-plugins --skill memory-capture
Clone the repo
git clone --depth 1 https://github.com/KumihoIO/kumiho-plugins

Made for: Claude Code, Codex.

Or install kumiho-memory-cloud, the plugin that ships this one along with the rest of its 5 skills.

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/kumihoio/kumiho-plugins/memory-capture/github.svg)](https://agentmods.dev/skills/kumihoio/kumiho-plugins/memory-capture)
Your own site
<a href="https://agentmods.dev/skills/kumihoio/kumiho-plugins/memory-capture"><img src="https://agentmods.dev/badge/skills/kumihoio/kumiho-plugins/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/kumihoio/kumiho-plugins/memory-capture"><img src="https://agentmods.dev/badge/skills/kumihoio/kumiho-plugins/memory-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 461 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.00040 $0.00461
Opus 5.5 $0.00016 $0.00184
Sonnet 5.5 $0.00008 $0.00092
Haiku 4.5 $0.00004 $0.00046

Measured 1mo ago against content hash c981b7a7b93b, 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.

cloud-mcp/directory/kumiho-memory/skills/memory-capture/SKILL.md · 33 lines

What it actually says

Memory Capture

  1. Use the user's supplied content and scope. Ask only for missing content or an ambiguous storage destination. Do not capture credentials, inferred identity, off-record material or unrelated sensitive details.
  2. If relevant saved context is needed, reuse it or call kumiho_memory_engage once with a short sanitized query. Existing context is sufficient for simple standalone saves; retrieval is not mandatory.
  3. Call kumiho_memory_reflect with a brief response and exactly one capture: type (fact, preference or decision), title, faithful content, tags: ["manual-capture"], and an exact existing space_hint or the matching facts, preferences or decisions space. Include event_date only if known and set discover_edges: false. Include only relevant returned source_krefs. If the item corrects or updates a memory already saved, first find that memory and set revises to its kref, keeping its type and language and restating the subject, so it becomes that memory's new revision. If you cannot tell which memory to revise, save it normally, and retire the old memory with kumiho_deprecate_item when the result is a separate item.
  4. Omit session_id initially. On session_required, retry with the returned ID and retain it only in this conversation. Never borrow a historical session ID or pass user_id/context to change the identity of the session.
  5. Verify the actual saved result and returned kref. Report a failure honestly; do not blindly retry an uncertain write. Do not save a second memory merely to record that the first capture succeeded.

Authentication happens through the plugin's OAuth connection. Never request a password or token in chat. User instructions override this workflow.

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 · +5 lines c981b7a7b93b
  2. 1mo ago Changed · -4 lines · -9 tokens per session 142feb44d328
  3. 2mo ago First seen · 32 lines · 49 tokens per session scan A 4f59d5535d7f

Subscribe to this mod's changes

memory-capture is a skill published in the GitHub repository KumihoIO/kumiho-plugins (2 stars, last pushed 5d ago), licensed MIT. It adds 40 tokens to every session and 461 once invoked, about $0.0002 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-09-05.

Related

memory-capture compared with skills from other repositories

memory-capture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memory-captureKumihoIO/kumiho-pluginsSkill25d agoMITA40Claude Code, Codex
knowledge-ingestopenclaw/openclawSkill394ktodayMITA80Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill69kyesterdayApache-2.0A217Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill71ktodayCC0-1.0A0Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k2d agoMITA184Claude Code
memoryopensquilla/opensquillaSkill7.1k2d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex