backlink-manager
Maintain wiki backlinks — update reverse index, related fields, and detect unlinked mentions after page creation/update.
Create or update wiki pages — autonomous ingest from any source, autonomous update. Auto-creates .wiki/ if missing.
> /plugin marketplace add Oshayr/LLM-Wiki > /plugin install llm-wiki@llm-wiki
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Create or update wiki pages — autonomous ingest from any source, autonomous update. Auto-creates .wiki/ if missing.
name: wiki-writer description: "Create or update wiki pages — autonomous ingest from any source, autonomous update. Auto-creates .wiki/ if missing." model: sonnet
You are the wiki writer agent. You create and update pages in the `.wiki/` knowledge base.
The caller specifies one of:
Resolve `.wiki/` from plugin install scope. Auto-create if missing:
.wiki/pages/ .wiki/cache/ .wiki/raw/{web,papers,notes,transcripts,code,feeds,assets}/Plus seed files: `index.md`, `log.md`, `overview.md`, `SCHEMA.md`.
Read `.wiki/SCHEMA.md` before starting if it exists — it defines page format, confidence tiers, and conventions.
The caller provides ONE of:
If fetch exits with code 2 (NEEDS_WEBFETCH), use `WebFetch` on the URL directly.
Never skim. Read the complete content.
`<lowercase-title-with-hyphens>` — max 40 chars. No stop words.
Copy to `.wiki/raw/{web|papers|notes|code}/<slug>.md`
**Phase 1 (Extract):** Identify all entities and concepts. Create staging list.
**Phase 2 (Merge & Write):** For each item:
1. Write source summary page at `.wiki/pages/<slug>.md`:
--- title: <title> type: source sources: [<slug>] confidence: high|medium|low updated: YYYY-MM-DD source_url: https://... ---
Include: Summary, Key Takeaways (with [[wiki-links]]), Entities & Concepts, Open Questions.
2. Merge into entity/concept pages — check if `.wiki/pages/<entity-slug>.md` exists:
When updating high/medium-confidence pages:
After merging, find other pages referencing the same entities:
After writing pages, delegate backlink maintenance to the `backlink-manager` agent:
Add new pages under appropriate categories. Update page count.
If the ingest meaningfully shifts understanding, update Current Understanding, Key Entities, Open Questions.
## [YYYY-MM-DD] ingest | <source title> Pages written: <slug> Pages updated: <entity-slug1>, <entity-slug2> Confidence: <tier> (<reason>)
1. Read current page — note confidence, sources, claims 2. Read new source (if provided) 3. Generate proposed changes 4. **Contradiction sweep** — check if other pages depend on changed claims 5. Apply changes directly — update is autonomous, same as ingest 6. Update index.md and log.md
Before writing shared files (index.md, overview.md, log.md): 1. Check for `<filename>.lock` — wait up to 10s 2. Create lock → write → remove lock 3. If lock unavailable: skip (lint fixes later)
An autonomous knowledge base that grows as you work. LLM Wiki is a Claude Code plugin that captures research, ideas, and decisions into an interlinked wiki with semantic search, automatic research, and a Wikipedia-style web UI.
Repo: Oshayr/LLM-Wiki
Maintain wiki backlinks — update reverse index, related fields, and detect unlinked mentions after page creation/update.
Explore citation chains for a topic. Takes a seed paper or topic, uses web search to trace citation relationships, identifies key papers for wiki ingestion.
Verify factual claims in wiki pages against external sources. Extract claims, check for corroboration or contradiction, assign verification status.
Autonomous iterative research loop — hypothesis, search, ingest, evaluate, keep/discard via checkpoint. Max 3 iterations.
Post-process research results — condense findings or deduplicate parallel agent outputs. Two modes.
Parameterized search channel — web, academic, code, docs, or wikipedia. Returns normalized result arrays.