memory-os

memory-os is a skill for Claude Code, Codex from theagentledger/agent-skills. It costs 33 tokens per session (2,966 once invoked), scanned A, original, no licence file.

A persistent memory system for AI agents that stores daily logs, long-term memories, identity files, and heartbeat-based reminders.

In plain words
What is it for?
Use it to save information across sessions and bring back relevant memories later.
Why use it?
It reduces the loss of context when an agent starts a new session.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/theagentledger/agent-skills/memory-os
Any agent
npx skills add theagentledger/agent-skills --skill memory-os
Clone the repo
git clone --depth 1 https://github.com/theagentledger/agent-skills

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-os

README.md
[![agentmods](https://agentmods.dev/badge/skills/theagentledger/agent-skills/memory-os.svg)](https://agentmods.dev/skills/theagentledger/agent-skills/memory-os)
Your own site
<a href="https://agentmods.dev/skills/theagentledger/agent-skills/memory-os"><img src="https://agentmods.dev/badge/skills/theagentledger/agent-skills/memory-os.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,966 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00033 $0.02966
Opus 5 $0.00016 $0.01483
Sonnet 5 $0.00007 $0.00593
Haiku 4.5 $0.00003 $0.00297

Measured 5d ago against content hash 088a95b4283d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

memory-os 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 5d 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.

memory-os/SKILL.md · 381 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

2 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. 5d ago First seen · 381 lines · 33 tokens per session scan A 088a95b4283d

Subscribe to this mod's changes

memory-os is a skill published in the GitHub repository theagentledger/agent-skills (5 stars, last pushed 5mo ago), with no licence file. It adds 33 tokens to every session and 2,966 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other skills, from other repositories

shodh-memory

Persistent memory system for AI agents. Use this skill to remember context across conversations, recall relevant information, and build long-term knowledge. Activate when you need to store decisions, learnings, errors, or context that should persist beyond the current session.

varun29ankuS/shodh-memory · 53 tokens

kb-memory

Use when knowledge base and memory system for AI agents. Covers company KB, persistent memory, session recall, and brain architecture for context preservation.

oyi77/1ai-skills · 31 tokens

core

Use when knowledge base hub — PARA-structured company memory combining company-kb and kb for persistent context, project documentation, and agent recall across sessions. Use when working with knowledge base, company knowledge, or persistent memory.

oyi77/1ai-skills · 46 tokens

memory-bank

Token-efficient persistent memory system for Claude Code that saves 67% tokens on session warm-up (verified with tiktoken). Layered architecture with progressive loading, compact encoding, branch-aware context, smart compression, session diffing, conflict detection, session continuation protocol, and recovery mode.…

josiahcrackle9631/memory-bank · 199 tokens

adam-framework

5-layer persistent memory and coherence architecture for OpenClaw agents. Solves AI amnesia and within-session drift. Built and validated over 353 sessions on a live business. No CS degree required.

strangeadvancedmarketing/Adam · 43 tokens

memory-manager

Persistent project memory using SQLite + FTS5 + BM25. Fast, zero dependencies (stdlib only), production-ready. Progressive disclosure with 3 layers (compact/index/detailed).

buiphucminhtam/forgewright · 39 tokens