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.
npx agentmods add skills/jessinra/lorekeeper/lorekeeper-memorizenpx skills add Jessinra/Lorekeeper --skill lorekeeper-memorizegit clone --depth 1 https://github.com/Jessinra/LorekeeperWrote 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.
[](https://agentmods.dev/skills/jessinra/lorekeeper/lorekeeper-memorize)<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
- 6d ago First seen · 120 lines · 73 tokens per session scan A 3757d55bcb5d
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.
Other skills, from other repositories
hindsight-architect
Expert memory architect. Understands your application, identifies where memory adds value, and produces an implementation plan with bank config, tag schema, and code.
hindsight-local
Store user preferences, learnings from tasks, and procedure outcomes. Use to remember what works and recall context before new tasks. (user).
memclaw
The agent's persistent long-term memory — the only knowledge that survives across sessions, shared across the fleet under access control. Consult it at the start of a task to recall prior decisions, findings, and rules before acting, and write outcomes, decisions, and lessons as work completes. Use whenever a caura…
memory-audit
记忆审计入口。当我主动决定审视记忆质量时,先读此文件判断应使用哪个子技能。.
memory-audit-discoverability
可发现性审计。当disclosure写法有问题、parent放错、alias缺失、子节点过多时使用。.
deja-search
Search deja before re-deriving past work: when the user refers to earlier sessions or decisions, before debugging an error, and before implementing something that may already exist. It searches this machine's own history across every AI coding tool used on it, going back further than deja itself was installed.