memkernel-memory

memkernel-memory is a skill for Claude Code from gosha70/code-copilot-team. It costs 26 tokens per session (863 once invoked), scanned A, original, MIT.

A persistent memory protocol for projects configured with the MemKernel service. It stores decisions, conventions, code context, and session checkpoints for later sessions.

In plain words
What is it for?
It is for recording and recalling architecture decisions, coding conventions, interfaces, and progress checkpoints across agent sessions.
Why use it?
It lets an agent recover important project context after a new session or a conversation compaction instead of reconstructing it from memory.

Skill for Claude Code

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

Part of the cct plugin — 24 skills shipped together

Good fit It is for recording and recalling architecture decisions, coding conventions, interfaces, and progress checkpoints across agent sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gosha70/code-copilot-team/memkernel-memory
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 gosha70/code-copilot-team --skill memkernel-memory
Clone the repo
git clone --depth 1 https://github.com/gosha70/code-copilot-team

Made for: Claude Code.

Or install cct, the plugin that ships this one along with the rest of its 24 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 memkernel-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/gosha70/code-copilot-team/memkernel-memory/github.svg)](https://agentmods.dev/skills/gosha70/code-copilot-team/memkernel-memory)
Your own site
<a href="https://agentmods.dev/skills/gosha70/code-copilot-team/memkernel-memory"><img src="https://agentmods.dev/badge/skills/gosha70/code-copilot-team/memkernel-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.

agentmods 80×15 button for memkernel-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/gosha70/code-copilot-team/memkernel-memory"><img src="https://agentmods.dev/badge/skills/gosha70/code-copilot-team/memkernel-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 863 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.00026 $0.00863
Opus 5.5 $0.00010 $0.00345
Sonnet 5.5 $0.00005 $0.00173
Haiku 4.5 $0.00003 $0.00086

Measured 12d ago against content hash 8bd59626844e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memkernel-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 12d 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.

adapters/claude-code/plugin/skills/memkernel-memory/SKILL.md · 86 lines

How it starts

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

MemKernel Memory

Use this rule only when the memkernel MCP server is configured for the project.

Purpose

MemKernel gives the project persistent memory across sessions and compaction events. Use it to retain decisions, conventions, important code context, and structured session checkpoints.

When To Recall

  • At the start of a new session, call recall for the current task or topic.
  • After compaction, recover the latest checkpoint first, then broaden recall.
  • Before repeating earlier work, recall prior decisions instead of guessing.

What To Retain

  • decision: architecture choices, tradeoffs, dependency decisions
  • convention: naming rules, style decisions, workflow expectations
  • code: important interfaces, schemas, contracts, or code snapshots
  • episode: session events and structured checkpoints

Decision Records

When MemKernel is configured, retain selective, high-value decisions: a reuse or architecture choice among real alternatives that a later session could otherwise re-litigate. Do not record every small implementation choice.

A decision memory says what was chosen, what was rejected and why, and when to look again. Retain one decision per memory in this form; the first line is what recall's preview shows, so make it a complete sentence:

decision: In the context of <requirement>, we chose <option> over <rejected options>, because <reason>.
requirement: <what was needed; the scope where this applies>
chosen: <existing helper / native capability / dependency, with its path or symbol>
rejected: <option>: <reason or evidence>; <option>: <reason>
evidence: <repo>@<commit> <path>[:<symbol>]; tests: <test id or result>
revisit-when: <condition, e.g. "the Python floor reaches 3.14" or "requirement X changes">

Three rules go with the form:

  • Before building a helper, dependency or module: recall(query="<capability> <path or symbol>", type="decision", top_k=3); get(ref_id) only for a hit you will act on.
  • Before reusing a recalled decision: check that its evidence paths still exist and still do what it says, and that its requirement covers the new need. If not, do not apply it; retain a corrected decision with supersedes=<old ref_id>.
  • Conflicts: if two live decisions give different chosen for overlapping scope, show both with their evidence and dates and ask the user before acting. Never merge them yourself.

Read the full file on GitHub · 86 lines

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. 12d ago Changed · +4 lines 8bd59626844e
  2. 19d ago Changed · +34 lines 6574547547e1
  3. 2mo ago First seen · 48 lines · 26 tokens per session scan A ba2ed42736e6

Subscribe to this mod's changes

memkernel-memory is a skill published in the GitHub repository gosha70/code-copilot-team (10 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 863 once invoked, about $0.0001 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-03.

Related

memkernel-memory compared with skills from other repositories

memkernel-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memkernel-memorygosha70/code-copilot-teamSkill10todayMITA26Claude Code
rosettatjboudreaux/rosettaSkill54mo agoMITA137Claude Code
pact-recalljonathanmr22/pactSkill165mo agoMITA16Claude Code
agent-v3-memory-specialistruvnet/rufloSkill83ktodayMITA25Claude Code
agent-deckasheshgoplani/agent-deckSkill1.3ktodayMITA281Claude Code, Codex
moai-foundation-contextmodu-ai/moai-adkSkill1.3ktodayApache-2.0A41Claude Code
agent-deckasheshgoplani/agent-deckSkill1.3ktodayMITA63Claude Code, Codex