Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

llm-wiki

БесплатноЗапускает вложенные скриптыНе проверен

Build and maintain a persistent markdown wiki that an LLM updates on the user's behalf, usually inside an Obsidian vault or git-tracked notes repo. Use when…

akillnessот akillness★ 63 звезды на GitHub

Об этом скилле

llm-wiki - Persistent LLM-Maintained Markdown Wiki

Keyword: llm-wiki · obsidian wiki · research vault · knowledge base

Use this skill when the user wants knowledge to accumulate as a maintained markdown artifact, not be rediscovered from raw files on every query.

llm-wiki turns Andrej Karpathy's gist into an operational workflow. The core pattern is simple: keep raw sources immutable, let the LLM own the wiki layer, and encode the maintenance contract in AGENTS.md or CLAUDE.md.

When to use this skill

  • Bootstrap a new Obsidian or markdown vault for long-lived knowledge work
  • Convert raw articles, papers, transcripts, or notes into source summaries plus cross-linked wiki pages
  • Maintain index.md and log.md as navigational primitives before adding heavier search infrastructure
  • File good answers back into the wiki instead of losing them in chat history
  • Run periodic lint passes for broken links, orphan pages, stale claims, and missing synthesis pages
  • Add optional helpers such as Scrapling for URL ingestion, qmd for search, or Obsidian CLI for vault automation

Instructions

Step 1: Bootstrap the vault

Create the wiki skeleton first:

bash scripts/bootstrap-vault.sh /path/to/vault

Under the jeo / jeopi runtime, do not invent a new vault location. The ingest hooks (hooks/ingest-prompt.py and hooks/ingest-output.py) resolve the vault as $LLM_WIKI_VAULT (canonical unified vault: ~/vaults/llm-wiki) → $OBSIDIAN_MIND_VAULT/llm-wiki → <git toplevel>/llm-wiki → ~/vaults/obsidian-mind/llm-wiki. Pass that same path to bootstrap-vault.sh so the skill's vault and the hooks' vault stay one and the same:

OM_VAULT="${OBSIDIAN_MIND_VAULT:-$(git rev-parse --show-toplevel 2>/dev/null || echo "$HOME/vaults/obsidian-mind")}"
bash scripts/bootstrap-vault.sh "${LLM_WIKI_VAULT:-$OM_VAULT/llm-wiki}"

setup-all-skills-prompt.md (Step 5, "Knowledge pipeline hooks") installs hooks/ingest-prompt.py, hooks/ingest-output.py, and hooks/ctx/lock.py under ~/.agents/hooks/ and registers the prompt-in (UserPromptSubmit / BeforeAgent / PostCompact) and turn-end (Stop / AfterAgent / post-turn) hooks for Claude Code, Codex, and Gemini/Antigravity. Both ingesters serialize index.md / log.md updates under ctx.lock.layer_lock("vault"), while Graphify regeneration (graphify-out/graph.json) runs at ctx checkpoint rather than per turn.

The bootstrap creates:

  • raw/sources/ for immutable source markdown or copied files
  • raw/assets/ for downloaded images and attachments
  • wiki/sources/ for per-source summaries
  • wiki/entities/ and wiki/concepts/ for durable synthesis pages
  • wiki/queries/ and wiki/reports/ for filed answers and higher-value outputs
  • index.md, log.md, and AGENTS.md

Do not skip the schema file. The schema is what makes the agent act like a disciplined maintainer instead of a generic assistant. See references/architecture.md and references/schema-playbook.md.

Step 2: Treat AGENTS.md or CLAUDE.md as the operating contract

The schema should encode the rules that stay true across sessions:

  • raw/ is source of truth and must stay immutable
  • wiki/ plus index.md and log.md are LLM-owned working artifacts
  • Every ingest updates the source summary, relevant synthesis pages, index.md, and log.md
  • Every durable query answer gets filed back into wiki/queries/ or wiki/reports/
  • Lint passes must look for broken links, orphan pages, stale claims, contradictions, and missing page candidates

Keep the schema short and enforceable. A small contract that the agent actually follows is better than a giant policy file nobody will reread. The starter schema from bootstrap-vault.sh is intentionally minimal; refine it with references/schema-playbook.md.

Step 3: Ingest one source at a time until the workflow is stable

If the source is already local, place it in raw/sources/ and ask the agent to process it. If the source is a URL, use the Scrapling-powered helper:

bash scripts/ingest-url.sh /path/to/vault "https://example.com/article"
bash scripts/ingest-url.sh /path/to/vault "https://app.example.com/post" --mode fetch --wait-selector article
bash scripts/ingest-url.sh /path/to/vault "https://protected.example.com/post" --mode stealth --solve-cloudflare

Expected ingest touch points:

  1. Save the immutable raw capture under raw/sources/
  2. Create or refresh a source page under wiki/sources/
  3. Update relevant entity or concept pages
  4. Update index.md
  5. Append a chronological entry to log.md

Prefer one-source-at-a-time ingest when starting. It forces the human to inspect what the wiki changed, surface missing conventions, and refine the schema. Once the workflow is reliable, batching is fine. Use references/ingest-playbook.md f

Полный SKILL.md на GitHub

Установить llm-wiki в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
Edit
Glob
Grep
WebFetch

Вложенные файлы

SKILL.toonagents/openai.yamlevals/evals.jsonreferences/architecture.mdreferences/ingest-playbook.mdreferences/maintenance-and-scaling.mdreferences/query-and-filing.mdreferences/schema-playbook.mdscripts/bootstrap-vault.shscripts/ingest-url.shscripts/insert_marker.pyscripts/lint-wiki.pyscripts/new-query-note.shskill-autoresearch-llm-wiki/SKILL.md.baselineskill-autoresearch-llm-wiki/changelog.mdskill-autoresearch-llm-wiki/dashboard.htmlskill-autoresearch-llm-wiki/results.jsonskill-autoresearch-llm-wiki/results.tsv

FAQ

Что делает скилл llm-wiki?

Build and maintain a persistent markdown wiki that an LLM updates on the user's behalf, usually inside an Obsidian vault or git-tracked notes repo. Use when raw sources such as web articles, papers, meeting notes, transcripts, screenshots, or past analyses need to be turned into an interlinked knowledge base with immutable source files, LLM-written wiki pages, `index.md`, `log.md`, schema rules in `AGENTS.md` or `CLAUDE.md`, source summaries, query notes, and recurring lint passes. Triggers on: llm-wiki, personal wiki, obsidian wiki, research vault, knowledge base, source ingest, persistent notes, wiki maintenance, source summaries, query filing.

Как установить скилл llm-wiki?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл llm-wiki запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить llm-wiki с