/llm-wiki:wiki-writefrom llm-wiki
Adds or updates wiki content from URLs, files, or text. Auto-creates .wiki/ directory and supports batch ingestion, page updates, and stale page refresh.
Ships in llm-wiki. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Add or update content in the wiki. Auto-creates .wiki/ if it doesn't exist.
Resolve .wiki/ from plugin install scope. Auto-create if missing.
If .wiki/ doesn't exist, create it automatically before proceeding:
.wiki/
pages/
index.md (empty: "# Wiki Index\n\nNo pages yet.\n")
overview.md (empty: "# Overview\n\nNo content yet.\n")
log.md (empty: "# Activity Log\n")
SCHEMA.md (evaluation rules — see below)
config.yaml (empty)
cache/
raw/
web/ papers/ notes/ transcripts/ code/ feeds/ assets/
/wiki-write <url> — fetch and ingest a web page or paper/wiki-write <file-path> — ingest a local file (text, markdown, PDF)/wiki-write "text..." — ingest pasted text/wiki-write --batch <dir> — ingest all .md files in a directory/wiki-write --update <slug> — update an existing page autonomously/wiki-write --update <slug> <url> — update page with content from URL/wiki-write --refresh-stale — find and refresh stale pages based on freshness tier--update flag)Launch the wiki-writer agent with mode: ingest:
bin/fetch.py chain: cache → Jina → trafilatura → WebFetch).wiki/raw/.wiki/pages/bin/backlinks.py update .wiki/pages.wiki/index.md, .wiki/overview.md, .wiki/log.mdReport: pages written, pages updated, confidence assigned.
--update)Launch the wiki-writer agent with mode: update:
--refresh-stale)Finds pages past their freshness tier TTL (see freshness tiers in /wiki-maintain).
For each: searches for fresh sources → applies updates autonomously.
--batch)Sequentially ingest each file in the directory. Report progress.
Users can define custom page types by creating template files in .wiki/templates/. Each template is a markdown file with YAML frontmatter that defines default fields and placeholder content.
Creating a custom page type:
.wiki/templates/<type-name>.md{{title}}, {{date}})Using a custom page type:
When using /wiki-write with type: custom-type-name, the write operation will:
.wiki/templates/custom-type-name.mdPlaceholder variables:
{{title}} — Page title{{date}} — Current date (YYYY-MM-DD){{created}} — Creation timestamp (ISO 8601){{updated}} — Update timestamp (ISO 8601)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: agents.0: Invalid string: must start with "./", agents.1: Invalid string: must start with "./", agents.2: Invalid string: must start with "./", agents.3: Invalid string: must start with "./", agents.4: Invalid string: must start with "./", agents.5: Invalid string: must start with "./", agents.6: Invalid string: must start with "./", agents.7: Invalid string: must start with "./", agents.8: Invalid string: must start with "./", agents.9: Invalid string: must start with "./", skills.0: Invalid string: must start with "./", skills.1: Invalid string: must start with "./", skills.2: Invalid string: must start with "./", skills.3: Invalid string: must start with "./", skills.4: Invalid string: must start with "./"
.claude-plugin/plugin.json: agents.0: Invalid string: must start with "./", agents.1: Invalid string: must start with "./", agents.2: Invalid string: must start with "./", agents.3: Invalid string: must start with "./", agents.4: Invalid string: must start with "./", agents.5: Invalid string: must start with "./", agents.6: Invalid string: must start with "./", agents.7: Invalid string: must start with "./", agents.8: Invalid string: must start with "./", agents.9: Invalid string: must start with "./", skills.0: Invalid string: must start with "./", skills.1: Invalid string: must start with "./", skills.2: Invalid string: must start with "./", skills.3: Invalid string: must start with "./", skills.4: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
5 skills in this plugin
/wiki-maintainWiki maintenance — lint broken links, merge near-duplicates, upgrade confidence, flag stale pages via freshness tiers, gap analysis, concept synthesis. Use on: 'wiki maintenance', 'wiki cleanup', 'fix wiki', 'wiki health', 'check wiki', 'consolidate wiki'./wiki-readSearch and query the wiki — get cited answers, with automatic research when knowledge is missing. Three depth modes. Use when: 'check wiki', 'what do we know about', 'look up', 'find in wiki', 'search wiki', 'search for', 'find information about', 'do we have notes on', 'wiki context', 'existing knowledge', 'research', 'look into', 'find out about', 'investigate', 'what is', 'how does X work'./wiki-serveStart the wiki web server — browsable Wikipedia-style UI with live research, split-pane editor, AI assist, and themes. Manual trigger only: /wiki-serve, 'start wiki server', 'browse the wiki'./wiki-viewWiki dashboard — browse pages, view stats, knowledge graph, export. Use on: 'wiki dashboard', 'wiki stats', 'show wiki', 'wiki pages', 'list wiki', 'wiki graph', 'export wiki', 'wiki overview'.Other plugins' skills for the same job