lorekeeper-memorize

lorekeeper-memorize is a skill for Claude Code, Codex from Jessinra/Lorekeeper. It costs 73 tokens per session (998 once invoked), scanned A, original, Apache-2.0.

A memory-writing guide for saving important facts, instructions, decisions, and discoveries in the Lorekeeper knowledge base.

In plain words
What is it for?
Recording user preferences, business rules, architecture decisions, debugging lessons, team terminology, and the reasons behind decisions.
Why use it?
It prevents useful context from being lost between sessions while avoiding trivial or temporary details.

Skill for Claude CodeCodex

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

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/jessinra/lorekeeper/lorekeeper-memorize
Any agent
npx skills add Jessinra/Lorekeeper --skill lorekeeper-memorize
Clone the repo
git clone --depth 1 https://github.com/Jessinra/Lorekeeper

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 lorekeeper-memorize

README.md
[![agentmods](https://agentmods.dev/badge/skills/jessinra/lorekeeper/lorekeeper-memorize.svg)](https://agentmods.dev/skills/jessinra/lorekeeper/lorekeeper-memorize)
Your own site
<a href="https://agentmods.dev/skills/jessinra/lorekeeper/lorekeeper-memorize"><img src="https://agentmods.dev/badge/skills/jessinra/lorekeeper/lorekeeper-memorize.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 998 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.00073 $0.00998
Opus 5 $0.00036 $0.00499
Sonnet 5 $0.00015 $0.00200
Haiku 4.5 $0.00007 $0.00100

Measured 6d ago against content hash 3757d55bcb5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

lorekeeper-memorize 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 6d 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/lorekeeper/assets/skills/lorekeeper-memorize/SKILL.md · 120 lines

How it starts

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

Lorekeeper Memorize

Proactively capture valuable knowledge into Lorekeeper. Do not wait to be asked — memorize whenever something worth remembering surfaces.

What to Memorize

  • User instructions, preferences, "always do X" directives
  • Domain knowledge, business rules, architecture decisions
  • Debugging insights, root causes, non-obvious behaviour
  • Interesting discoveries, undocumented behaviour, useful patterns
  • Decisions and their rationale
  • Team-specific jargon and definitions

Skip: Trivial facts, temporary context, or information already well-documented in the codebase.

Workflow

Reference notes

  • references/representation-translation-lesson.md — condensed pattern from Anthropic's chemist post: store lessons about translating between representations, provenance, and auditability here when they generalize beyond a single session.

Step 1: Compose the memory

Write a standalone fact (must make sense without conversation context):

  • title: Short label (max 100 chars)
  • description: One-sentence summary (max 300 chars)
  • content: Full detail (max 250 words). Be specific. Include the "why".

Step 2: Search existing memories and provide feedback

Search for related memories. This is mandatory — even if you think nothing related exists.

lore_search({ query: "<topic of the new memory>", min_score: 0.2 })

Note which results are genuinely related (their memory.id values are needed for linking).

Immediately provide feedback on ALL returned results before proceeding:

lore_update({
  memory_feedback: [
    { id: "<id-1>", useful: true },
    { id: "<id-2>", useful: false }
  ]
})

Mark useful: true if the memory is related to the new fact. Mark useful: false if not. If zero results returned, skip this call.

Step 3: Insert the memory

lore_insert({
  memories: [{
    title: "...",
    description: "...",
    content: "..."
  }]
})

Read the returned inserted_memories[].id from the response.

Read the full file on GitHub · 120 lines

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. 6d ago First seen · 120 lines · 73 tokens per session scan A 3757d55bcb5d

Subscribe to this mod's changes

lorekeeper-memorize is a skill published in the GitHub repository Jessinra/Lorekeeper (4 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 73 tokens to every session and 998 once invoked, about $0.0004 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