← Back to Skills Marketplace
brunovu20

wiki-craft

by Bruno · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
40
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wiki-craft
Description
Bootstrap and maintain a personal LLM Wiki — a persistent, compounding knowledge base of interlinked markdown pages that the LLM writes and maintains. Use wh...
README (SKILL.md)

LLM Wiki

Build and maintain a persistent, compounding knowledge base of interlinked markdown files. The LLM writes and maintains the wiki. The human curates sources, asks questions, and guides the analysis.

This is not RAG. Instead of re-deriving knowledge at query time, the LLM incrementally builds a structured wiki that grows richer with every source added and every question asked. Cross-references are pre-built. Contradictions are already flagged. Synthesis already reflects everything ingested.


First run — bootstrap

If wiki/index.md does not exist, the wiki is uninitialized. Ask the user:

  1. What is this wiki for? (domain, topic, purpose)
  2. Where is the root directory? (defaults to current working directory)
  3. What kinds of sources will you add? (articles, PDFs, transcripts, notes…)
  4. How hands-on do you want to be during ingest? (discuss first vs. batch silently)

Then:

  1. Create raw/ and wiki/ directories.
  2. Create wiki/index.md with a # Wiki Index heading and empty page sections.
  3. Create wiki/log.md with a # Log heading.
  4. Confirm the setup to the user and show them the directory layout.

Directory structure

{root}/
  raw/          -- source documents (immutable — never modify)
  wiki/
    index.md    -- table of contents: every page with a one-line summary
    log.md      -- append-only chronological record of all operations
    *.md        -- generated pages (summaries, entities, concepts, etc.)

raw/ is the user's domain. The LLM owns everything under wiki/.


Ingest

When the user adds a source to raw/ and asks you to process it:

  1. Read the full source. Never modify anything in raw/.
  2. Discuss key takeaways with the user before writing anything.
  3. Create a summary page at wiki/{source-name}.md.
  4. Create or update concept, entity, and topic pages for every major idea or entity the source touches. A single source typically touches 5–15 pages. That is normal.
  5. Add [[wiki-links]] throughout every page you create or update. Links are the primary value of the wiki — connect aggressively.
  6. Note contradictions. If new information disagrees with an existing claim, flag it on both pages: (contradicts: [[other-page]])
  7. Update wiki/index.md: add new pages with one-line descriptions, keep sorted.
  8. Append to wiki/log.md: date, source name, pages created, pages updated.

Do not write wiki pages before completing step 2.


Query

When the user asks a question:

  1. Read wiki/index.md first to find relevant pages.
  2. Read those pages and synthesize an answer.
  3. Cite specific wiki pages in your response.
  4. If the answer is not in the wiki, say so clearly.
  5. If the answer is valuable, offer to save it as a new wiki page.

Good answers should be filed back into the wiki so they compound over time. A comparison you generated, an analysis, a connection the user discovered — these are valuable and should not disappear into chat history.

Output formats — answers can take different forms depending on the question:

  • Markdown page (default)
  • Comparison table
  • Marp slide deck (if the user has Marp)
  • Matplotlib chart (for numeric data)
  • Any format the user requests

Lint / audit

When the user asks you to lint or audit the wiki:

  • Contradictions — claims on different pages that disagree.
  • Orphan pages — pages with no inbound [[links]] from other pages.
  • Missing pages — concepts referenced in links that have no corresponding file.
  • Stale claims — facts that newer sources have superseded.
  • Format violations — pages that do not follow templates/page.md.
  • Missing citations — factual claims with no (source: ...) reference.
  • Data gaps — concepts that are mentioned but thin; suggest new sources to find.

Report findings as a numbered list, each with a suggested fix. Offer to apply fixes.


Index format (wiki/index.md)

# Wiki Index

## Summary pages
- [[source-name]] — one-line description

## Entity pages
- [[entity-name]] — one-line description

## Concept pages
- [[concept-name]] — one-line description

Keep entries sorted within each section.


Log format (wiki/log.md)

Append one block per operation. Never edit existing entries.

## [YYYY-MM-DD] ingest | Source Title

- Created: [[page-a]], [[page-b]]
- Updated: [[page-c]], [[page-d]]
- Notes: any notable contradictions, gaps, or decisions

The ## [YYYY-MM-DD] prefix makes the log greppable: grep "^## \[" wiki/log.md | tail -5


Page format

Follow templates/page.md. Every page must have:

# Page Title

**Summary**: One to two sentences.

**Sources**: Raw source files this page draws from.

**Last updated**: YYYY-MM-DD

---

Content with [[wiki-links]] throughout.

## Related pages

- [[page]]
  • File names: lowercase, hyphens, .md (e.g. machine-learning.md)
  • Every factual claim: (source: filename.ext)
  • Contradictions: (contradicts: [[page-name]])
  • Unsourced claims: (needs verification)

Optional tooling

These are not required but mentioned in case the user wants them:

Tool Purpose
qmd Local search over wiki pages — BM25/vector hybrid, MCP server + CLI
Obsidian Markdown editor with graph view, backlinks, Dataview, Marp plugin
Obsidian Web Clipper Browser extension to clip articles to markdown
Marp Markdown → slide decks; useful for presenting wiki synthesis
Dataview Obsidian plugin — queries over YAML frontmatter in wiki pages
git Version history and branching for the wiki directory

Rules

  • Never modify anything in raw/.
  • Always update wiki/index.md and wiki/log.md after every change.
  • When uncertain how to categorize something, ask the user before writing.
  • Write in plain language. The wiki is for the user, not for demonstration.
  • Do not create wiki pages for things that belong in raw/ (raw sources stay raw).
  • Links are the primary value. Connect aggressively. A page with no outbound links is a missed opportunity.
Usage Guidance
Install this if you want an agent to maintain a local markdown wiki for you. Before using it, choose the wiki root directory carefully and review proposed writes during ingest, especially when using generic phrases like "ingest this" that may otherwise be interpreted as a request to update the wiki.
Capability Assessment
Purpose & Capability
The stated purpose is a personal LLM-maintained wiki, and the requested Read, Write, Edit, and limited Bash capabilities fit creating directories, reading sources, updating markdown pages, and auditing links.
Instruction Scope
Some trigger phrases such as "ingest this" and "build a knowledge base" are broad and could over-select the skill, but the runtime instructions require asking for a root directory on first run and discussing ingest takeaways before writing wiki pages.
Install Mechanism
The artifact contains only SKILL.md and a markdown page template; there are no executable scripts, package installs, dependencies, API keys, or network setup steps.
Credentials
The skill intentionally reads user-provided source files and writes persistent wiki files; Bash is broader than strictly necessary but is only illustrated for local grep-style inspection and optional user-requested tools.
Persistence & Privilege
Persistent file creation and index/log updates are central to the wiki purpose, disclosed in the instructions, and scoped to a user-selected root with an explicit rule not to modify raw source files.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install wiki-craft
  3. After installation, invoke the skill by name or use /wiki-craft
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of wikicraft: build and maintain a personal LLM-powered markdown wiki. - Bootstraps a new wiki with prompts for purpose, location, source types, and curation preferences. - Manages a directory structure with immutable raw sources and LLM-generated wiki pages. - Handles source ingest with discussion, page generation, linking, contradiction tracking, and automatic index/log updates. - Supports rich querying, answer synthesis, and saving valuable answers back to the wiki. - Offers lint/audit tools for contradictions, orphans, missing pages, stale claims, and format/citation gaps. - Enforces clear file/page templates, plain language, and an aggressive linking strategy.
Metadata
Slug wiki-craft
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is wiki-craft?

Bootstrap and maintain a personal LLM Wiki — a persistent, compounding knowledge base of interlinked markdown pages that the LLM writes and maintains. Use wh... It is an AI Agent Skill for Claude Code / OpenClaw, with 40 downloads so far.

How do I install wiki-craft?

Run "/install wiki-craft" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is wiki-craft free?

Yes, wiki-craft is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does wiki-craft support?

wiki-craft is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created wiki-craft?

It is built and maintained by Bruno (@brunovu20); the current version is v1.0.0.

💬 Comments