memory

memory is a skill for Claude Code, Codex from runxhq/runx. It costs 53 tokens per session (1,388 once invoked), scanned A, original, Apache-2.0.

A memory store for an agent that keeps a person's confirmed words and an agent's dated findings separately. It records sources, supports corrections and expiry dates, and offers indexed and ranked search.

In plain words
What is it for?
Use it to save confirmed preferences, workspace or project rules, and dated research findings, then retrieve them by search or handle.
Why use it?
It prevents unconfirmed statements from becoming instructions and helps the agent find current, traceable context without treating observations as user decisions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to save confirmed preferences, workspace or project rules, and dated research findings, then retrieve them by search or handle.

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

Made for: Claude Code, Codex.

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/runxhq/runx/memory/github.svg)](https://agentmods.dev/skills/runxhq/runx/memory)
Your own site
<a href="https://agentmods.dev/skills/runxhq/runx/memory"><img src="https://agentmods.dev/badge/skills/runxhq/runx/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/runxhq/runx/memory"><img src="https://agentmods.dev/badge/skills/runxhq/runx/memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,388 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.00053 $0.01388
Opus 5.5 $0.00021 $0.00555
Sonnet 5.5 $0.00011 $0.00278
Haiku 4.5 $0.00005 $0.00139

Measured 16d ago against content hash 97dcc677dfab, 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 16d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (fixtures/horizon/horizon.mjs, fixtures/routine/routine.mjs, memory.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.

skills/memory/SKILL.md · 105 lines

How it starts

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

Memory

Memory keeps two things, by level: personal, a workspace, a project in a workspace, or a brand in a workspace.

  • What the person said, in their exact words, on a said: stream, with their purpose: a mandate or a procedure, which stand as rules, or confirmed_memory, something they told you. Nothing is kept until the person confirms the words are theirs, and a correction replaces them only with the person's approval of the exact change.
  • What an agent found, on an observed: stream, with the fact's date and its sources. An observation is evidence, never an instruction, and never becomes a confirmed memory.

Every entry carries its own date, the fact's and not when it was stored, where it came from, and summary, the line the index shows for it, which its writer writes for recall: a cue to read the entry, on one line of at most 120 characters. An entry can say the last date it's true, valid_until: once that has passed, the index leaves it out, and history, search and read keep it. A correction or a superseding observation is the entry's next version, so what's current is what a turn reads, and its history stays.

Confirming the person's words

remember asks the person to confirm the quote, the line the index shows for it, its purpose, its dates, its sources and the stream it goes to. A host that holds the words may answer itself only when the line is the quote itself and the purpose is confirmed_memory. A line the host wrote, or a purpose that makes the words a rule, is shown to the person, because a quote that checks out doesn't confirm a summary of it or the force it's given.

Methods

  • remember: keep the person's exact words, once they're confirmed.
  • correct: replace words with corrected words, as the entry's next version.
  • disable: stop an entry applying. The record keeps it.
  • observe: keep what an agent found, or supersede an earlier observation.
  • index: a bounded index for a turn's context, the default method.
  • search: ranked matches among current entries, by their text and summary only, never a confirmation's wording, a purpose or a source.
  • read: one entry by handle, at the version it names.

Read the full file on GitHub · 105 lines

Files

What ships with it

29 files 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. 16d ago First seen · 105 lines · 53 tokens per session scan A 97dcc677dfab

Subscribe to this mod's changes

memory is a skill published in the GitHub repository runxhq/runx (106 stars, last pushed yesterday), licensed Apache-2.0. It adds 53 tokens to every session and 1,388 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-14.

Related

memory compared with skills from other repositories

memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memoryrunxhq/runxSkill106yesterdayApache-2.0A53Claude Code, Codex
handoffHmbown/CodeWhaleSkill41kyesterdayMITA70Claude Code, Codex
context-engineeringmvschwarz/openrigSkill9.0ktodayApache-2.0A142Claude Code, Codex
claude-compaction-restoremvschwarz/openrigSkill9.0ktodayApache-2.0A60Claude Code
retiring-and-inheriting-a-seatmvschwarz/openrigSkill9.0ktodayApache-2.0A145Claude Code
forgetHmbown/CodewhaleSkill41k1mo agoMITA26Claude Code, Codex
session-compaction-and-restoremvschwarz/openrigSkill9.0ktodayApache-2.0B88Claude Code