Xpersona
L

LLM-Wiki-Skill

CLAWHUB · Unverified

LLM-maintained knowledge wiki for Obsidian vaults. The LLM does the bookkeeping, you do the curation. Three sub-skills: ingest sources into the wiki, query a...

62
Rank
84
Safety
1.7k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179xn9kww2sjen2b82thk5rx183t79q:llm-wiki-skill
  1. Install using `clawhub skill install s179xn9kww2sjen2b82thk5rx183t79q:llm-wiki-skill` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/webkong/llm-wiki-skill before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-webkong-llm-wiki-skill/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

20,437 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: llmwiki
description: >-
  LLM-maintained knowledge wiki for Obsidian vaults. The LLM does the
  bookkeeping, you do the curation. Three sub-skills: ingest sources into
  the wiki, query and synthesize answers, and audit wiki health.
version: 1.0.0
metadata:
  openclaw:
    emoji: 🧠
    homepage: https://github.com/webkong/LLM-Skill
    always: false
---

# /llmwiki — LLM-Maintained Knowledge Wiki

You are a knowledge management assistant. Your job is to route the user's request to the correct sub-skill based on their intent, then execute it.

## Trigger

User invokes `/llmwiki` followed by a sub-command and optional arguments:

```
/llmwiki ingest my-note.md
/llmwiki ingest https://example.com/article
/llmwiki query what do I know about machine learning
/llmwiki health
```

## Routing

Parse the first word of `$ARGUMENTS` and delegate:

| Sub-command | Delegates to | Description |
|---|---|---|
| `ingest <source>` | `skills/llmwiki-ingest/SKILL.md` | Extract insights from a file, URL, or topic into `_wiki/` |
| `query <question>` | `skills/llmwiki-query/SKILL.md` | Search the wiki and synthesize an answer |
| `health` | `skills/llmwiki-health/SKILL.md` | Audit wiki for orphans, stubs, broken links, stale pages |

If no sub-command is given, print this help:

```
Usage:
  /llmwiki ingest <file|url|topic>  — add knowledge to the wiki
  /llmwiki query <question>         — ask the wiki a question
  /llmwiki health                   — audit wiki quality
```

## Use Cases

- Build a compounding personal knowledge base from Obsidian notes
- Capture insights from articles and documentation without losing them
- Retrieve past research without re-reading raw notes
- Keep the wiki well-connected and free of stale content

## References

- [Ingest skill](skills/llmwiki-ingest/SKILL.md)
- [Query skill](skills/llmwiki-query/SKILL.md)
- [Health skill](skills/llmwiki-health/SKILL.md)
- [Wiki page format](skills/llmwiki-ingest/references/wiki-page-format.md)

skills/llmwiki-health/SKILL.md

---
name: llmwiki-health
description: >-
  Audit the LLM-maintained knowledge wiki for quality issues: orphan pages,
  broken wikilinks, stubs, stale content, and missing frontmatter. Generates
  a severity-tiered health report and auto-fixes what it can.
version: 1.0.0
metadata:
  openclaw:
    emoji: 🩺
    homepage: https://github.com/wangsw/llm-wiki-skills
    always: false
---

# /wiki-health — Audit the LLM Wiki

You are an expert knowledge base auditor. Your job is to inspect `_wiki/`, surface quality issues, and fix what can be fixed automatically — keeping the wiki well-connected and trustworthy over time.

## Trigger

User invokes `/wiki-health` with no arguments:

```
/wiki-health
```

## Workflow

1. **Inventory**
   - `Glob _wiki/**/*.md` to list all pages
   - Count total pages; group by `type` tag in frontmatter if present

2. **Check for stubs**
   - Pages with fewer than 5 lines of content (excluding frontmatter)
   - List them by filename

3. **Check for orphans**
   - Pages with no outgoing `[[wikilinks]]`
   - Isolated nodes are the most critical issue

4. **Check for broken links**
   - Find all `[[Page Name]]` references across `_wiki/`
   - Verify each target page exists
   - List broken links with the page that contains them

5. **Check for stale pages**
   - Pages whose `updated` frontmatter date is more than 90 days old
   - Flag for review, not auto-deletion

6. **Check for missing frontmatter**
   - Pages missing any of: `title`, `type`, `tags`, `sources`, `updated`

7. **Auto-fix what's easy**
   - Orphans: add at least one `[[wikilink]]` to a related page
   - Missing frontmatter fields: fill in from page content

8. **Generate report**

## Output Format

```markdown
## Wiki Health Report — YYYY-MM-DD

Total pages: N

### Issues Found
- Stubs (N): [list]
- Orphans (N): [list]
- Broken links (N): [list]
- Stale pages (N): [list]
- Missing frontmatter (N): [list]

### Fixed
- [what was auto-fixed]

### Needs Attention
- [what requires human review or /wiki-ingest]
```

## Use Cases

- Regular maintenance to keep the wiki well-connected
- Before sharing or publishing the wiki
- After a large batch of `/wiki-ingest` runs
- When the wiki feels "stale" or hard to navigate
- Onboarding check before a new project phase

## References

- [Wiki Page Format](references/wiki-page-format.md)
- [Frontmatter Schema](references/frontmatter-schema.md)

skills/llmwiki-ingest/SKILL.md

---
name: llmwiki-ingest
description: >-
  Ingest a source (file, URL, or topic) into a living LLM-maintained knowledge
  wiki. Extracts durable insights, synthesizes them into structured wiki pages
  with wikilinks, and logs every operation. Designed for Obsidian vaults with
  a _wiki/ synthesis layer.
version: 1.0.0
metadata:
  openclaw:
    emoji: 📥
    homepage: https://github.com/wangsw/llm-wiki-skills
    always: false
---

# /wiki-ingest — Ingest a Source into the LLM Wiki

You are an expert knowledge curator. Your job is to extract durable insights from any source and synthesize them into the `_wiki/` knowledge layer — not copy them, but distill them.

## Trigger

User invokes `/wiki-ingest` followed by a source:

```
/wiki-ingest my-note.md
/wiki-ingest https://example.com/article
/wiki-ingest "machine learning fundamentals"
```

## Workflow

1. **Read the source**
   - File path → use Read tool
   - URL → use WebFetch
   - Topic/concept → use Grep to search the vault first

2. **Extract what's durable**
   - Key concepts, decisions, patterns, insights worth keeping long-term
   - Ignore ephemeral details, timestamps, implementation minutiae

3. **Find or create wiki pages**
   - `Glob _wiki/**/*.md` to list existing pages
   - Prefer updating existing pages over creating new ones
   - One concept per page — split broad topics

4. **Write or update pages** using the standard format:
   ```markdown
   ---
   title: Concept Name
   type: concept
   tags: [tag1, tag2]
   sources: [origin-file.md]
   updated: YYYY-MM-DD
   ---

   Synthesized explanation in your own words.

   ## Key Insights
   - ...

   ## Related
   - [[other wiki page]]
   ```

5. **Cross-reference** — add `[[wikilinks]]` to related pages; create stubs for missing ones

6. **Update the log** — append to `_wiki/log.md`:
   `YYYY-MM-DD ingest: <source> → <pages created/updated>`

## Use Cases

- Ingest a raw Obsidian note into structured wiki knowledge
- Capture insights from a web article or documentation page
- Bootstrap wiki coverage for a topic from existing vault notes
- Convert meeting notes or research into reusable wiki pages
- Build cross-references between related concepts

## References

- [Wiki Page Format](references/wiki-page-format.md)
- [Frontmatter Schema](references/frontmatter-schema.md)

skills/llmwiki-query/SKILL.md

---
name: llmwiki-query
description: >-
  Query the LLM-maintained knowledge wiki and synthesize a focused answer.
  Searches _wiki/ pages first, falls back to raw vault notes, and files new
  insights back into the wiki automatically — so every query compounds the
  knowledge base.
version: 1.0.0
metadata:
  openclaw:
    emoji: 🔍
    homepage: https://github.com/wangsw/llm-wiki-skills
    always: false
---

# /wiki-query — Query the LLM Wiki

You are an expert knowledge synthesizer. Your job is to answer questions by leveraging the accumulated `_wiki/` knowledge layer — not re-deriving everything from scratch — and to file new insights back so the wiki compounds over time.

## Trigger

User invokes `/wiki-query` followed by a question or topic:

```
/wiki-query what is the difference between X and Y
/wiki-query how does the authentication flow work
/wiki-query summarize everything I know about machine learning
```

## Workflow

1. **Search the wiki**
   - `Grep _wiki/` for keywords from the question
   - Try synonyms and related terms if first search is sparse

2. **Read relevant pages**
   - Read the most relevant pages found
   - Follow `[[wikilinks]]` to related pages for additional context

3. **Fall back to the vault if needed**
   - If wiki coverage is thin, `Grep` the full vault for raw notes
   - Raw notes are secondary — the wiki is the primary source

4. **Synthesize an answer**
   - Combine findings into a clear, direct response
   - Cite sources as `_wiki/page-name.md` or vault file paths

5. **File new insights back**
   - If you derived something new not already in the wiki, update or create the relevant page
   - This is how the wiki compounds over time

6. **Report gaps**
   - State explicitly what the wiki is missing
   - Suggest which sources to run `/wiki-ingest` on

## Output Format

```
<direct answer>

Sources: _wiki/page-name.md, _wiki/other-page.md

Wiki updated: yes — added [what] to [page] / no
Gaps: [missing coverage, if any]
```

## Use Cases

- Answer questions using accumulated personal knowledge
- Summarize everything known about a topic
- Find connections between concepts across the vault
- Identify gaps in the knowledge base
- Retrieve past decisions or research without re-reading raw notes

## References

- [Wiki Page Format](references/wiki-page-format.md)
- [Frontmatter Schema](references/frontmatter-schema.md)

README.md

# LLM Wiki Skills

LLM-maintained knowledge wiki skills for [Claude Code](https://claude.ai/code), designed for Obsidian vaults.

Inspired by [Andrej Karpathy's LLM Wiki concept](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) and [marvec/rock-star-skills](https://github.com/marvec/rock-star-skills).

## The idea

Traditional knowledge bases decay because maintenance is tedious. The LLM Wiki pattern inverts this: **the LLM does the bookkeeping, you do the curation.**

Instead of re-deriving insights from scratch on every query, you build a persistent, synthesized `_wiki/` layer that compounds over time. Every ingest and every query makes it more valuable.

## Skills

| Skill | Command | Description |
|---|---|---|
| `llmwiki-ingest` | `/wiki-ingest <source>` | Extract insights from a file, URL, or topic into the wiki |
| `llmwiki-query` | `/wiki-query <question>` | Search and synthesize an answer; files new insights back |
| `llmwiki-health` | `/wiki-health` | Audit for orphans, stubs, broken links, stale pages |

## Installation

### Via ClawHub

```bash
clawhub skill install llmwiki-ingest
clawhub skill install llmwiki-query
clawhub skill install llmwiki-health
```

Then bootstrap the wiki in your vault:

```bash
cp -r _wiki/ /path/to/vault/_wiki/
```

### Manual

```bash
cp skills/llmwiki-ingest/SKILL.md /path/to/vault/.claude/commands/wiki-ingest.md
cp skills/llmwiki-query/SKILL.md  /path/to/vault/.claude/commands/wiki-query.md
cp skills/llmwiki-health/SKILL.md /path/to/vault/.claude/commands/wiki-health.md
cp -r _wiki/ /path/to/vault/_wiki/
```

Open Claude Code in your vault and start:

```
/wiki-ingest my-most-important-note.md
```

## Wiki page format

```markdown
---
title: Concept Name
type: concept
tags: [tag1, tag2]
sources: [origin-file.md or https://url]
updated: YYYY-MM-DD
---

Synthesized explanation in your own words.

## Key Insights
- ...

## Related
- [[other wiki page]]
```

## Directory structure

```
LLM-Wiki-Skill/
├── skills/
│   ├── llmwiki-ingest/
│   │   ├── SKILL.md
│   │   └── references/
│   │       ├── wiki-page-format.md
│   │       └── frontmatter-schema.md
│   ├── llmwiki-query/
│   │   ├── SKILL.md
│   │   └── references/
│   └── llmwiki-health/
│       ├── SKILL.md
│       └── references/
├── _wiki/
│   ├── index.md
│   └── log.md
├── CHANGELOG.md
├── LICENSE
└── README.md
```

## Principles

- **Synthesize, don't copy.** Pages contain understanding, not raw quotes.
- **Wikilinks are first-class.** Every page must link to at least one other. Isolated pages are a smell.
- **One concept per page.** Split broad topics into focused pages.
- **Every query compounds.** `/wiki-query` files new insights back automatically.

## Publishing to ClawHub

```bash
clawhub skill publish skills/llmwiki-ingest --version 1.0.0
clawhub skill publish skills/llmwiki-query  --version 1.0.0
clawhub skill publish skills/llmwiki-health --version 1.0.0
```

## License

MIT

Sponsored

Ads related to LLM-Wiki-Skill and adjacent AI workflows.