/prometheus-skill-pack:llm-wikifrom prometheus-skill-pack
Operate a persistent, LLM-maintained knowledge wiki through pk: ingest sources into OKF-formatted wiki pages (with index/log maintenance), query the wiki and file good answers back as pages, and lint for contradictions, orphans, stale claims, and missing cross-references. Use when asked to add knowledge to the wiki, ingest a document or conversation, answer from the knowledge base with citations, or health-check the wiki.
Ships in prometheus-skill-pack. 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.
Read when SKILL.md points to them.
Maintain a persistent, compounding knowledge wiki — the Karpathy LLM-wiki pattern implemented on pk (prometheus-knowledge-rs) with the Open Knowledge Format (OKF v0.1). The wiki is not a RAG cache: every source is compiled once into interlinked markdown pages that stay current, and every good answer is filed back so exploration compounds.
Three layers (who writes what):
| Layer | What | Who writes it |
|---|---|---|
| Raw sources | Documents, transcripts, notes fed to ingest | The user (immutable — never edit) |
| The wiki | OKF concept pages + index.md + log.md under the KB dir | pk + this skill (never the user) |
| The schema | references/wiki-schema.md — structure, conventions, workflows | Co-evolved, versioned in this repo |
Wiki location: <project_root>/.prometheus/knowledge/ inside a project,
~/.prometheus/knowledge/ (or $PK_KB_DIR) otherwise. All pages conform to
OKF v0.1 (shared/references/okf-v0.1.md); the producer checklist is
references/okf-conformance.md.
Prefer the knowledge_* MCP tools when the prometheus-knowledge server is
connected; fall back to the pk CLI (same engine, same KB):
| Operation | MCP tool | CLI |
|---|---|---|
| Ingest | knowledge_ingest | pk ingest [file] [--kb-dir DIR] (reads stdin without a file) |
| Search | knowledge_search | pk search "<query>" [--kb-dir DIR] |
| Focused brief | knowledge_focus | pk focus "<topic>" [--k N] [--kb-dir DIR] |
| Read one page | knowledge_get | pk get <concept-id> [--kb-dir DIR] |
| Lint | knowledge_lint | pk lint [--kb-dir DIR] |
| Inventory | — | pk list, pk stats |
pk's LLM calls route via ~/.prometheus/.env (CLOUD_LLM_URL,
PK_COMPILE_MODEL, …). If ingest fails with an LLM error, check that file
and the endpoint it names before debugging pk itself.
Compile a source into the wiki. A single source may touch many pages — that is the point.
pk ingest <file> or pipe text to pk ingest.
pk compiles it into an OKF concept page — frontmatter type (default
Reference), title, tags, timestamp, plus pk extension keys
(id, sources, created_at, updated_at, revision) — and assigns
the concept ID from the wiki-relative path. Ensure index.md and
log.md reflect the ingest (pk maintains them automatically where
supported; otherwise update them per the schema doc's formats), and add
a description to the frontmatter if pk did not emit one.pk search) for pages the
new knowledge touches: update entity/concept pages, add body cross-links
(bundle-relative form: [title](/path/page.md)), and note explicitly
where new information contradicts existing claims — flag it in both
pages rather than silently overwriting.# Citations section
(numbered links) at the bottom of the page.Ingest sources one at a time when the user is engaged (discuss takeaways, let them steer emphasis); batch only when explicitly asked.
Answer questions from the wiki, and make good answers permanent.
index.md first (progressive
disclosure), then pk search / pk focus for candidate pages, then read
the pages themselves. Do not answer from memory of the sources.type: Analysis or similar), so the
exploration compounds instead of vanishing into chat history.Periodic health check. Run pk lint for mechanical OKF conformance, then do
the semantic pass pk cannot:
timestamp fields and log.md recency).Emit findings as a prioritized list; fix mechanically what the user
approves, and append a lint entry to log.md.
Whatever the operation, leave the wiki consistent:
type (OKF §9 — the only hard conformance rules).index.md reflects every page (link + one-line description from its
frontmatter); log.md gets an entry per operation under a ## YYYY-MM-DD
date heading, newest first, each starting **Ingest** / **Query** /
**Lint**, so grep "^## " log.md | head -5 surfaces recent activity./path/page.md). Broken links
are tolerated (they mark not-yet-written knowledge) — but never create one
without intending the target page.type values are preserved, never
stripped (permissive consumption, OKF §9).Full conventions: references/wiki-schema.md. Producer checklist: references/okf-conformance.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-skill-pack218 skills in this plugin
/actor-modelTokio-native actor model pattern for Prometheus AGS projects. Implements actors as tokio tasks communicating via mpsc channels with a typed message enum, enabling safe concurrent state management without shared locks. Used in UAR session management, pk-librarian event broadcasting, and parking-lot scheduler design. Use when a component needs to own state exclusively while serving concurrent callers.
/adversarial-reviewIsolated, cross-model adversarial review of KBD artifacts and change diffs. Dispatches a fresh-context LLM judge over an OpenAI-compatible REST gateway (openai-proxy or `liter-llm api`) with an explicit mandate to find problems — the model that produced an artifact or change is never the model that reviews it. Runs as a pipeline stage inside kbd-assess/analyze/plan (artifact mode) and kbd-execute's single phase-boundary QA step (diff mode, once over the whole phase diff). Findings are severity-bucketed (CRITICAL/WARNING/SUGGESTION) and the judge's own report is screened by sycophancy-correction before it is surfaced.
/agent-team-creatorCreate, revise, package, and deploy agent-team definitions with staged questions and native exports for UAR, Codex, Claude Code, Copilot, Kimi Code, MiniMax CLI, OpenCode and DeepSeek. Use for team definition and catalog lifecycle; use agent-team-manage for active runtime task state.Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026