neural-memory

neural-memory is a skill for Claude Code from Rune-kit/rune. It costs 54 tokens per session (3,689 once invoked), scanned A, original, MIT.

A shared memory tool for saving and recalling decisions, error causes, design lessons, and working preferences across coding sessions and projects. It connects local session notes with a searchable semantic memory graph.

In plain words
What is it for?
Use it to recall relevant past context at session start and save lessons after feature work, debugging, code review, refactoring, or recording an architecture decision.
Why use it?
Without persistent memory, useful discoveries stay trapped in one session or repository and have to be rediscovered. This helps an AI assistant recall related experience when a similar problem appears elsewhere.

Skill for Claude Code

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

Part of the rune plugin — 66 skills, 1 command, 66 agents, 6 hooks shipped together

Good fit Use it to recall relevant past context at session start and save lessons after feature work, debugging, code review, refactoring, or recording an architecture decision.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rune-kit/rune/neural-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 Rune-kit/rune --skill neural-memory
Clone the repo
git clone --depth 1 https://github.com/Rune-kit/rune

Made for: Claude Code.

Or install rune, the plugin that ships this one along with the rest of its 66 skills, 1 command, 66 agents, 6 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 neural-memory

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rune-kit/rune/neural-memory"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/neural-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,689 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.00054 $0.03689
Opus 5.5 $0.00022 $0.01476
Sonnet 5.5 $0.00011 $0.00738
Haiku 4.5 $0.00005 $0.00369

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

Security

Grade A, and why

neural-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 8d 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.

skills/neural-memory/SKILL.md · 360 lines

How it starts

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

neural-memory

Purpose

Bridges Rune's file-based persistence (session-bridge, journal) with Neural Memory MCP's semantic graph. While session-bridge saves decisions to .rune/ files and journal tracks ADRs locally, neural-memory captures cross-project learnable patterns — decisions, error root causes, architectural insights, and workflow preferences — into a persistent cognitive layer that compounds across every project and session.

Without this skill, each project is an island. With it, a caching pattern discovered in Project A auto-surfaces when Project B faces a similar problem.

Triggers

Auto-trigger:

  • Session start → Run Recall Mode (load relevant context before any work)
  • After cook completes a feature → Run Capture Mode (save learnings)
  • After debug finds root cause → Run Capture Mode (save error pattern)
  • After review finds issues → Run Capture Mode (save code quality insight)
  • After rescue completes a phase → Run Capture Mode (save refactoring pattern)
  • After journal writes an ADR → Run Capture Mode (extract to nmem)
  • Session end / before compaction → Run Flush Mode (capture remaining context)

Manual trigger:

  • /rune recall <topic> — search neural memory for a topic
  • /rune remember <text> — save a specific memory
  • /rune brain-health — check neural memory health + maintenance
  • /rune hypothesize <question> — start hypothesis tracking

Calls (outbound)

  • session-bridge (L3): after Capture Mode — sync key decisions back to .rune/ files

Called By (inbound)

  • cook (L1): Phase 0 (resume) + Phase 8 (complete) — recall context at start, capture learnings at end
  • rescue (L1): phase start + phase end — recall past refactoring patterns, capture new ones
  • debug (L2): after root cause found — capture error pattern for future recognition
  • fix (L2): after fix verified — capture fix pattern (cause → solution)
  • review (L2): after review complete — capture code quality insight
  • plan (L2): before architecture decisions — recall past decisions on similar problems
  • sentinel (L2): after security finding — capture vulnerability pattern
  • incident (L2): after resolution — capture incident root cause + fix
  • retro (L2): during retrospective — capture retro insights and patterns
  • session-bridge (L3): Step 6 (cross-project extraction) — extract generalizable patterns
  • journal (L3): after ADR written — extract decision + rejected alternatives
  • context-engine (L3): before compaction — trigger Flush Mode to preserve context

Read the full file on GitHub · 360 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. 8d ago First seen · 360 lines · 54 tokens per session scan A 6dd20b1d8854

Subscribe to this mod's changes

neural-memory is a skill published in the GitHub repository Rune-kit/rune (96 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 3,689 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-11-22.

Related

neural-memory compared with skills from other repositories

neural-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neural-memoryRune-kit/runeSkill96yesterdayMITA54Claude Code
session-learningssentimony/skillsSkill8todayMITA121Claude Code
tddsentimony/skillsSkill8todayMITA43Claude Code
vaultr-memoryskoowoo/vaultr-notesSkill892mo agoApache-2.0A87Claude Code, Codex
vaultr-compile-noteskoowoo/vaultr-notesSkill892mo agoApache-2.0A116Claude Code, Codex
vaultr-index-knowledgeskoowoo/vaultr-notesSkill892mo agoApache-2.0A107Claude Code, Codex
vaultr-recapskoowoo/vaultr-notesSkill892mo agoApache-2.0A192Claude Code, Codex