惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
P
Proofpoint News Feed
Apple Machine Learning Research
Apple Machine Learning Research
WordPress大学
WordPress大学
博客园 - Franky
V
V2EX
爱范儿
爱范儿
J
Java Code Geeks
小众软件
小众软件
Last Week in AI
Last Week in AI
The Cloudflare Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
酷 壳 – CoolShell
酷 壳 – CoolShell
The Register - Security
The Register - Security
GbyAI
GbyAI
Vercel News
Vercel News
Y
Y Combinator Blog
腾讯CDC
F
Fortinet All Blogs
I
InfoQ
N
Netflix TechBlog - Medium
B
Blog RSS Feed
D
Docker
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
量子位
博客园 - 司徒正美
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
V
Visual Studio Blog
博客园 - 三生石上(FineUI控件)
宝玉的分享
宝玉的分享
Blog — PlanetScale
Blog — PlanetScale
H
Help Net Security
云风的 BLOG
云风的 BLOG
A
About on SuperTechFans
Scott Helme
Scott Helme
T
Tor Project blog
U
Unit 42
Google Online Security Blog
Google Online Security Blog
PCI Perspectives
PCI Perspectives
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
NISL@THU
NISL@THU
D
Darknet – Hacking Tools, Hacker News & Cyber Security
aimingoo的专栏
aimingoo的专栏
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Stack Overflow Blog
Stack Overflow Blog
Security Archives - TechRepublic
Security Archives - TechRepublic

Hacker News

Introducing Claude Opus 4.7 Qwen Studio The Future of Everything is Lies, I Guess: Where Do We Go From Here? GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Unexpected €54k billing spike in 13 hours: Firebase browser key without API restrictions used for Gemini requests Retrofitting JIT Compilers into C Interpreters IPv6 – Google The Accursèd Alphabetical Clock Cybersecurity Looks Like Proof of Work Now Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent When moving fast, talking is the first thing to break Too much Discussion of the XOR swap trick – Heather Cafe Introduction to Spherical Harmonics for Graphics Programmers The Grand Line Building a Z-Machine in the worst possible language High-Level Rust: Getting 80% of the Benefits with 20% of the Pain GitHub - duguyue100/midnight-captain: Inspired by Midnight Commander, tailored to my taste. How to build a `git diff` driver · Jamie Tanna | Software Engineer Center for Responsible, Decentralized Intelligence at Berkeley The Local Universe’s Expansion Rate Is Clearer Than Ever, but Still Doesn’t Add Up - A new synthesis of astronomical measurements confirms a persistent mismatch that could point to physics beyond current models The air throughout our homes is infused with microplastics. But there are things you can do to breathe less of them The disturbing white paper Red Hat is trying to erase from the internet – OSnews The Future of Everything is Lies, I Guess: Annoyances ‘Abhorrent’: the inside story of the Polymarket gamblers betting millions on war Productive procrastination — Max van IJsselmuiden maps, territory and LMs 447 Terabytes per Square Centimetre at Zero Retention Energy: Non-Volatile Memory at the Atomic Scale on Fluorographane Show HN: Pardonned.com – A searchable database of US Pardons 20 Years on AWS and Never Not My Job The Seasons are Wrong Artemis II crew splashes down near San Diego after historic moon mission We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs How a dancer with ALS used brainwaves to perform live On filing the corners off my MacBooks Installing every* Firefox extension OpenClaw’s memory is unreliable, and you don’t know when it will break Steve Blank Nowhere Is Safe Chimpanzees in Uganda locked in vicious 'civil war', say researchers watgo - a WebAssembly Toolkit for Go linux/Documentation/process/coding-assistants.rst at master · torvalds/linux GitHub - callumlocke/json-formatter: Makes JSON easy to read. Founding Product Engineer at Bild AI | Y Combinator A compelling title that is cryptic enough to get you to take action on it GitHub - Keychron/Keychron-Keyboards-Hardware-Design: Industrial design files for Keychron keyboards and mice. 100+ models with CAD assets in STEP, DXF, DWG, and PDF. Source-available, with commercial use allowed for original compatible accessories within the license terms. [ANNOUNCE] WireGuardNT v0.11 and WireGuard for Windows v0.6 Released 1D-Chess Helium Is Hard to Replace Cooperative Vectors Introduction | Evolve Keeping a Postgres queue healthy — PlanetScale Our response to the Axios developer tool compromise Do Americans read print books, e-books or audiobooks more? The Zettelkasten Method in Obsidian: A Practical Setup Guide Artemis II Is Competency Porn and We Are Starving For It WeakC4 Flight Viz — Cockpit View A Mexican surveillance giant you’ve never heard of is now watching the U.S. border Surelock: Deadlock-Free Mutexes for Rust RISC-V 101 – what is it and what does it mean for Canonical? | Ubuntu The Problem That Built an Industry How Much Linear Memory Access Is Enough? | Solidean Investigating Split Locks on x86-64 Simplest hash functions Sybilproof reputation mechanisms (2005) [pdf] What is a property? How Complex is my Code? Static code analysis in Kotlin — tools overview Toffoli gates are all you need PGLite evangelism dcmake: a new CMake debugger UI Clojure on Fennel part one: Persistent Data Structures Fragments: April 2 Python Release Python install manager 26.1 The Life and Death of the Book Review - Liberties Introducing Database Traffic Control — PlanetScale Bitcoin miners are losing $19,000 on every BTC produced as difficulty drops 7.8% God sleeps in the minerals Building slogbox Apple Silicon and Virtual Machines: Beating the 2 VM Limit Who was “Not Even Wrong” first? Pokemon Evolution Vs Darwinian Evolution The APL Programming Language Source Code
LLM Wiki — LLM-compiled knowledge bases for any AI agent
nvk · 2026-06-11 · via Hacker News

LLM-compiled knowledge bases for
any AI agent with awesome outputs.

Parallel multi-agent research. Thesis-driven investigation. Source ingestion. Wiki compilation. Topic archiving. Inventory tracking. Dataset manifests. Truth-seeking audits. Querying. Artifact generation. Ships as a Claude Code plugin, an OpenAI Codex plugin, an OpenCode instruction file, or a portable AGENTS.md. Obsidian-compatible.

Latest release GitHub stars License: MIT

Every run compounds. Sources become cross-referenced articles. Articles become reports, slide decks, study guides, playbooks, and implementation plans. The more you research, the stronger every output gets.

What it does

One command spins up a topic wiki, dispatches up to ten agents, ingests what's worth keeping, collects provenance-rich catalogs before tracking them, archives old topics without deleting them, tracks durable follow-up state, indexes large datasets without copying them, compiles sources into articles, and hands you a deliverable built on top. All plain Markdown you own.

Research

5–10 parallel agents search academic, technical, applied, news, and contrarian angles. --min-time 2h keeps going in rounds, drilling into gaps each round finds.

Thesis mode

Start from a claim. Agents split across supporting, opposing, mechanistic, meta, and adjacent angles. Output is a verdict — not a summary. Round two fights confirmation bias.

Ingest

URLs, files, PDFs, inbox drops, Git doc repos, MediaWiki dumps, message archives, and Wayback CDX snapshots. Raw sources stay immutable; articles synthesize on top.

Collect

Find, dedupe, download bounded public media, and catalog discoverable artifacts, examples, memes, tools, entities, and source candidates. Captures aliases, found-in-context provenance, local asset paths, hashes, scale, media policy, and inventory fit.

Inventory

Track durable things the wiki should remember: items, source candidates, corpora, entities, open questions, watch items, and next actions. Chat views default to compact tables.

Datasets

Index large, external, mutable, or operational data with manifests, samples, profiles, and query recipes. The wiki becomes the interface; the data stays where it belongs.

Archive

Move whole topic wikis to topics/.archive/. Preserved knowledge stays structurally maintainable but out of default query, compile, research, collect, output, and maintenance context.

Compile

Raw sources become synthesized articles with cross-references and confidence scores. Every directory has an _index.md — nothing is scanned blindly.

Query

Quick (indexes), standard (articles), or deep (everything + sibling wikis). --resume picks up where you left off.

Librarian

Score every article for staleness and quality. Two-tier scan: fast metadata check, then deep content read for flagged articles. Checkpoint recovery. Machine-readable JSON + human-readable report.

Audit

Answer the broader trust question. Reuse the librarian pass, trace outputs across raw/, wiki/, and output/, detect drift, inspect provenance, and do fresh research when local evidence is not enough.

Lessons

Extract lessons learned from the current session — error→fix patterns, user corrections, discoveries. Saved as structured notes the wiki can query later. --rules emits enforceable rules instead of prose.

Plan

Wiki-grounded implementation plans. Reads the knowledge base, interviews you about requirements, fills gaps with targeted research, and produces a phased plan citing wiki articles as evidence. --format rfc|adr|spec.

Output

Reports, slide decks, study guides, playbooks, implementation plans, timelines, glossaries, comparisons. Filed back into the wiki so the next output builds on every previous one.

Install

Claude Code

Native plugin. Recommended.

claude plugin install wiki@llm-wiki

Installs from the public marketplace. Restart Claude Code to apply.

OpenAI Codex

Marketplace plugin. Invoke with @wiki.

codex plugin marketplace add nvk/llm-wiki
# Then open /plugins, enable "LLM Wiki", use @wiki

Or from a local checkout: ./scripts/bootstrap-codex-plugin.sh --scope user --verify. The Codex tree is a generated mirror of the Claude source of truth — updates land identically.

OpenCode

Instruction file.

# In opencode.json:
{ "instructions": [
  "path/to/llm-wiki/plugins/llm-wiki-opencode/skills/wiki-manager/SKILL.md"
] }

Or copy to ~/.config/opencode/AGENTS.md. Web search requires OPENCODE_ENABLE_EXA=1.

Pi

Instruction file. Best for local models.

pi --instructions path/to/llm-wiki/plugins/\
llm-wiki-opencode/skills/wiki-manager/SKILL.md

Pi's 1K system prompt leaves room for the full wiki skill on 32K context local models. Uses the same skill file as OpenCode.

Any LLM agent

Portable AGENTS.md.

curl -sL https://raw.githubusercontent.com/nvk/llm-wiki/master/AGENTS.md \
  > ~/your-project/AGENTS.md

Drop the file into any agent's context or project root. Works with anything that can read/write files and search the web.

Upgrading an existing install

Claude Code:

claude plugin update wiki@llm-wiki
# Restart Claude Code to apply

If the update command misses a new version (stale marketplace cache), sync manually:

git clone https://github.com/nvk/llm-wiki.git   # or: git -C ~/llm-wiki pull
REPO=~/llm-wiki/claude-plugin
DEST=~/.claude/plugins/cache/llm-wiki/wiki
VERSION=$(grep '"version"' "$REPO/.claude-plugin/plugin.json" | grep -o '[0-9.]*')
rm -rf "$DEST"/*
mkdir -p "$DEST/$VERSION"
cp -R "$REPO/.claude-plugin" "$REPO/commands" "$REPO/skills" "$DEST/$VERSION/"

Codex: codex plugin marketplace upgrade llm-wiki. For a local checkout: re-run ./scripts/bootstrap-codex-plugin.sh --scope user --verify.

AGENTS.md: re-run the curl command above to replace the file.

Quick start

One command, from anywhere — creates a topic wiki, launches parallel agents, keeps researching for an hour, comes back compiled.

/wiki:research "gut microbiome" --new-topic --min-time 1h

More common flows:

/wiki:research "nutrition" --new-topic
/wiki:research "fasting" --deep --min-time 2h
/wiki:research "What makes articles go viral?" --new-topic

/wiki:research --mode thesis "fiber reduces neuroinflammation via SCFAs"
/wiki:query "How does fiber affect mood?"
/wiki:query --resume

/wiki add https://example.com/article       # fuzzy router → ingest
/wiki what do we know about CRISPR?         # fuzzy router → query

/wiki:ingest-collection https://github.com/bitcoin/bips --wiki bitcoin
/wiki:collect "bitcoin memes" --wiki bitcoin
/wiki:collect "bitcoin memes" --scale medium --media reference --inventory corpus
/wiki:inventory add item "TRX-4M ring and pinion" --wiki trx4m-1-18
/wiki:inventory list --view actions --limit 10
/wiki:dataset add "Bitcointalk Temporal Graph" --location https://figshare.com/articles/dataset/BitcoinTemporalGraph/26305093
/wiki:dataset list --view schema --limit 10
/wiki:archive topic old-interest --reason "No longer active"
/wiki:archive list --archived
/wiki:archive restore old-interest

/wiki:compile
/wiki:output report --topic gut-brain
/wiki:assess /path/to/my-app --wiki nutrition
/wiki:lint --fix

How it works

1ResearchParallel agents search the web, ingest sources, and compile articles in one command.

2IngestURLs, files, PDFs, inbox drops, repos, dumps, archives, or snapshots.

3CollectCatalog many discoverable things first, then decide what deserves inventory, raw ingestion, or dataset indexing.

4CompileRaw sources become synthesized wiki articles with cross-references and confidence scores.

5TrackInventory records and dataset manifests preserve next actions without polluting source evidence.

6ArchiveQuiet old topic wikis without deleting their sources, articles, outputs, or logs.

7QueryQuick (indexes), standard (articles), deep (active content plus archived index hints).

8LintBroken links, missing indexes, orphan articles, archive registry drift. --fix auto-repairs safe issues.

9OutputSummaries, reports, slides, plans — filed back into the wiki.

Architecture

~/wiki/                                 # Hub — lightweight, no content
├── wikis.json                          # Registry of all topic wikis
├── _index.md                           # Lists topic wikis with stats
├── log.md                              # Global activity log
└── topics/                             # Each topic is an isolated wiki
    ├── nutrition/
    │   ├── .obsidian/                  # Obsidian vault config
    │   ├── inbox/                      # Drop zone for this topic
    │   ├── inventory/                  # Items, candidates, corpora, views
    │   ├── datasets/                   # Manifests for large/external data
    │   ├── raw/                        # Immutable sources
    │   ├── wiki/                       # Compiled articles
    │   │   ├── concepts/
    │   │   ├── topics/
    │   │   └── references/
    │   ├── output/                     # Generated artifacts
    │   ├── _index.md
    │   ├── config.md
    │   └── log.md
    ├── woodworking/                    # Another topic wiki
    └── .archive/                       # Archived topic wikis, hidden by default

One topic, one wiki

Each research area is isolated. No cross-topic noise. Queries stay focused. A multi-wiki peek finds overlap when relevant.

Dual-linking

[[wikilinks]] for Obsidian plus standard markdown links for everything else. Works in every viewer — including no viewer at all.

Raw is immutable

Once a source is ingested it is never modified. Articles synthesize on top. Retraction removes both cleanly.

Collector catalogs

/wiki:collect records aliases, source context, media URLs, cached asset paths, hashes, dedupe notes, scale, and inventory recommendations before anything becomes evidence or durable state.

Inventory is state

Parts, source queues, corpora, watch items, and next actions live under inventory/ so they can be listed and revisited without becoming evidence.

Datasets stay external

datasets/ stores manifests, samples, profiles, and query recipes for large data. The wiki indexes data without copying it into the source corpus.

Archive is quiet

Archived topics live under topics/.archive/. Most tools skip them by default; deep queries may surface index hits, and explicit --include-archived can read them.

Zero dependencies

Runs entirely on the host agent's built-in tools. Plugin is Markdown + commands. No servers, no services, no telemetry.

Commands

All commands accept --wiki <name> to target a topic wiki and --local for the project wiki. Archived topic wikis are skipped by default; commands that support --include-archived require that explicit flag before reading or writing archived material. query, output, and plan also accept --with <wiki> for cross-wiki context.

CommandDescription
/wiki <natural language>Fuzzy intent router — say what you want, it routes to the right subcommand.
/wikiShow status, stats, and list all topic wikis.
/wiki init <name>Create a topic wiki at ~/wiki/topics/<name>/.
/wiki:ingest <source>Ingest a URL, file path, or quoted text.
/wiki:ingest --inboxProcess files dropped into the topic wiki's inbox.
/wiki:ingest-collection <source>Bulk-ingest Git doc repos, BIP-style proposal sets, MediaWiki dumps/API sites, message archives, or Wayback CDX snapshots.
/wiki:collect "<things>"Find, dedupe, and catalog artifacts, examples, resources, media, memes, tools, entities, or source candidates.
/wiki:collect "<things>" --scale tiny|small|medium|large|hugeControl write behavior by operational scale: row count, media weight, provenance burden, volatility, and inventory usefulness.
/wiki:collect "<things>" --media archive|thumbnail|referenceDownload bounded originals by default for media-bearing collections; use thumbnails for previews or reference to opt out.
/wiki:collect "<things>" --inventory corpus|recordsCreate one corpus record for medium or media-heavy sets, or per-item records only for small durable lists.
/wiki:inventory listList durable tracking records as compact chat tables or bullets.
/wiki:inventory add <kind> "title"Add items, source candidates, entities, corpora, questions, tasks, or watch records after a fit check.
/wiki:inventory scan-outputs --dry-runPreview legacy queues/backlogs before an additive inventory migration.
/wiki:dataset listList dataset manifests without opening samples, profiles, queries, or underlying data.
/wiki:dataset add "title" --location <path-or-url>Index large or external data with a manifest; the data stays outside the wiki.
/wiki:dataset profile <slug> --dry-runPreview lightweight profiling of size, format, headers, or schema observations.
/wiki:archive list [--archived]List active topic wikis and optionally archived topic wikis.
/wiki:archive topic <slug> --reason "why"Move a topic wiki to topics/.archive/<slug> and hide it from default context.
/wiki:archive restore <slug>Restore an archived topic wiki to active status.
/wiki:archive peek <query>Search archived topic indexes without reading archived article bodies.
/wiki:compileCompile new sources into wiki articles.
/wiki:query <question>Q&A against the wiki. --quick / --deep / --list / --resume / --include-archived.
/wiki:llExtract lessons from current session into wiki. --dry-run, --rules.
/wiki:research <topic>5 parallel agents. --plan (multi-path), --deep (8), --retardmax (10), --new-topic, --min-time 1h.
/wiki:research --mode thesis <claim>Thesis-driven research: for + against → verdict.
/wiki:plan <goal>Wiki-grounded implementation plan. --format rfc|adr|spec.
/wiki:output <type>summary, report, study-guide, slides, timeline, glossary, comparison.
/wiki:assess <path>Assess a repo against wiki + market. Gap analysis.
/wiki:auditTruth-seeking audit across wiki, outputs, provenance, and fresh research when needed.
/wiki:librarianScore articles for staleness and quality. Checkpoint recovery. --article <path> for single article.
/wiki:lintHealth checks. --fix auto-repairs. --deep web-verifies facts.
/wiki:retractRemove a source and clean up downstream references.
/wiki:projectGroup outputs into projects with goals and manifests.

Guides

From zero to a compiled wiki in 5 minutes.

Quick Start — Your first wiki in 5 minutes

1. Install the plugin

claude plugin install wiki@llm-wiki

2. Create a topic wiki

Pick any topic you're curious about:

/wiki init nutrition

This creates a hub at ~/wiki/ and your first topic wiki at ~/wiki/topics/nutrition/.

3. Research it

/wiki:research "gut microbiome and mental health" --wiki nutrition
# or just say it naturally:
/wiki research gut microbiome and mental health

Five parallel agents search the web from different angles (academic, technical, applied, news, contrarian), ingest the best sources, and compile them into cross-referenced wiki articles. Takes 2-5 minutes.

4. Ask your wiki a question

/wiki:query "how does fiber affect mood?" --wiki nutrition
# or naturally:
/wiki how does fiber affect mood?

The wiki answers from its compiled articles with citations.

5. Audit before you trust an output

/wiki:audit --wiki nutrition
/wiki:audit --artifact output/report-gut-brain.md

Audit rechecks the wiki layer, traces the output's evidence chain, flags drift, and will do fresh research if the local corpus is not enough to answer the trust question.

What to do next:

  • /wiki:research "topic" --deep — 8 agents instead of 5, adds historical and data angles
  • /wiki:research "topic" --min-time 1h — keep researching in rounds for an hour
  • /wiki:research "topic" --plan — decompose into parallel research paths
  • /wiki:audit --project nutrition-playbook — verify outputs and upstream wiki state together
  • /wiki add https://example.com/article — fuzzy router detects the URL and ingests it
  • /wiki what do we know about CRISPR? — fuzzy router detects the question and queries
  • /wiki:lint --fix — clean up any structural issues
Research workflow — From question to compiled knowledge

A typical research session flows through four stages:

Stage 1: Ask a question or pick a topic

llm-wiki auto-detects whether you're asking a question or naming a topic. Use the direct command or the fuzzy router:

/wiki:research "What makes long-form articles go viral?"   # direct command
/wiki research quantum computing                            # fuzzy router — same result
/wiki:research --mode thesis "fiber reduces neuroinflammation via SCFAs"  # thesis → for/against evidence

Stage 2: Agents search in parallel

5 agents (8 with --deep, 10 with --retardmax) search simultaneously from different angles — 2-3 web searches each, full-content fetch, quality scoring (1-5). A credibility pass deduplicates before ingestion.

Stage 3: Sources are ingested and compiled

Top sources are saved to raw/ (immutable — never modified after ingestion). Then the compilation pass synthesizes them into wiki articles under wiki/concepts/, wiki/topics/, and wiki/references/ with cross-references, confidence scores, and bidirectional links.

Stage 4: Gap report and follow-up

After each round, you see what's covered, what's still missing, and suggested follow-ups. If 2+ gaps remain, you're offered to close them in parallel:

### Close gaps?
1. Dose-response curves for wavelength specificity
2. Long-term safety data for daily exposure
3. Device comparison (clinical vs consumer panels)

Enter numbers (e.g. 1,2,4), "all", or "skip":

Multi-round research: Add --min-time 2h to keep researching in rounds, each drilling into gaps the previous round found. Add --plan to decompose into parallel paths upfront.

How the wiki works — Hub, topics, sources, and articles

The hub (~/wiki/) is just a registry. No content — only wikis.json, _index.md, and log.md. All content lives in topic sub-wikis.

Topic wikis (~/wiki/topics/<name>/) are isolated research areas. Each has its own sources, articles, outputs, and Obsidian vault config. Isolation means researching quantum computing can't pollute your nutrition wiki.

Raw sources (raw/) are immutable. Once a paper, article, or data file is ingested, it's never modified. This is the audit trail — every claim in every article traces back to a source.

Wiki articles (wiki/) are LLM-compiled syntheses organized into three categories:

  • Concepts — foundational ideas, mechanisms, theories
  • Topics — specific subjects, comparisons, state-of-the-field
  • References — tools, frameworks, data tables, lookup resources

Archive (topics/.archive/) is for whole topic wikis the user no longer wants in normal context. It preserves source history, articles, outputs, and logs while keeping old interests quiet by default.

Inventory (inventory/) is for durable operational state: actual items, source candidates, corpora, entities, open questions, tasks, watch items, and next actions. It is intentionally not evidence for factual claims.

Dataset manifests (datasets/) let the wiki index large or external data without copying it into raw/. Manifests can point to local paths, URLs, archives, samples, profiles, and query recipes.

Articles use dual-link format: [[wikilink]] for Obsidian + standard markdown links for everything else. Confidence scores (high/medium/low) reflect source quality and corroboration.

Indexes (_index.md) exist in every directory. They're derived caches — rebuilt automatically from file frontmatter. The agent reads indexes first and never scans blindly.

Outputs (output/) are generated artifacts: reports, slide outlines, study guides, implementation plans. They're built from wiki articles, so every output compounds on all prior research.

Audit walks that full artifact graph. It can trace an output back through the wiki state and raw sources it depended on, then escalate into fresh research when the stored evidence is stale or incomplete.

iCloud shared hub — Portable paths, permissions, and SSH

Use iCloud Drive when you want the same hub visible from multiple Macs. The important rule is that the shared config should describe the logical path, not one Mac's absolute user directory.

Set the hub with a portable path:

/wiki config hub-path "~/Library/Mobile Documents/com~apple~CloudDocs/wiki"

This writes ~/.config/llm-wiki/config.json. New configs should keep hub_path and avoid writing a machine-specific resolved_path. Shared wikis.json entries should store topic paths such as topics/bitcoin, not /Users/alice/.../topics/bitcoin.

Each Mac needs its own app permission. iCloud sync can be healthy while macOS still blocks the agent process. Full Disk Access is local to the machine and to the exact launcher app.

  • Claude Code from Terminal: grant Terminal.app access, then fully restart Terminal.
  • Codex from VS Code, Cursor, iTerm, or another launcher: grant that launcher, not just Terminal.
  • Codex over SSH: grant access to /usr/libexec/sshd-session, /usr/libexec/sshd-keygen-wrapper, and optionally /usr/sbin/sshd, then start a new SSH/Codex session.
  • OpenCode or sandbox wrappers: grant the app permission and also allow the hub path in the tool's own sandbox config.

Fast diagnostic: run this from the same terminal, SSH session, or app that launches the agent:

python3 - <<'PY'
from pathlib import Path
hub = Path.home() / "Library/Mobile Documents/com~apple~CloudDocs/wiki"
for path in [hub, hub / "wikis.json", hub / "topics"]:
    try:
        print("STAT OK:", path)
        path.stat()
    except Exception as exc:
        print("STAT FAIL:", type(exc).__name__, exc)
    try:
        if path.is_dir():
            print("LIST OK:", [p.name for p in path.iterdir()][:10])
        else:
            print("READ OK:", path.read_text(encoding="utf-8")[:200])
    except Exception as exc:
        print("READ/LIST FAIL:", type(exc).__name__, getattr(exc, "errno", None), exc)
PY

How to read the result: STAT OK followed by READ/LIST FAIL ... Operation not permitted means the path is correct and macOS privacy is denying content access. Do not switch to ~/wiki or a machine-local resolved_path; grant the launcher permission and restart the session.

Deep research with --plan — Parallel multi-path research

For broad topics, --plan decomposes your research into independent paths and runs them all in parallel:

/wiki:research "red light therapy" --plan --wiki redlight-therapy
# or naturally:
/wiki research red light therapy --plan

The agent generates a research plan and asks for confirmation:

## Research Plan — red light therapy

### Paths (will run in parallel)

1. **Mechanisms** — cytochrome c oxidase, wavelength specificity, dose-response
2. **Clinical evidence** — RCTs for skin, joints, wounds, cognition
3. **Devices** — LED vs laser, panel sizing, FDA clearances
4. **Criticisms** — placebo effects, publication bias, safety concerns

### Estimated: 4 paths x 5 agents = 20 parallel agents

Proceed? (y/n/edit)

On confirmation, all paths launch simultaneously. Each path runs its own 5-agent swarm. Sources are ingested in parallel (each path writes unique files), then a single compilation pass sees all sources at once for cross-path synthesis.

After the first round, a gap report shows what's still missing. Pick which gaps to close — they launch as another parallel batch:

### Close gaps?
1. Dose-response curves for wavelength specificity
2. Long-term safety data for daily exposure
3. Device comparison (clinical vs consumer)

Enter numbers (e.g. 1,2,4), "all", or "skip":

Combine with other flags:

  • --plan --deep — 8 agents per path instead of 5
  • --plan --min-time 2h — multiple plan-dispatch-compile cycles over 2 hours
  • --plan --new-topic — create the wiki and research in one shot
Using outputs — Reports, slides, plans, and more

Once your wiki has compiled articles, generate deliverables from them:

/wiki:output report --topic gut-brain --wiki nutrition
# or naturally:
/wiki write a report on gut-brain axis

Output types:

  • summary — concise overview of a topic or the entire wiki
  • report — detailed analysis with citations and evidence
  • study-guide — structured learning material with key concepts and review questions
  • slides — slide deck outline with speaker notes
  • timeline — chronological view of events and developments
  • glossary — term definitions extracted from articles
  • comparison — side-by-side analysis of two or more subjects

Outputs are saved to output/ inside the topic wiki and indexed automatically. Every output builds on all compiled articles, so the more you research, the stronger every output gets.

Retardmax mode works here too — /wiki:output report --retardmax ships a rough draft immediately. Iterate later.

Cross-wiki context: Use --with to pull knowledge from another wiki into your output:

/wiki:output report --wiki nutrition --with article-writing
# Uses nutrition content + article-writing craft knowledge

Projects: Group related outputs into project folders with goals:

/wiki:project new rebuild-blog "Rewrite the company blog using wiki research"
/wiki:output report --topic gut-brain --project rebuild-blog

The output lands in output/projects/rebuild-blog/ with a WHY.md that captures the goal. Future outputs with the same --project flag accumulate there.

Permissions setup — Skip URL approval prompts

Research sessions fetch many URLs. By default, Claude Code asks for approval on each one. To skip these prompts, add WebFetch and WebSearch to your project's allow list:

In .claude/settings.local.json:

{
  "permissions": {
    "allow": [
      "WebFetch",
      "WebSearch"
    ]
  }
}

This pre-approves all web fetches and searches. You can also allow specific domains only: WebFetch(domain:arxiv.org).

If you prefer per-session approval, choose "Always allow" when Claude asks about the first URL — that covers the rest of the session.

Latest release

Pulled live from github.com/nvk/llm-wiki/releases. Falls back to the version baked into the plugin manifest if the API is unavailable.

v0.10.1 latest

Collector media downloads. /wiki:collect downloads bounded public binary media into output/assets/collect-<slug>/ by default for media-bearing collections.

Cataloged assets. Catalog rows track local media paths, byte sizes, formats, hashes, download status, source context, confidence, rights notes, gaps, and next actions.

Media-safe boundaries. --media reference opts out of downloads, larger media sets become dataset manifests, and raw sources remain textual evidence.

Plugins in the marketplace

Pulled live from .claude-plugin/marketplace.json on the master branch via jsDelivr CDN — no rate limits, always current.

wiki

v0.10.1

LLM-compiled knowledge base. Commands: /wiki (router + init/status), /wiki:ingest, /wiki:ingest-collection, /wiki:collect, /wiki:inventory, /wiki:dataset, /wiki:archive, /wiki:compile, /wiki:query, /wiki:research, /wiki:audit, /wiki:librarian, /wiki:ll, /wiki:assess, /wiki:plan, /wiki:lint, /wiki:output, /wiki:retract, /wiki:project.

FAQ

What is LLM Wiki?

LLM Wiki is a set of commands and a knowledge model that turns any LLM agent into a research engine and an append-only, Markdown-native wiki. It runs parallel multi-agent research, collects provenance-rich catalogs of discoverable artifacts and examples, ingests URLs and files, archives old topic wikis that should stay preserved but quiet, tracks durable inventory state, indexes large datasets with manifests, compiles raw sources into synthesized articles with cross-references, audits whether those articles and outputs are still trustworthy, answers questions against the compiled knowledge, and generates artifacts like reports, slides, study guides, and implementation plans.

Inspired by Andrej Karpathy's LLM wiki concept.

Which LLM agents does it support?

Five install modes: Claude Code (native plugin via the llm-wiki marketplace), OpenAI Codex (marketplace plugin via codex plugin marketplace add nvk/llm-wiki, invoked with @wiki), OpenCode (instruction file via opencode.json), Pi (instruction file — best for local models with its minimal system prompt), and any other LLM agent via the portable AGENTS.md file.

The behavioral logic lives in a single wiki-manager skill shared across runtimes — Codex, OpenCode, and Pi trees symlink into the Claude source of truth so there is no fork. Drift is caught by self-healing sync tests.

Where is my wiki data stored?

By default in ~/wiki/ on your machine. You can relocate the hub to iCloud Drive, Dropbox, or any custom path:

/wiki config hub-path ~/Library/Mobile\ Documents/com~apple~CloudDocs/wiki

Config lives at ~/.config/llm-wiki/config.json. Shared hubs should use portable hub_path values and relative wikis.json topic paths; old machine-specific resolved_path values are treated only as fallback caches.

Why does iCloud work on one Mac but fail on another?

macOS privacy permissions are local to each Mac and to the exact process launching the agent. One machine can read the iCloud hub while another machine with the same Apple ID and same files returns Operation not permitted.

If stat succeeds for the hub but reading wikis.json or listing topics/ fails, the configured hub_path is correct. Grant Full Disk Access or iCloud Drive access to the launcher app, then fully restart that app and the agent.

For SSH-launched Codex sessions, Terminal.app permission is not enough because Codex is a child of sshd-session. Grant access to /usr/libexec/sshd-session, /usr/libexec/sshd-keygen-wrapper, and optionally /usr/sbin/sshd, then start a new SSH session.

Is it Obsidian-compatible?

Yes. Each topic wiki ships with its own .obsidian/ vault config and can be opened as an independent vault:

open ~/wiki/topics/nutrition/

Cross-references use a dual-link format:

[[gut-brain-axis|Gut-Brain Axis]] ([Gut-Brain Axis](../concepts/gut-brain-axis.md))

Obsidian reads the wikilink for graph view and backlinks; everything else (Claude Code, GitHub, plain text editors) follows the standard markdown link.

What is "retardmax" mode?

A research mode inspired by Elisha Long's retardmaxxing philosophy — act first, think later. Ten parallel agents, skip planning, cast the widest net, ingest aggressively, compile fast, lint later.

Available on /wiki:research --retardmax and /wiki:output --retardmax for when you want results now and will clean up afterward.

How does thesis-driven research work?

/wiki:research --mode thesis "<claim>" starts from a specific claim and uses it as a filter. Agents are split across supporting, opposing, mechanistic, meta/review, and adjacent — balanced by design.

Sources that don't relate to the claim's variables are skipped, which keeps the wiki tight. Output is a verdict: supported, partially supported, contradicted, insufficient evidence, or mixed.

With --min-time, round two focuses harder on the weaker side of the evidence — counter-weight against confirmation bias.

Is it free and open source?

Yes. LLM Wiki is MIT-licensed. Source and releases at github.com/nvk/llm-wiki.

Does it work offline?

Compiling, querying, linting, and generating artifacts from an existing wiki work offline — everything is plain Markdown on your disk. Research and ingestion need internet since they fetch URLs and search the web.

What dependencies does it have?

Zero runtime dependencies. LLM Wiki uses only the built-in tools of the host agent (file read/write, web fetch, web search). The plugin itself is Markdown: command definitions, skills, and reference docs.

Optional: ask-grok-mcp for best-in-class tweet ingestion, tobi/qmd for local search beyond ~100 articles.

How do I update to the latest version?

Claude Code: claude plugin update wiki@llm-wiki and restart.

Codex: codex plugin marketplace upgrade llm-wiki (or re-run the bootstrap helper for a local checkout).

AGENTS.md: re-curl from the master branch to replace your file.

See Install for the manual sync fallback when the plugin updater hits stale cache.

Credits