/llm-wiki:init [--existing]from llm-wiki
Use to set up the LLM Wiki plugin - create a new wiki content repo or attach an existing one. Triggers - "set up llm wiki", "init wiki", "/llm-wiki:init".
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.
Creates a new wiki content repo, or attaches one that already exists, and records where it lives.
Take <plugin_root> and <data_dir> from this session's context: the lines that start
Plugin root: and Plugin data dir:. Every command below is:
python3 "<plugin_root>/scripts/init_wiki.py" "<data_dir>" <subcommand> ...
Always quote paths in shell commands (they may contain spaces).
The script exits 2 with a message when it refuses (non-empty target, missing or corrupt
.llm-wiki.json). Report that message and stop; never work around it.
If $ARGUMENTS contains --existing, follow "Existing wiki". Otherwise follow "New wiki".
... existing --wiki-dir <path>..llm-wiki.json already has a qmd_collection (then skip asking). Then run ... existing --wiki-dir <path> --qmd-collection <name>.~/llm-wiki).<wiki>/raw). A cloud-drive folder is a good choice; it is not tracked in git.... new --wiki-dir <wiki> --raw-dir <raw>. Optional: --archive-dir <path>.git -C "<wiki>" status --short) and ask approval
for the initial commit chore: initialize wiki from llm-wiki skeleton; commit only after a yes.gh repo create <name> --private --source "<wiki>" --push. If the user declined the commit, offer
gh repo create <name> --private without --source or --push.
If the user asks for a public repo, warn loudly that wiki content becomes world-readable and get explicit confirmation.Only if qmd is installed (command -v qmd).
qmd collection add "<wiki>/wiki" --name "<collection>" (syntax from qmd skill show: qmd collection add "<path>" --name "<name>"). Index the wiki/ folder only, not the repo root.... existing --wiki-dir <wiki> --qmd-collection <collection>.The SessionStart hook already adds the wiki working rules and the wiki location to the
session context. Run ... snippet and show the output; it records only where the wiki
lives. Offer to paste it into the user's own ~/.claude/CLAUDE.md if they want a hard
rule there, since hook context carries less weight than CLAUDE.md. Never edit that file
yourself.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/actUse to act in an external system (email, chat, tracker, calendar) using LLM Wiki pages as context, always draft first and send only after approval. Triggers - "draft an email from my wiki", "file an issue from wiki notes", "act on", "/llm-wiki:act", "ใช้ wiki ทำ"./ingestUse to bring a source (URL, file, video, image, or notes from this session) into the LLM Wiki. Triggers - "ingest this", "add this to my wiki", "save to wiki", "/llm-wiki:ingest", "ingest เข้า wiki", "เก็บเข้า wiki"./lintUse to health-check the LLM Wiki - mechanical checks plus judgment checks, one merged report. Triggers - "lint the wiki", "wiki health check", "/llm-wiki:lint"./pruneUse to delete or merge wiki pages from the LLM Wiki, soft prune by default, hard erase only on explicit request. Triggers - "prune the wiki", "delete wiki page", "remove from wiki", "/llm-wiki:prune", "ลบออกจาก wiki"./queryUse to answer a question from the LLM Wiki, with wikilink citations. Triggers - "what does my wiki say about X", "query the wiki", "/llm-wiki:query", "ถาม wiki".npx claudepluginhub codecampusco/llm-wiki-plugin --plugin llm-wiki