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/sh008/claude-lore/lorenpx skills add sh008/claude-lore --skill loregit clone --depth 1 https://github.com/sh008/claude-loreWhat 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 | $0.00155 | $0.01780 |
| Opus 5 | $0.00077 | $0.00890 |
| Sonnet 5 | $0.00031 | $0.00356 |
| Haiku 4.5 | $0.00015 | $0.00178 |
Grade A, and why
lore 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 3d 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 — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lore
A project's real knowledge is not in its code. Code shows what exists; it never shows what was tried and abandoned, why one approach beat another, or which trap costs an hour every time someone forgets it. Without that record, every new session re-derives it — usually by re-reading the whole repo, sometimes by repeating a mistake that was already paid for once.
This skill maintains that record as five files under docs/lore/, and defines when to read each and when to write to it.
The files
| File | Holds | Read when |
|---|---|---|
STATE.md |
Current status: what works, what's mid-flight, active blockers, next steps. The entry point. | Every session start — always, fully |
ROADMAP.md |
Phased progress path with checkboxes. Where the project is going. | Session start; when picking the next task |
DECISIONS.md |
Dated decisions: what was chosen, why, what was rejected. | Before changing anything architectural; when asked "why is it like this?" |
LEARNINGS.md |
Traps, failed approaches, dead ends. Each entry has a Trigger: line. |
Grep before touching an area — see below |
JOURNAL.md |
Append-only dated work log. Raw history. | Rarely — only to reconstruct a specific past session |
Size discipline: STATE.md stays under ~150 lines. It is the only file read in full every session, so it must describe the present, not accumulate history. When something in it becomes past tense, move it: a finished task → JOURNAL.md, a resolved choice → DECISIONS.md, a paid-for mistake → LEARNINGS.md. STATE.md is a dashboard, not an archive.
Mode 1 — Session start (resume)
Trigger: a session begins on a project containing docs/lore/, or the user says continue / resume / "where were we".
- Read
docs/lore/STATE.mdanddocs/lore/ROADMAP.mdin full. That is the context load — do not fan out and read the codebase to rebuild context. The point of the lore is to make that unnecessary. - Grep
LEARNINGS.mdfor the area about to be touched:
Every entry carries agrep -i -A6 "<area keyword>" docs/lore/LEARNINGS.mdTrigger:line naming the files or subsystems it applies to, so grep against a filename, module, or tool name. - Open only the specific files the task needs.
- Tell the user briefly, in their language, where things stand and what the next step is per
STATE.md— then wait or proceed as they asked.
What ships with it
6 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.
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.
- 3d ago First seen · 90 lines · 155 tokens per session scan A 4a16c8ae55c5
lore is a skill published in the GitHub repository sh008/claude-lore (6 stars, last pushed 1mo ago), licensed MIT. It adds 155 tokens to every session and 1,780 once invoked, about $0.0008 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
kn-research
Use when you need to understand existing code, find patterns, search project knowledge, investigate current external facts, or explore a large codebase before implementation.
alive:demo
Generate a believable, lived-in ALIVE world from a free-text persona description (custom path) or a deterministic sandbox preset. Routes the create/list/activate/deactivate/delete/status surface and orchestrates the 5-stage subagent generation pipeline.
mnemo-cortex
Installs and wires Mnemo Cortex (local-first persistent memory) into OpenClaw and other MCP-capable agents. Use for cross-session recall, decision history, or multi-agent shared memory.
alive:save
The human wants to checkpoint. Or: the stash has grown heavy — 5+ items, 30+ minutes, a natural pause in the work. The squirrel doesn't decide when to save. It surfaces the need and lets the human pull the trigger. Runs the full save protocol: confirms stash, writes log, updates state, generates projections…
alive:system-upgrade
Upgrade ALIVE to the current version. Handles v1/v2/v3.x source states, multi-surface aware (alive-mcp / Hermes / Codex), retroactive version detection, partial-failure resume, dry-run previews, and rollback inspection.
alive:session-history
Revive sessions (quick or heavy), browse, and search — 'what happened recently?', 'find the session where we discussed X', 'revive yesterday's session'. For single-session recall and multi-session browsing. If the human needs to merge multiple sessions into one working context or detect conflicts between parallel…