/opum-lore:lorefrom opum-lore
Author, retrieve, and maintain OKF documentation with the lore CLI, including explicit multi-repository workspaces. Use whenever reading, writing, linking, moving, querying, or checking docs, so Story/Task coupling, managed blocks, provenance, and cross-links stay coherent. Run `lore instructions` for the canonical agent loop and `lore instructions <topic>` for just-in-time detail.
Ships in opum-lore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
lore is a deterministic, CLI-first documentation engine (no LLM dependency) for authoring,
retrieving, and maintaining an OKF bundle, typically under docs/. This skill is a thin pointer —
lore instructions is the source of truth for how to drive lore in the repository you're in.
Reach for lore — not a plain editor or grep — whenever you read, write, link, move, retrieve,
or verify docs in a lore-managed bundle or an explicitly selected workspace, so Story <-> Task
coupling, managed blocks, provenance, and cross-links stay coherent.
lore link, lore unlink, lore rename, and lore sync commit tracker files only when the
configured tracker is Backlog; Quest and Jira keep their own storage. Check the repository's own
instructions (its CLAUDE.md or AGENTS.md) for any commit-authority rule before running them.
The opum-lore plugin ships a pane that browses, reads, searches and creates this repository's
docs, opened through the mcp__opum-lore__dashboard tool — the pane's only entry point. This skill
routes the dashboard verb to it, in plain words too ("lore dashboard", "open this doc in the
pane"): /lore dashboard opens the pane as it stands, /lore dashboard full is the tool's
full: true, /lore dashboard <doc-id> is its doc, and /lore dashboard search <text> is
its query. No other argument opens the pane — anything that does not start with dashboard goes
to the lore CLI. The tool never takes the keyboard, so the person presses Tab or clicks to use the
pane.
Where the pane waits undrawn — a terminal below the engine's width floor, which is where an open
nobody asked for by hand waits, and a tool call is one of those — a band above the prompt offers it:
Lore pane ready · [Open] (ctrl+x tab, o). Tell the person to click Open, or to reach the o
hotkey by giving the band the keys first (ctrl+x tab): a bare o in the composer only types into it.
A click needs no focus. The band is gone once the pane is up.
Fallback: where that tool is unavailable — Claude Code older than 2.1.287, a claude -p run, or
mods turned off — say the pane is unavailable here and answer from the CLI instead, with
lore read <id> or lore query "<text>". Every other request goes through the lore CLI as it
does today.
To answer a question from the docs, search before you browse — do not start from
docs/index.md or grep:
lore query "<a few words from the question>" --limit 5 — full-text search over every concept.lore read <id> — the best hit exactly as authored, with no budget.lore context <id> --max-tokens <n> — only when you need the neighbors too. --max-tokens is a
hard ceiling: if the concept's own body does not fit, the body is dropped rather than exceeding
the budget, so use lore read for the body.lore instructions retrieval has the detail.
Run lore instructions for the canonical agent loop and the topic index, then pull just-in-time
detail with lore instructions <topic>:
retrieval Find and read docs in one repository (lore query -> lore read)linking Story <-> Task coupling (lore link / lore unlink)sync Reconciling status and managed blocks (lore sync)check The CI gate: types, drift, links, anchors, portability (lore check)validation Per-file OKF/schema conformance (lore validate)types Discovering the active type vocabulary (lore types, LCLI-537)workspace Multi-repository projection and bounded retrieval (--workspace)agents Which agent bridge lore agents checks or writes (lore agents, LCLI-437)backlog Adopt Backlog knowledge records through a digest-guarded migration lifecycleinit Scaffold an OKF bundle; a bare TTY run also wizards the agent bridge/scaffolds/tracker setupnew Scaffold a typed concept from a template (rejects an unknown type under strict_types)validate Check concept files against OKF + the lore profile (per-file); strict_types escalates an unknown typecheck Validate links/anchors + reconciliation/committed-schema drift across the bundle (CI gate); strict_types escalates an unknown typereplace Find-and-replace across the bundle, skipping managed regionsrename Move a concept and repoint every inbound link + refsupersede Mark a concept superseded by another, wiring both wayslink Add task ids to a concept's tasks: + the doc: back-ref, or a decision id to its decisions:unlink Remove task ids from a concept's tasks: + the doc: back-refsync Reconcile status + managed task blocks, regen index/log; commits tracker files on the Backlog backend onlytasks Show the live status rollup for a concept's linked tasksorphans Report tasks with no owning doc + docs whose linked task vanishedschema Export the profile's editor JSON Schemas to .lore/schemas/ (the fix for lore check's schema-drift; commit the result)types Print the active profile's declared type vocabulary — fields, requiredness, sectionsscaffold Generate a downstream docs consumer's config additively, rewriting nothinggraph Emit the bundle's cross-link graph as json or dotpath Find bounded paths across exact authored concept and task edgesimpact Expand bounded impact across exact authored concept and task edgescache Clear a checkout's read-only .lore/cache, which an outside recursive delete cannot removesnapshot Explicitly retain, list, or delete bounded projection snapshotschanged Compare two retained snapshots with bounded authored-fact deltasprovenance Trace one retained concept, task, or edge to exact source evidenceexplorer Build a deterministic self-contained local graph explorerexport Emit a deterministic, consumer-neutral OKF projection as JSONLquery Full-text search the bundle with frontmatter filterscontext Assemble a concept + neighbor summaries within a token budgetread Read one concept exactly as authored, with no budget and no assemblyagent List context profiles or compile bounded task-scoped evidenceinstructions Print task-scoped agent guidance on demandagents Regenerate the agent bridges (SKILL.md + the CLAUDE.md/AGENTS.md nudge)help Show help, or the machine-readable command manifest under --jsonEvery command supports --json (the {schemaVersion, kind, data} envelope) and --plain
(ANSI-free, auto-selected off a TTY). Branch on the semantic exit code, never on prose:
0 ok · 2 usage · 3 not_found · 4 denied · 5 conflict · 6 validation/drift · 7 indeterminate (cannot judge from here; never auto-repair).
A document's status: stable, a verified attribution, or a Done task record what
happened to the record — not whether what it asserts is still true. status names a
lifecycle stage; an attribution names who touched it. Neither substitutes for checking
the claim's own evidence before relying on it.
When native Claude Code instructions name a committed Lore profile, use this stable opt-in line:
Lore profile:
<name>. Before working, runlore agent context <name> --task "<assigned task>"and ground decisions in the returned source IDs.
A profile pack selects only among the sources its profile lists, so a question outside the profile
still needs lore query. Lore supplies evidence only. It does not create or patch native agents,
prompts, tools, models, permissions, or execution settings.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
opum-lore@opum is listed by opum-ai/opum-marketplace — review the source before installing
npx claudepluginhub opum-ai/opum-marketplace --plugin opum-lore