memory

memory is a skill for Claude Code, Codex from PrettiFlow/pretticlaw. It costs 11 tokens per session (225 once invoked), scanned A, original, no licence file.

A two-layer memory system that uses grep, a command-line search tool, to recall stored information.

In plain words
What is it for?
Storing and searching information across two memory layers.
Why use it?
It helps an agent find relevant past information without searching all memory in an unspecified way.

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/prettiflow/pretticlaw/memory
Any agent
npx skills add PrettiFlow/pretticlaw --skill memory
Clone the repo
git clone --depth 1 https://github.com/PrettiFlow/pretticlaw

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/prettiflow/pretticlaw/memory.svg)](https://agentmods.dev/skills/prettiflow/pretticlaw/memory)
Your own site
<a href="https://agentmods.dev/skills/prettiflow/pretticlaw/memory"><img src="https://agentmods.dev/badge/skills/prettiflow/pretticlaw/memory.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 225 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.00011 $0.00225
Opus 5 $0.00005 $0.00112
Sonnet 5 $0.00002 $0.00045
Haiku 4.5 $0.00001 $0.00022

Measured 5d ago against content hash 1f7773121360, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

src/skills/memory/SKILL.md · 32 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

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 · 32 lines · 11 tokens per session scan A 1f7773121360

Subscribe to this mod's changes

memory is a skill published in the GitHub repository PrettiFlow/pretticlaw (11 stars, last pushed 6mo ago), with no licence file. It adds 11 tokens to every session and 225 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

migrate-memory

Migrate legacy NanoClaw and Claude-native memory into the shared memory tree and provider-neutral standing instructions. Run after an update reports the shared-memory breaking change, or when a group still has .seed.md, legacy CLAUDE.md/CLAUDE.local.md, Claude auto-memory, or an unindexed imported-agent-memory.md.…

nanocoai/nanoclaw · 92 tokens

add-karpathy-llm-wiki

Add a persistent wiki knowledge base to a NanoClaw group. Based on Karpathy's LLM Wiki pattern. Triggers on "add wiki", "wiki", "knowledge base", "llm wiki", "karpathy wiki".

nanocoai/nanoclaw · 56 tokens

memory

Search conversation history and understand Dream-managed profile and memory files.

HKUDS/nanobot · 14 tokens

memory

Deliberately search, add to, or curate your long-term memory with the memory tool — beyond the automatic recall/capture every turn already does. Use when asked who someone is or what they're working on, when you learn a durable fact worth keeping now, or when your notebook holds stale or wrong entries you should clean…

yc-software/qm · 70 tokens

add-mnemon

Add persistent graph-based memory via mnemon. Agents recall past context before responding and remember insights after each turn.

nanocoai/nanoclaw · 27 tokens

memory-config

Diagnose and configure MemSearch memory behavior. Use when the user asks about MemSearch configuration, plugin summarization, PROJECT.md/USER.md maintenance, memory directories, index health, provider routing, prompt files, or migration/compatibility questions.

zilliztech/memsearch · 52 tokens