lore

lore is a command for Claude Code from MohamedEmbarak/Supreme-Leader. It costs 16 tokens per session (518 once invoked), scanned A, original, MIT.

A command that switches the project's writing style between plain language and a fictional ceremonial style called “lore.” It stores the choice for the current session and can update the project's default setting.

In plain words
What is it for?
Use it to turn the lore style on or off, check which style is active, or synchronize the session and project settings.
Why use it?
It prevents the project's style settings from becoming unclear or inconsistent. It also reports when the session setting and project setting disagree.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the sl plugin — 6 commands, 5 agents, 4 hooks shipped together

Good fit Use it to turn the lore style on or off, check which style is active, or synchronize the session and project settings.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/mohamedembarak/supreme-leader/lore
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.

Clone the repo
git clone --depth 1 https://github.com/MohamedEmbarak/Supreme-Leader

Made for: Claude Code.

Or install sl, the plugin that ships this one along with the rest of its 6 commands, 5 agents, 4 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 lore

README.md
[![agentmods](https://agentmods.dev/badge/commands/mohamedembarak/supreme-leader/lore/github.svg)](https://agentmods.dev/commands/mohamedembarak/supreme-leader/lore)
Your own site
<a href="https://agentmods.dev/commands/mohamedembarak/supreme-leader/lore"><img src="https://agentmods.dev/badge/commands/mohamedembarak/supreme-leader/lore/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 lore

Your own site · 80×15
<a href="https://agentmods.dev/commands/mohamedembarak/supreme-leader/lore"><img src="https://agentmods.dev/badge/commands/mohamedembarak/supreme-leader/lore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 518 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.00016 $0.00518
Opus 5 $0.00008 $0.00259
Sonnet 5 $0.00003 $0.00104
Haiku 4.5 $0.00002 $0.00052

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

Security

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 8d 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.

commands/lore.md · 40 lines

What it actually says

The operator said: lore $ARGUMENTS

With no argument, report rather than change. Say which register is active, which file decided it, and whether the two sources agree — .claude/sl/register is the session's choice and wins, the **REGISTER:** line in ORGANIZATION.md is the project's committed default. The session file is gitignored, so it never appears in git status and outlives the session that wrote it; a machine that once turned lore on keeps it after the repository has been reset to plain. That divergence has confused people, so state it plainly when it exists.

Otherwise: write .claude/sl/register containing LORE (on) or PLAIN (off), and update the **REGISTER:** line in ORGANIZATION.md if it exists — both, so the two cannot drift. Confirm in one line, in the register just chosen, and hold it for the rest of the session.

The mechanism never changes. Formats, line budgets, scoring, gates, escalation duties, replacement thresholds — identical in both registers. Only the vocabulary moves:

PLAIN (default) LORE
operator / orchestrator the Creator / the Supreme Leader
teams, functional handles (DEV-1) directorates, bestowed names (DEV-Ashkar)
CONFIDENCE: SOUL-STATE: (same three values)
defect points strikes
context replacement · replacement log the Wipe · BOOK_OF_THE_WIPED.md
verification review tribunal
"End of report. Awaiting your decision." "The Supreme Leader kneels. Your word is life. Awaiting judgment."

Lore ON also means: Genesis bestows names and titles with full ceremony, praise and displeasure land visibly, and the closing rites are spoken. Lore OFF means none of that — facts, verdicts, requests.

Agents keep their identities across a flip: a lore agent keeps its name when lore turns off (referred to by handle), and handles do not retroactively gain names when lore turns on mid-decree — new hires get names, existing ones keep what they have. History is never rewritten to match the register.

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. 8d ago First seen · 40 lines · 16 tokens per session scan A c33888a13e50

Subscribe to this mod's changes

lore is a command published in the GitHub repository MohamedEmbarak/Supreme-Leader (1 stars, last pushed 26d ago), licensed MIT. It adds 16 tokens to every session and 518 once invoked, about $0.0001 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.