llm-wiki
БесплатноБез исполняемых скриптовНе проверенQuery the user's LLM Wiki knowledge base (the LLM Wiki desktop app at 127.0.0.1:19828 — NOT Obsidian, Notion, Apple Notes, Logseq, or any other PKM tool)…
от nashsu★ 156 звёзд на GitHubОб этом скилле
LLM Wiki Local API Skill
Talk to the user's locally-running LLM Wiki app over its built-in HTTP API. This is a standard JSON API — call it directly with whatever HTTP tool is already in your environment (curl, fetch, requests, http middleware, etc.). No client library to install, no SDK to learn.
Treat the wiki as a private, structured knowledge base the user has been curating: pages live as wiki/**.md, raw documents under raw/sources/, wikilinks form a graph.
When to invoke
Invoke only when the user is clearly referring to LLM Wiki specifically — by app name, by wiki framing, or by 知识库 framing. Concretely:
- asks a question framed as "what does my wiki / my knowledge base / 我的知识库 / LLM Wiki say about X"
- asks to "search my wiki / LLM Wiki project / 我的知识库 for X"
- references a wiki page by stem / title and wants to read or cross-link
- asks for the wiki graph / 知识图谱 / wiki overview / wiki structure
- has just added or edited files under the LLM Wiki source folder and wants ingest re-run / 重新索引
- says "use my wiki for context" / "ground your answer in my wiki" / "check my LLM Wiki"
- names a wiki project (by ID, by absolute path, or by
current)
Do NOT invoke when the user says:
- "search my notes" without further qualification — likely Obsidian / Apple Notes / Notion / Logseq / Bear / etc.
- "find in my notebook" — likely Jupyter / OneNote / Notability
- "check my Obsidian / Notion / Roam / Logseq vault" — explicitly a different tool
- "look up my Anki / Readwise / Pocket" — different tool
- "search my files / my Documents folder" — generic filesystem, not the wiki
- general world knowledge, current events, or anything the user clearly wants from the open web
When in doubt about which knowledge tool the user means, ask: "Do you mean your LLM Wiki specifically, or another tool?" — don't silently call the LLM Wiki API on what might be an Obsidian vault.
Quick start
The whole API is plain HTTP + JSON. The fastest path:
BASE=http://127.0.0.1:19828
TOKEN="${LLM_WIKI_API_TOKEN:-<paste-from-Settings>}"
# 1. probe state — no auth needed
curl -s $BASE/api/v1/health
# 2. list projects
curl -s -H "Authorization: Bearer $TOKEN" $BASE/api/v1/projects
# 3. search
curl -s -H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{"query":"rope embedding","topK":5}' \
$BASE/api/v1/projects/current/search
# 4. read a page
curl -s -H "Authorization: Bearer $TOKEN" \
"$BASE/api/v1/projects/current/files/content?path=wiki/concepts/rope.md"
If you're writing TypeScript / JavaScript:
const res = await fetch("http://127.0.0.1:19828/api/v1/projects/current/search", {
method: "POST",
headers: { "Authorization": `Bearer ${process.env.LLM_WIKI_API_TOKEN}`, "Content-Type": "application/json" },
body: JSON.stringify({ query: "rope embedding", topK: 5 }),
})
const { results } = await res.json()
Python is the same shape — urllib.request, requests, httpx, whatever you already have. Don't install anything new.
Auth model
The API is localhost-only. The token is one of:
LLM_WIKI_API_TOKENenvironment variable (if set, overrides UI)- The user's
apiConfig.tokensaved via Settings → API Server allowUnauthenticated: truemode (no token needed; rare, user opt-in only)
Always check /api/v1/health first — it returns { enabled, authConfigured, allowUnauthenticated, tokenSource }. If authConfigured: false && allowUnauthenticated: false, ask the user to open Settings → API Server → Generate new token. Do not proceed without auth being set up.
Three equivalent ways to send the token:
Authorization: Bearer <token> # preferred
X-LLM-Wiki-Token: <token> # alternative header
?token=<urlencoded-token> # query param — last resort, leaks into logs
Never log or echo the token. Never put it in any URL the user can see in your output (Referer / shell history / logs all leak it).
Standard workflow
When the user asks "look it up in my wiki":
- Resolve project (see Project resolution below).
- Search:
POST /api/v1/projects/{id}/searchwith{ query, topK: 5..10 }→ ranked hits (path,title,snippet,score,titleMatch, optionalvectorScore,images). Inspectresponse.modeto know whether hybrid retrieval kicked in. - Read top hits: for each promising hit,
GET /api/v1/projects/{id}/files/content?path=...for the full markdown. Or passincludeContent: trueto the search to avoid the round-trip. - Cite + answer: synthesize an answer grounded in the read pages. Quote the
pathof each page you used so the user can verify and jump in-app.
Reading the score
The score field's scale depends on mode:
mode: "keyword"— additive keyword score. Filename-exact hits are ~200; phrase-in-title ~50+;
Установить llm-wiki в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл llm-wiki?
Query the user's LLM Wiki knowledge base (the LLM Wiki desktop app at 127.0.0.1:19828 — NOT Obsidian, Notion, Apple Notes, Logseq, or any other PKM tool). Trigger ONLY when the user explicitly names LLM Wiki, says 'my wiki', 'my 知识库 / 知识库 / knowledge base', or asks things like 'what does my wiki say about X', 'read wiki page Y', 'show my wiki graph / 知识图谱', 'search in my LLM Wiki project', 'rescan my wiki sources / 重新索引', or names a wiki project by ID. DO NOT trigger on generic 'search my notes', 'find in my notebook', 'check my Obsidian', etc. — those belong to other tools the user may have installed. Covers wiki page search, file listing, content read, knowledge graph navigation, and source rescan against the running LLM Wiki desktop app. Read-only except for source rescan.
Как установить скилл llm-wiki?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл llm-wiki запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic