permanent-memory-loader

permanent-memory-loader is a skill for Claude Code, Codex from nguyenthienthanh/aura-frog. It costs 48 tokens per session (665 once invoked), scanned A, original, MIT.

A read-only loader that brings short summaries of completed project epics from permanent memory into the current AI session.

In plain words
What is it for?
It is for carrying past project decisions, lessons, and one-line summaries into new sessions.
Why use it?
It lets the agent reuse durable lessons from earlier work without loading the full history. It stays silent when no permanent-memory file exists.

Skill for Claude CodeCodex

Part of the aura-frog plugin — 43 skills, 24 commands, 15 agents, 10 hooks, 6 MCP servers shipped together

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/nguyenthienthanh/aura-frog/permanent-memory-loader
Any agent
npx skills add nguyenthienthanh/aura-frog --skill permanent-memory-loader
Clone the repo
git clone --depth 1 https://github.com/nguyenthienthanh/aura-frog

Made for: Claude Code, Codex.

Or install aura-frog, the plugin that ships this one along with the rest of its 43 skills, 24 commands, 15 agents, 10 hooks, 6 MCP servers.

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 permanent-memory-loader

README.md
[![agentmods](https://agentmods.dev/badge/skills/nguyenthienthanh/aura-frog/permanent-memory-loader.svg)](https://agentmods.dev/skills/nguyenthienthanh/aura-frog/permanent-memory-loader)
Your own site
<a href="https://agentmods.dev/skills/nguyenthienthanh/aura-frog/permanent-memory-loader"><img src="https://agentmods.dev/badge/skills/nguyenthienthanh/aura-frog/permanent-memory-loader.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 665 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00048 $0.00665
Opus 5 $0.00024 $0.00332
Sonnet 5 $0.00010 $0.00133
Haiku 4.5 $0.00005 $0.00067

Measured 2d ago against content hash 248ef950fad8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

permanent-memory-loader 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 2d 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.

aura-frog/skills/permanent-memory-loader/SKILL.md · 55 lines

How it starts

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

Permanent Memory Loader

Auto-invoke complement to epic-summarizer. Read-only.

Behavior (in order)

  1. Detect: if .claude/memory/permanent_memory.md does NOT exist → exit silently
  2. Read the file. For each ## Epic: <ID> — <intent> section, apply the dual-read rule (below) to load only its heading + one summary line — never the full body / subsections.
  3. Compose a compact block: 1 line per Epic (heading + its one summary line, ≤120 chars)
  4. Stamp trust: file per rules/core/memory-trust-policy.md

Dual-read rule (v2 fast-path + v1 fallback)

Sections come in two shapes; both load, and the loader picks per section:

  • v2 (fast-path): if the section body's first line is an <!-- af-memory:v2 epic=… confidence=… items=… --> marker, load exactly three lines — the ## heading, that marker line, and the single one-line human summary immediately after it. Never read the prose subsections or typed entries.
  • v1 (fallback, backward-compat): if the section has no af-memory:v2 marker, load the ## heading + the first non-empty line after it. Existing v1 files are never rewritten or migrated — they keep working unchanged.

Exact lines loaded per section:

dualread[2]{shape,detect,lines_loaded}:
  v2,"body starts with <!-- af-memory:v2 ... -->","## heading + marker line + next 1-line summary"
  v1,"no af-memory:v2 marker","## heading + first non-empty line"

The marker's confidence=/items= fields are available cheaply for degradation decisions without touching the body.

Token budget

budget[3]{layer,target,hard_cap}:
  always_loaded,120,200
  per_epic_summary,12,20
  per_subsection_line,1,2

Budget exceeded → degrade (drop Tentative → trim patterns → Epic IDs only → skip if file > 8000 tokens).

Constraints

Never loads full Epic bodies or manual_overrides.md; never writes; never decides from memory content. Epics older than 90 days are prefixed (>90d may be outdated).

Read the full file on GitHub · 55 lines

Files

What ships with it

1 file 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. 2d ago First seen · 55 lines · 48 tokens per session scan A 248ef950fad8

Subscribe to this mod's changes

permanent-memory-loader is a skill published in the GitHub repository nguyenthienthanh/aura-frog (24 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 665 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-09-03.

Related

Other skills, from other repositories

journal-optimizer

Guided database pruning and optimization workflows for memory-journal-mcp. Uses importance scores, relationship density, and entry metadata to identify low-value entries for safe soft-deletion. Includes dry-run previews, backup gates, and revert guidance. Use when the user says "clean up the database", "optimize…

neverinfamous/memory-journal-mcp · 101 tokens

anchor.write

写 anchor 标注——@anchor.test/@anchor.idk 加合法 source(§5.5 trace/memory 规则),三语言语法(§13),写后必须验证.

unknowbug/anchorlaw · 41 tokens

anchor-write

写 anchor 标注——@anchor.test/@anchor.idk 加合法 source(§5.5 trace/memory 规则),三语言语法(§13),写后必须验证.

unknowbug/anchorlaw · 41 tokens

handoff

Prepare a clean cross-session handoff so the next agent can pick up where you left off. Writes a focused continue.md in the active slice dir and ensures STATE.md + summary artifacts are current. Use when asked to "hand off", "prepare handoff", "pause work", "bookmark this", "I'll come back to this later", before…

open-gsd/gsd-pi · 91 tokens

user-general-facts

Capture and organize general facts about the user by topic.

memodb-io/Acontext · 15 tokens

02-project-memory

Build the project's memory of its architecture, conventions, and decisions, and wire it into your AI tools. Use when the user wants to set up or refresh project memory, or rewire it into a tool. Not for editing one existing memory file.

ai-driven-dev/framework · 54 tokens