fable-memory

fable-memory is a skill for Claude Code, Codex from imMamdouhaboammar/get-fable. It costs 104 tokens per session (1,499 once invoked), scanned A, original, MIT.

A file-based memory skill that stores durable user preferences, project conventions, and architectural decisions for later sessions.

In plain words
What is it for?
Use it to record, retrieve, correct, or supersede lasting project facts with their source, confidence, scope, and freshness.
Why use it?
It reduces repeated discovery while avoiding temporary guesses and secrets becoming persistent instructions.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the get-fable plugin — 78 skills, 1 agent, 5 hooks shipped together

Good fit Use it to record, retrieve, correct, or supersede lasting project facts with their source, confidence, scope, and freshness.

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

Made for: Claude Code, Codex.

Or install get-fable, the plugin that ships this one along with the rest of its 78 skills, 1 agent, 5 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 fable-memory

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/fable-memory"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fable-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,499 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.00104 $0.01499
Opus 5 $0.00052 $0.00749
Sonnet 5 $0.00021 $0.00300
Haiku 4.5 $0.00010 $0.00150

Measured 4d ago against content hash 53a58b7e4762, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

fable-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 4d 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.

skills/fable-memory/SKILL.md · 176 lines

How it starts

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

Fable Memory

Persist only facts that deserve to survive the session, with provenance and contradiction handling strong enough that old memory does not silently become a new source of error.

Mission

Memory is not a chat archive. It should reduce rediscovery without freezing temporary guesses into permanent instructions.

A durable record needs scope, provenance, confidence, freshness, and a way to be superseded when the user or repository changes.

Activate When

  • the user explicitly asks to remember a durable preference/constraint;
  • a stable project convention or architectural decision will materially affect future work;
  • cross-session continuity repeatedly depends on the same fact;
  • a prior durable fact needs correction, supersession, or retrieval.

Do Not Activate When

  • the information is temporary execution state (.fable/state, ledger, handoff);
  • it is a one-off conversational detail unlikely to affect future decisions;
  • it is a guess/inference not yet stable enough to persist;
  • it contains a password, token, private key, session cookie, or other secret.

Memory Classification

Type Example Durability rule
User preference preferred package manager persist when explicit/stable
Project constraint runtime Bun >=1.3 bind to project/source
Architecture decision use outbox for events store rationale + supersession path
Repeated workflow rule verify package clean-install before release persist if project-specific and durable
External fact API behavior/version usually cite/research at use time; avoid timeless storage
Temporary state current failing test handoff/state, not memory
Sensitive credential API token never memory

Protocol

Stage 1 — Decide whether it deserves memory

Ask:

  • will this likely matter in another session?
  • is it stable, explicit, or source-backed?
  • is there a narrower existing record to update?
  • could persistence create privacy/security risk?

Read the full file on GitHub · 176 lines

Files

What ships with it

7 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. 4d ago First seen · 176 lines · 104 tokens per session scan A 53a58b7e4762

Subscribe to this mod's changes

fable-memory is a skill published in the GitHub repository imMamdouhaboammar/get-fable (3 stars, last pushed 4d ago), licensed MIT. It adds 104 tokens to every session and 1,499 once invoked, about $0.0005 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-05.

Related

Other skills, from other repositories

memory

Use when sharpening a perception or observation you ALREADY formed about conversation state, user behavior, drift, emotional shifts, or cross-turn patterns. Trigger phrases include "what did you notice about X", "the user keeps doing Y", "I sense something has changed", "is the user X-ing", "what does this pattern…

ejentum/ejentum-mcp · 199 tokens

hive.note-taking

Maintain a free-form scratchpad of decisions, extracted values, and open questions so context pruning doesn't lose anything you still need.

aden-hive/hive · 30 tokens

skill-creator

Create, edit, improve, tidy, review, audit, or restructure memmy-agent skills and SKILL.md files.

MemTensor/memmy-agent · 28 tokens

ha-knowledge

Working method for the Hope Agent knowledge space — how to capture, organize, link, retrieve, and maintain Markdown notes well with the note tools. Load whenever you are reading or writing notes in an attached knowledge base. Trigger on: user asks to take / save / organize / restructure notes, build or grow a…

shiwenwen/hope-agent · 187 tokens

todos

This chat has a shared, live TODO plan — your tasks for the conversation, which the user also edits. Read this skill and reach for the todo tools whenever a request takes more than a couple of steps. It covers the plan model (group = task, items = its steps; loose items are the user's lane), how to work it: propose…

JetBrains/thinkrail · 127 tokens

reviewing-changes

Use when a review package asks you to review a plan step's change set (todo.startReview): you are the REVIEWER, not the author. How to judge an agent-written diff, file findings with addreviewcomment, and settle with exactly one reviewverdict.

JetBrains/thinkrail · 59 tokens