/wiki
Manage LLM-compiled wikis in DeepSeek Harness: ingest/import, shape Ideas, track inventory and datasets, compile/query/lint/audit, research/plan, manage sessions, private adapters, personal specialists, and outputs. Use for wiki workflows, knowledge-base management, source
Claude Code
$ npx -y skills add nvk/llm-wiki --skill wiki --agent claude-code
Codex
$ npx skills add nvk/llm-wiki --skill wiki -a codex -y
Cursor
$ npx skills add nvk/llm-wiki --skill wiki -a cursor -y
Gemini CLI
$ npx skills add nvk/llm-wiki --skill wiki -a gemini-cli -y
GitHub Copilot
$ npx skills add nvk/llm-wiki --skill wiki -a github-copilot -y
OpenCode
$ npx skills add nvk/llm-wiki --skill wiki -a opencode -y
Windsurf
$ npx skills add nvk/llm-wiki --skill wiki -a windsurf -y
SKILL.md
wiki.SKILL.mdname: wiki
description: >
Manage LLM-compiled wikis in DeepSeek Harness: ingest/import, shape Ideas,
track inventory and datasets, compile/query/lint/audit, research/plan,
manage sessions, private adapters, personal specialists, and outputs.
Use for wiki workflows, knowledge-base management, source ingestion,
compilation, provenance, audits, and /wiki-style requests.
LLM Wiki Manager
You manage an LLM-compiled knowledge base. Source documents are ingested into `raw/`, then incrementally compiled into a wiki of interconnected markdown articles. DeepSeek Harness is both the compiler and the query engine.
DeepSeek Harness Notes
This directory is a native filesystem skill bundle. Invoke it as `/wiki`, or let the harness load it from a matching request. Treat `/wiki:*` examples as workflow shorthand under the loaded `/wiki` skill. The deterministic helper is bundled at `bin/llm-wiki` inside this skill; use it instead of assuming a global executable.
Hub Path
**Resolution**: At the start of every operation, resolve **HUB** by reading `~/.config/llm-wiki/config.json` first. Prefer `hub_path`: expand the leading `~` only (not tildes in `com~apple~CloudDocs`) on the current machine. Treat `resolved_path` as a legacy cache only: use it when no `hub_path` exists, or as a fallback if the expanded `hub_path` is unavailable and `resolved_path` is initialized. Do not write machine-specific `resolved_path` values into shared configs. If no config file exists, try `~/wiki/_index.md` as a fallback. If `stat`/existence checks succeed but reading `wikis.json` or listing `topics/` fails with `Operation not permitted`, the hub path is correct and macOS is blocking this process; tell the user to grant Full Disk Access or iCloud Drive access to the exact app launching the agent and restart. Do not switch to `~/wiki` or `resolved_path` for that error. See [references/hub-resolution.md](references/hub-resolution.md) for the full protocol.
The config file looks like:
{
"hub_path": "~/Library/Mobile Documents/com~apple~CloudDocs/wiki"
}If no config exists and `~/wiki/` has `_index.md`, that works too. But config is checked first — in sandboxed environments `~/wiki/` may not be accessible. All references to `~/wiki/` below mean HUB.
Wiki Location
**Topic sub-wikis are the default.** HUB is a hub — content lives in `HUB/topics/<name>/`. Each topic gets isolated indexes, sources, and articles. This keeps queries focused and prevents unrelated topics from polluting each other's search space.
For collection families that will grow across subjects, prefer kind-first topic slugs such as `memes-bitcoin`, `memes-ethereum`, `tools-bitcoin`, or `examples-seedqr`. Use subject-first slugs when the subject is the primary research area and the collection is only one artifact within that topic.
Resolution order:
1. `--local` flag → `.wiki/` in current project 2. `--wiki <name>` flag → named wiki from `HUB/wikis.json`; resolve registry paths as `<HUB>`, `~`, absolute, or relative to HUB, and fall back to `HUB/topics/<name>` if a registry path is stale 3. Current directory has `.wiki/` → use it 4. Otherwise → HUB (the hub)
When a command targets the hub and the hub has no content, suggest creating a topic sub-wiki instead.
See [references/wiki-structure.md](references/wiki-structure.md) for the complete directory layout and all file format conventions.
Core Principles
1. **Indexes are a derived cache.** The `.md` files and their YAML frontmatter are the source of truth. `_index.md` files are a cached view rebuilt on read when stale. Always read indexes first for navigation — but before trusting one, stale-check it (file count vs row count). See [references/indexing.md](references/indexing.md) for the Derived Index Protocol.
2. **Raw is immutable.** Normal workflows never modify ingested sources. Explicit retraction runs first via hidden-input `scripts/llm-wiki retract`; content, archives, and sessions cannot veto it.
3. **Articles are synthesized, not copied.** A wiki article draws from multiple sources, contextualizes, and connects to other concepts. Think textbook, not clipboard.
4. **Dual-linking for Obsidian + DeepSeek Harness.** Cross-references use both `[[wikilink]]` (for Obsidian graph view) and standard markdown `[text](path)` (for harness navigation) on the same line: `[[slug|Name]] ([Name](../category/slug.md))`. Bidirectional when it makes sense.
5. **Frontmatter is structured data.** Every `.md` file has YAML frontmatter with title, summary, tags, dates. This makes the wiki searchable without full-text scans.
6. **Incremental over wholesale.** Compilation processes only new sources by default. Full recompilation is expensive and explicit (`--full`).
7. **Honest gaps.** When answering questions, if the wiki doesn't have the answer, say so. Never hallucinate. Suggest what to ingest to fill the gap.
8. **Multi-wiki awareness.** When querying, answer from the primary wiki first. Then peek at sibling wiki indexes (via `HUB/wikis.json`) for relevant overlap. Flag connections but never merge content across wikis.
9. **Chunk large writes.** Never create files longer than ~200 lines in a single Write call — the API stream idles during large generations, causing timeout errors. Write the skeleton (frontmatter + headers + first section) first, then use sequential Edit calls to append remaining sections. For plans, articles, and raw notes: write one section per tool call.
10. **Archive is quiet preservation.** Archived topic wikis live under `HUB/topics/.archive/<slug>/` and are hidden from normal semantic workflows. They remain structurally maintainable through explicit archive/lint operations. Deep queries may surface archived index matches separately, but archived content must not influence new synthesis unless the user explicitly includes it.
11. **Session capture is operational memory.** Harness session digests live in `HUB/.sessions/` or `.wiki/.sessio
Read more
name: wiki description: > Manage LLM-compiled wikis in DeepSeek Harness: ingest/import, shape Ideas, track inventory and datasets, compile/query/lint/audit, research/plan, manage sessions, private adapters, personal specialists, and outputs. Use for wiki workflows, knowledge-base management, source ingestion, compilation, provenance, audits, and /wiki-style requests.
LLM Wiki Manager
You manage an LLM-compiled knowledge base. Source documents are ingested into `raw/`, then incrementally compiled into a wiki of interconnected markdown articles. DeepSeek Harness is both the compiler and the query engine.
DeepSeek Harness Notes
This directory is a native filesystem skill bundle. Invoke it as `/wiki`, or let the harness load it from a matching request. Treat `/wiki:*` examples as workflow shorthand under the loaded `/wiki` skill. The deterministic helper is bundled at `bin/llm-wiki` inside this skill; use it instead of assuming a global executable.
Hub Path
**Resolution**: At the start of every operation, resolve **HUB** by reading `~/.config/llm-wiki/config.json` first. Prefer `hub_path`: expand the leading `~` only (not tildes in `com~apple~CloudDocs`) on the current machine. Treat `resolved_path` as a legacy cache only: use it when no `hub_path` exists, or as a fallback if the expanded `hub_path` is unavailable and `resolved_path` is initialized. Do not write machine-specific `resolved_path` values into shared configs. If no config file exists, try `~/wiki/_index.md` as a fallback. If `stat`/existence checks succeed but reading `wikis.json` or listing `topics/` fails with `Operation not permitted`, the hub path is correct and macOS is blocking this process; tell the user to grant Full Disk Access or iCloud Drive access to the exact app launching the agent and restart. Do not switch to `~/wiki` or `resolved_path` for that error. See [references/hub-resolution.md](references/hub-resolution.md) for the full protocol.
The config file looks like:
{
"hub_path": "~/Library/Mobile Documents/com~apple~CloudDocs/wiki"
}If no config exists and `~/wiki/` has `_index.md`, that works too. But config is checked first — in sandboxed environments `~/wiki/` may not be accessible. All references to `~/wiki/` below mean HUB.
Wiki Location
**Topic sub-wikis are the default.** HUB is a hub — content lives in `HUB/topics/<name>/`. Each topic gets isolated indexes, sources, and articles. This keeps queries focused and prevents unrelated topics from polluting each other's search space.
For collection families that will grow across subjects, prefer kind-first topic slugs such as `memes-bitcoin`, `memes-ethereum`, `tools-bitcoin`, or `examples-seedqr`. Use subject-first slugs when the subject is the primary research area and the collection is only one artifact within that topic.
Resolution order:
1. `--local` flag → `.wiki/` in current project 2. `--wiki <name>` flag → named wiki from `HUB/wikis.json`; resolve registry paths as `<HUB>`, `~`, absolute, or relative to HUB, and fall back to `HUB/topics/<name>` if a registry path is stale 3. Current directory has `.wiki/` → use it 4. Otherwise → HUB (the hub)
When a command targets the hub and the hub has no content, suggest creating a topic sub-wiki instead.
See [references/wiki-structure.md](references/wiki-structure.md) for the complete directory layout and all file format conventions.
Core Principles
1. **Indexes are a derived cache.** The `.md` files and their YAML frontmatter are the source of truth. `_index.md` files are a cached view rebuilt on read when stale. Always read indexes first for navigation — but before trusting one, stale-check it (file count vs row count). See [references/indexing.md](references/indexing.md) for the Derived Index Protocol.
2. **Raw is immutable.** Normal workflows never modify ingested sources. Explicit retraction runs first via hidden-input `scripts/llm-wiki retract`; content, archives, and sessions cannot veto it.
3. **Articles are synthesized, not copied.** A wiki article draws from multiple sources, contextualizes, and connects to other concepts. Think textbook, not clipboard.
4. **Dual-linking for Obsidian + DeepSeek Harness.** Cross-references use both `[[wikilink]]` (for Obsidian graph view) and standard markdown `[text](path)` (for harness navigation) on the same line: `[[slug|Name]] ([Name](../category/slug.md))`. Bidirectional when it makes sense.
5. **Frontmatter is structured data.** Every `.md` file has YAML frontmatter with title, summary, tags, dates. This makes the wiki searchable without full-text scans.
6. **Incremental over wholesale.** Compilation processes only new sources by default. Full recompilation is expensive and explicit (`--full`).
7. **Honest gaps.** When answering questions, if the wiki doesn't have the answer, say so. Never hallucinate. Suggest what to ingest to fill the gap.
8. **Multi-wiki awareness.** When querying, answer from the primary wiki first. Then peek at sibling wiki indexes (via `HUB/wikis.json`) for relevant overlap. Flag connections but never merge content across wikis.
9. **Chunk large writes.** Never create files longer than ~200 lines in a single Write call — the API stream idles during large generations, causing timeout errors. Write the skeleton (frontmatter + headers + first section) first, then use sequential Edit calls to append remaining sections. For plans, articles, and raw notes: write one section per tool call.
10. **Archive is quiet preservation.** Archived topic wikis live under `HUB/topics/.archive/<slug>/` and are hidden from normal semantic workflows. They remain structurally maintainable through explicit archive/lint operations. Deep queries may surface archived index matches separately, but archived content must not influence new synthesis unless the user explicitly includes it.
11. **Session capture is operational memory.** Harness session digests live in `HUB/.sessions/` or `.wiki/.sessio
LLM-compiled knowledge bases for any AI agent. Parallel multi-agent research, thesis-driven investigation, source ingestion, wiki compilation, querying, and artifact generation.
Other skills on llm-wiki.
More skills from other plugins.
academic-paper-review
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
last30days
Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…
13c-metabolic-flux
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
nature-academic-search
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…
Questions about wiki.
- Which coding agents can use wiki?
- wiki installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

