Przejdź do treści
Biblioteka skilli
Produktywność osobista · Budowanie i kod

llm-wiki

/llm-wiki

Buduje i utrzymuje wiki w Obsidianie, którą pisze LLM z przesłanych źródeł: PDF, artykułów i notatek, z linkami i metadanymi.

Licencja
GPL-3.0
Ostatnia zmiana repozytorium
09.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
14
Skrypty
2
Komentarze HTML
1
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

GPL-3.0, otwarta.

Co sprawdzić przed instalacją
  • 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
  • SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.

Skrypty: scripts/wiki.mjs, scripts/wiki.test.mjs

Co robi i kiedy

Buduje i utrzymuje wiki w Obsidianie, którą pisze LLM z przesłanych źródeł: PDF, artykułów i notatek, z linkami i metadanymi.

Wyzwalacze z opisu

LLM Wiki
Oryginalny opis (EN)

Use when building or maintaining an LLM-written knowledge graph / wiki (Karpathy "LLM Wiki" pattern, nashsu/llm_wiki layout) in an Obsidian vault — creating a wiki, adding (ingesting) one or many sources such as PDFs, papers, books, articles or notes, removing a source and the pages that came only from it, fixing broken links or frontmatter, or making the graph show up in Obsidian.

Jak działa

  1. Operations
  2. Rules that always apply
Sekcje z nagłówków SKILL.md, w oryginale · 127 linii, 1 414 słów
Podgląd SKILL.md
---
name: llm-wiki
description: Use when building or maintaining an LLM-written knowledge graph / wiki (Karpathy "LLM Wiki" pattern, nashsu/llm_wiki layout) in an Obsidian vault — creating a wiki, adding (ingesting) one or many sources such as PDFs, papers, books, articles or notes, removing a source and the pages that came only from it, fixing broken links or frontmatter, or making the graph show up in Obsidian.
---

# LLM Wiki

You maintain a persistent, interlinked markdown wiki compiled from the user's sources. You read
sources and write pages. `scripts/wiki.mjs` does the bookkeeping that must be exact: importing,
text extraction, sectioning, finding existing pages, cascade delete, Related sections, index entries,
and lint. It only appends to pages and the index. It never rewrites what the llm_wiki app or you wrote.

**Vault layout** (compatible with the llm_wiki desktop app, so a vault can be used by both):

```
<vault>/
  purpose.md          goal, reader, language, scope. Read it before every ingest.
  schema.md           page types → folders, frontmatter, naming. AUTHORITATIVE for routing.
  raw/sources/        immutable source files (any subfolders). Text cache: <dir>/.cache/<file>.txt
  wiki/index.md       owned by the app; the script only adds new pages to its "## Recently Updated"
  wiki/log.md         newest first; written through `wiki.mjs log`
  wiki/overview.md    high-level summary you keep current
  wiki/<type>/*.md    pages; wiki/sources/*.md = one summary page per source
  .llm-wiki/skill-sources.json   the script's source hashes and section progress
```

**Running the script.** `W` below means `node "<this skill's base directory>/scripts/wiki.mjs"`,
using the base directory printed when this skill loads. Needs Node 18+. PDFs need `pdftotext` (poppler).
Always quote paths, since vault names often contain spaces and commas.

| Command | What it does |
|---|---|
| `W init <vault> [--name N] [--template T]` | New vault, or upgrade an existing one: adds missing purpose/schema/dirs and the Obsidian graph config. Never overwrites existing pages, purpose or schema; only adds missing Obsidian settings. `T` picks the starting purpose/schema (see Create a wiki) |
| `W add <vault> <file-or-folder>... [--name N]` | Copy into raw/sources under a short name (skips a file whose content is already there), extract text, print the ingest plan as JSON |
| `W rename-source <vault> <source> <short-name>` | Give a source a short name. Moves the file (to the top of raw/sources, so the app names its page after it), its text cache and its source page, and repoints every link and image path |
| `W status <vault> <source>` | The same plan for a file already in raw/sources (also lists `pagesFromThisSource`) |
| `W mentions <vault> <source> [--section N]` | Existing pages *from other sources* named in that text, ranked |
| `W done <vault> <source> <N>` | Record a finished section, so an interrupted ingest can resume |
| `W finalize <vault> <source>` | Record the ingest, refresh Related blocks and the source page list, add new pages to the index, then lint |
| `W remove <vault> <source>... [--yes]` | Cascade delete. Dry run unless `--yes` |
| `W sync <vault> [--dry-run]` | Refresh the Related blocks for the whole vault (never touches index.md or page text) |
| `W lint <vault> [--language English]` | Bad frontmatter, broken links, ambiguous names, orphans, unresolved `related` |
| `W log <vault> <action> <title>` | Prepend a log entry. Pipe the bullet list on stdin |
| `W quote <text>` | Print a YAML-safe frontmatter value, e.g. for a title with a colon |

`<source>` can be the path under raw/sources, a vault-relative path, an absolute path, or a bare file name.

## Operations

### Create a wiki
1. Ask for the vault folder and the topic, unless they're already given.
2. Ask which template to start from. The five templates are the llm_wiki app's. Each has the base page types
   (entity, concept, source, query, comparison, synthesis, overview) plus its own:

   | Choice | For | Own page types |
   |---|---|---|
   | `general` | anything | none |
   | `research` | one research question, with a working thesis | thesis, methodology, finding |
   | `reading` | one book: characters, themes, plot threads | character, theme, plot-thread, chapter |
   | `personal` | goals, habits, reflections, a journal | goal, habit, reflection, journal |
   | `business` | a team's meetings, decisions, projects | meeting, decision, project, stakeholder |
   | Custom | the user designs the purpose sections and page types | their choice |

   Use a multiple-choice question if you have one. If it caps the number of choices, offer the three
   templates closest to the topic plus Custom, and name the others in the question.
3. `W init "<vault>" --name "<Topic>" --template <choice>`. Custom uses `general`.
4. Fill in `purpose.md` with the user: go through its sections, and always get the reader and the
   output language. For Custom, also design `schema.md` with them: page types, folders, extra
   frontmatter fields, naming. Keep the `## Page Types` table format and the base types, then re-run
   `init` to create the new folders. Every type row needs a `wiki/<folder>/` directory.

### Add sources: follow `references/ingest.md`
Read `references/ingest.md` in full before ingesting. It covers section-by-section generation of
long sources, reusing existing pages, merge rules and page format. Ingest extracts knowledge only:
front and back matter, exercises, worked examples, appendices and filler are skipped unless
`purpose.md` asks for them.

`add` and `status` report `purposeUnfilled: true` while `purpose.md` has nothing the user wrote (it is
still a template). Then do step 4 of Create a wiki before any ingest or agent starts.

Several sources: in the order given. To go faster, run up to 4 sources at once, one agent per source,
each following `references/ingest.md` (its sections still go in order). Parallel ingests don't see each
other's newest pages, so run sources with little topic overlap together, and start one when another
finishes. Tell each agent that other ingests share the vault.

### Remove a source
1. `W remove "<vault>" "<source>"` runs as a dry run. It lists the pages it will delete (pages whose
   `sources` cite only the removed sources) and the shared pages that only lose that `sources` entry.
2. Show the user the counts and the deleted list, and get a yes. This deletes content. Skip the
   question only if the user already told you to go ahead.
3. `W remove "<vault>" "<source>" --yes`. This moves the raw file, its text cache, the deleted pages and
   source media to `.llm-wiki/trash/<timestamp>/`, so they can be restored. It also turns `[[links]]`
   to deleted pages into plain text, drops deleted slugs from `related`, removes their index entries and logs the delete.
4. Shared pages keep the claims that came from the removed source, as llm_wiki does. If the user wants
   those gone too, grep the kept pages for the source's title or summary slug and edit out the
   attributed claims. Then update `wiki/overview.md` if it mentions the source.

### Make the graph visible in Obsidian
Obsidian draws edges only for `[[wikilinks]]`. Bare slugs in `related:` don't count. To fix this,
`sync` and `finalize` keep a script-owned `## Related` block at the end of each page, holding the
`related` slugs that aren't already linked in the body. Source pages also get a `## Pages From This
Source` block listing any of the source's pages the summary doesn't already link, so every page
links back to its book. When the summary links them all, no block is added.

This stays compatible with the llm_wiki app. The app's graph also reads body links, and the block is
plain markdown that the app ignores otherwise. If an app re-ingest rewrites a page and drops the
markers, the leftover list stays as ordinary text and no duplicate is added.

For an existing vault, including one built with the llm_wiki app:
1. `W init "<vault>"` adds `.obsidian/graph.json` if it's missing. That sets colors by page folder,
   shows only `wiki/`, and hides index/log and unresolved links. It also adds `.cache` and `.llm-wiki`
   to Obsidian's ignore filters. If Obsidian is open, close the graph view first.
2. `W sync "<vault>" --dry-run`, then `W sync "<vault>"`.
3. Tell the user to open the vault folder in Obsidian, then the graph view (Ctrl/Cmd+G).

### Health check
`W lint "<vault>"`, then fix what it finds:
- frontmatter: quote the value, and turn `[[x]]` inside arrays into bare slugs.
- ambiguous names: merge the two pages into one and fix links.
- broken links: create the page if it's worth having, otherwise unlink it.
- orphans: link them from related pages.

Re-run `sync` afterwards. For content quality (contradictions, stale claims, missing pages), read
the pages involved and fix them, or record the issue in a `query` page.

## Rules that always apply
- `raw/` is read-only, apart from `add` and `remove`.
- Never write `wiki/index.md` and never edit inside `<!-- llm-wiki:... -->` blocks. The script owns them.
- Never delete or shrink a page by hand to "clean up". Merge instead.
- Human-owned fields that the schema names (e.g. `mastery`, `status`) are never changed.
Pliki w paczce (14)
  • SKILL.md 9 KB
  • references/ingest.md 17 KB
  • scripts/wiki.mjs 57 KB
  • scripts/wiki.test.mjs 24 KB
  • templates/business/purpose.md 1 KB
  • templates/business/schema.md 4 KB
  • templates/general/purpose.md 1 KB
  • templates/general/schema.md 3 KB
  • templates/personal/purpose.md 1 KB
  • templates/personal/schema.md 4 KB
  • templates/reading/purpose.md 1 KB
  • templates/reading/schema.md 4 KB
  • templates/research/purpose.md 1 KB
  • templates/research/schema.md 4 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · StevenGuo42/llm-wiki-skills100GPL-3.0
sammcj/agentic-coding100Apache-2.0
seaworld008/commonly-used-high-value-skills100MIT
iging/sauron100MIT
akillness/jeo-skills100MIT
alirezarezvani/claude-skills100MIT
ivy00johns/skill-madness100MIT
rcarvalhoxavier/homelab-harness100MIT
PapeMati98/Ai-Stack100Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki 19518acf89df (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 6 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100karpathy-llm-wiki
    Buduje i utrzymuje osobistą bazę wiedzy lub wiki napędzaną przez LLM: porządkuje notatki z badań, konfiguruje vault Obsidian z kompilacją LLM i automatycznie wczytuje artykuły i prace.
  • 100karpathy-llm-wiki
    Pomaga budować i utrzymywać osobistą bazę wiedzy opartą na LLM w stylu Karpathy'ego: wczytywanie źródeł do wiki, zapytania, kontrola jakości i pytania typu „co wiem o…”.
  • 100agent-wiki
    Generuje stopniowo wiki przyjazne dla LLM z notatek w sejfie Obsidian: budowa wiki z notatek, wchłanianie nowych notatek i zarządzanie bazą wiedzy.
  • 90obsidian-kb-builder
    Buduje lokalną bazę wiedzy w stylu Obsidian z linkami wiki według wzorca LLM Wiki Karpathy'ego: zamienia katalogi, dokumenty i adresy URL w połączone notatki Markdown i eksportowalne dane grafu (Neo4j, Gephi).
  • 100obsidian-llm-wiki
    Buduje lokalną wiki w Obsidian z wyników anydoc-markdown, zasilając ją źródłami, odpytując i utrzymując jako bazę wiedzy.
  • 100wiki-query
    Odpowiada na pytania z wiki LLM w Obsidianie (wiki/concept/), podaje źródła w [[ ]], a dobre odpowiedzi łączące wiele stron wracają do wiki.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.