evolve
CommandPropose, evaluate, apply or roll back an evidence-linked skill improvement.
Upgrade an existing global or project LLM Wiki to the current plugin version.
> /plugin marketplace add praneybehl/llm-wiki-plugin> /plugin install llm-wiki@llm-wiki
description: Upgrade an existing global or project LLM Wiki to the current plugin version. argument-hint: "[--global] [--wiki-dir <name>] [--raw-dir <name>]"
Upgrade the selected wiki to the current plugin version. Use the `llm-wiki` skill.
Arguments (if any): $ARGUMENTS
1. Resolve `<WIKI_ROOT>` and `<RAW_ROOT>` from `--global`, explicit paths, the nearest project instructions, global agent instructions, or finally the current project's `wiki/` and `raw/`. Confirm the wiki exists. If it is missing, suggest the matching `/wiki:init --global` or `/wiki:init` instead. 2. Run `init_wiki.py` against the base directory and relative wiki/raw paths that resolve to those exact roots. For the standard global layout, use `python "${CLAUDE_PLUGIN_ROOT}/skills/llm-wiki/scripts/init_wiki.py" "<absolute-home-directory>" --wiki-dir wiki --raw-dir wiki/raw --upgrade`. For the project default, use the absolute project root with `--upgrade`. Never run it against the plugin directory. Do not report the upgrade complete unless its runtime JSON says `"status": "ready"`. 3. Read the script's "Upgrade required: <SCHEMA.md>" output. For each missing SCHEMA.md section it lists:
4. After all sections are merged or skipped, mention that:
**v3.0.0 notes** (mention these too):
5. If the selected wiki's global or project agent-memory stanza was set up by an older `/wiki:init` and does not mention the graph layer, ask me whether to add a one-line pointer like:
> Relational queries can also consult `wiki/graph/graph.sqlite` via `wiki_graph_query.py` from the `llm-wiki` skill.
Show the proposed addition, get approval, then `str_replace` it in. Honour a "skip" without pushing. 6. Do not run `wiki_graph_extract.py` automatically: it does nothing useful until at least one page has `graph:` metadata. Mention it as the next step when I'm ready.
7. **v3.2.0:** init/upgrade adds `.experience-template.json`, `.pattern-template.md`, and `.evolution/README.md` without overwriting existing files. Offer the `## Skill evolution` schema section as an optional merge. Experience capture and evolution are opt-in; existing pages and commands need no migration. The experiment archive is durable, unlike `.wiki-cache/`. Point to `references/evolution-workflow.md` for `/wiki:learn`, `/wiki:evolve`, the pilot suite and explicit validation/apply/rollback flow.
8. **v4.0.0 notes** (mention these too):
Turn PDFs, articles, transcripts, and notes into a shared wiki that your AI agents can search, cite, and keep up to date. Add a source once. Ask questions later. Keep the useful answers.
Propose, evaluate, apply or roll back an evidence-linked skill improvement.
Ingest a source (paper, article, transcript, PDF, notes) into the LLM Wiki.
Initialize a personal global LLM Wiki or one in this project, or connect this agent to a hosted wiki.
Capture verified task experience and consolidate reusable lessons in the wiki.
Compare two or more options side by side, recommend one, and let the reader pick in the page
Explain code in detail - what it does, how it works, and why
Create smart commit with quality checks and conventional format