memory

memory is a skill for Claude Code from yonatangross/orchestkit. It costs 36 tokens per session (1,636 once invoked), scanned A, original, MIT.

A read-only memory tool for finding past decisions, loading session context, viewing timelines, and displaying knowledge-graph relationships. It complements a separate tool used to save memories.

In plain words
What is it for?
Use it to search stored knowledge, load continuation state, review decision history, check memory status, and visualize related information.
Why use it?
It helps an agent recover relevant project history across sessions instead of starting with no context.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; names the AskUserQuestion tool.

Part of the ork plugin — 83 skills, 39 commands, 36 agents, 32 hooks shipped together

Good fit Use it to search stored knowledge, load continuation state, review decision history, check memory status, and visualize related information.

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

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 83 skills, 39 commands, 36 agents, 32 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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/memory"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,636 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. Third-party audits
  • Socket warn 2 Dec 2026
  • Snyk warn 2 Dec 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 16
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
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.00036 $0.01636
Opus 5.5 $0.00014 $0.00654
Sonnet 5.5 $0.00007 $0.00327
Haiku 4.5 $0.00004 $0.00164

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

Security

Grade A, and why

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 1mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/graph-utils.mjs, scripts/render-graph.mjs, scripts/render-playground.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/ork/skills/memory/SKILL.md · 170 lines

How it starts

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

Memory - Read & Access Operations

Unified read-side memory skill with subcommands for searching, loading, syncing, history, and visualization.

Cross-session read strategy (Opus 5.5 / CC 2.1.111+): Opus 5.5 reads filesystem memory reliably across sessions. When loading context at session start, prefer the layered read order:

  1. ~/.claude/projects/<slug>/memory/MEMORY.md (durable index — load first, always)
  2. .claude/chain/state.json + most recent NN-*.json handoff (session continuation)
  3. MCP mcp__memory__search_nodes for anything the filesystem index doesn't answer (typed graph traversal)

Layer 1 is cheap (small index file), Layer 2 is scoped (session-specific), Layer 3 is selective (only when needed). Avoid dumping the full knowledge graph into context — use the index to narrow the search first.

Argument Resolution

SUBCOMMAND = "$ARGUMENTS[0]"  # First token: search, load, history, viz, status
QUERY = "$ARGUMENTS[1]"       # Second token onward: search query or flags
# $ARGUMENTS is the full string (CC 2.1.59 indexed access)

Usage

memory search <query>  # Search knowledge graph
memory load             # Load context at session start
memory history          # View decision timeline
memory viz              # Visualize knowledge graph
memory status           # Show memory system health

CRITICAL: Use AskUserQuestion When No Subcommand

If invoked without a subcommand, ask the user what they want:

AskUserQuestion(
  questions=[{
    "question": "What memory operation do you need?",
    "header": "Operation",
    "options": [
      {"label": "search", "description": "Search decisions and patterns in knowledge graph"},
      {"label": "load", "description": "Load relevant context for this session"},
      {"label": "history", "description": "Decision timeline + knowledge-graph viz (--mermaid)"},
      {"label": "status", "description": "Check memory system health"}
    ],
    "multiSelect": false
  }]
)

Read the full file on GitHub · 170 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. 1mo ago Changed · -41 tokens per session 6f90c4774508
  2. 2mo ago Changed c5d1a21a5d46
  3. 2mo ago Changed · -1 lines 0da44f012af2
  4. 2mo ago Changed · +13 tokens per session 59e0cac20677
  5. 2mo ago Changed b99b7ae7e155
  6. 2mo ago Changed b706f6eff43f
  7. 2mo ago Changed · -7 lines 6006ae53141c
  8. 2mo ago Changed e507ec09802d
  9. 2mo ago Changed 8e87223b2481
  10. 3mo ago First seen · 178 lines · 64 tokens per session scan A 64bf61e95742

Subscribe to this mod's changes

memory is a skill published in the GitHub repository yonatangross/orchestkit (315 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 1,636 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

memory compared with skills from other repositories

memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memoryyonatangross/orchestkitSkill315todayMITA36Claude Code
knowledge_store_skillNPC-Worldwide/npcpySkill1.5kyesterdayMITA346Claude Code, Codex
cocoscoutSnowflake-Labs/cocoplusSkill73027d agoMITA59Claude Code
pod-checkpointSnowflake-Labs/cocoplusSkill73027d agoMITA36Claude Code
screenpipe-writing-contextscreenpipe/screenpipeSkill23ktodaynoneA21Claude Code, Codex
diarySnowflake-Labs/cocoplusSkill73027d agoMITA12Claude Code, Codex
wisdom-learnSnowflake-Labs/cocoplusSkill73027d agoMITA19Claude Code, Codex