name: status description: Check whether llm-wiki is current, detect newer marketplace or Pi package versions, and suggest or run the right update command for Claude Code, Codex, or Pi. Use when the user asks about llm-wiki version, plugin/package updates, marketplace refresh, upgrade instructions, project context setup, or whether a new llm-wiki release is available.
LLM Wiki Status
Check whether llm-wiki is current and report the exact update command for the current agent environment.
Also inspect project-local wiki configuration when available:
.llm-wiki/config.jsonAGENTS.mdCLAUDE.md.pi/settings.json.claude/settings.json.llm-wiki/refresh-wiki.sh.llm-wiki/post-commit-refresh.sh
Rules
- Detect whether the user is running Claude Code, Codex, Pi, or multiple CLIs are present.
- If the user asks only how to update, give commands without changing anything.
- If the user asks to check the latest version, fetch marketplace or Pi package metadata and compare versions.
- If the user asks to update, run the update command for the active tool and tell them to restart the tool afterward.
- Compare semantic versions with
sort -Vwhen available; otherwise parse major/minor/patch numerically. Do not compare version strings lexicographically. - If network access, marketplace metadata, or Pi package metadata is unavailable, report the local version and the command that refreshes the relevant metadata.
- If
.llm-wiki/config.jsonexists, reportheadless_agent,context_agents, andmain_wiki_path. - Report managed wiki context using the exact
<!-- BEGIN LLM WIKI -->and<!-- END LLM WIKI -->marker pair. - Classify
AGENTS.mdandCLAUDE.mdcontext asmanaged present,unmanaged wiki section only,missing, orunknown. - Report Pi context from
AGENTS.md; do not require.pi/SYSTEM.mdor.pi/APPEND_SYSTEM.md. - Report whether Claude SessionStart context appears configured when
.claude/settings.jsonexists. - Classify each automation surface as
codex,claude,pi,mixed,missing,mismatch, orunknown. - Scheduler and post-commit ownership are clean only when the configured owner command is present and the non-owner command is absent.
codexmeanscodex execis present andclaude -p,pi -p, andpi --printare absent.claudemeansclaude -pis present andcodex exec,pi -p, andpi --printare absent.pimeanspi -porpi --printis present andcodex execandclaude -pare absent.mixedmeans more than one owner command is present.mismatchmeans exactly one owner command is present but it is not the configuredheadless_agent.- Count managed
llm-wikihook or scheduler entries when possible; report duplicates asmixedormismatchrather than clean.
Claude Code
Useful commands:
claude plugin marketplace update aikuznetsov-marketplace
claude plugin update llm-wiki
claude plugin list --json --available
Status workflow:
- Run
claude plugin list --json --availablewhen available. - Find
llm-wikibyname,id, orpluginfields. - Compare installed/current and available/latest versions.
- If a newer version exists, suggest:
claude plugin marketplace update aikuznetsov-marketplace
claude plugin update llm-wiki
Tell the user that Claude Code must be restarted for the updated plugin to load.
Codex
Codex currently exposes marketplace refresh, not a first-class plugin list or plugin update <plugin> command.
Useful command:
codex plugin marketplace upgrade aikuznetsov-marketplace
Local version paths:
find ~/.codex/plugins/cache/aikuznetsov-marketplace/llm-wiki -mindepth 1 -maxdepth 1 -type d -exec basename {} \; | sort -V | tail -n1
jq -r '.version' ~/.codex/.tmp/marketplaces/aikuznetsov-marketplace/plugins/llm-wiki/.codex-plugin/plugin.json
Remote marketplace check:
curl -fsSL https://raw.githubusercontent.com/ivankuznetsov/agent-plugins/main/.claude-plugin/marketplace.json \
| jq -r '.plugins[] | select(.name == "llm-wiki") | .version'
Status workflow:
- Read the local cached version from
~/.codex/plugins/cache/aikuznetsov-marketplace/llm-wiki/. - Read the cached marketplace version from
~/.codex/.tmp/marketplaces/aikuznetsov-marketplace/plugins/llm-wiki/.codex-plugin/plugin.jsonwhen it exists. - Fetch the remote marketplace version with
curlwhen the user wants to know whether a new release is out. - If the remote version is newer than the local cached version, suggest:
codex plugin marketplace upgrade aikuznetsov-marketplace
Tell the user that Codex must be restarted for the updated plugin to load.
Pi
Pi uses Pi packages instead of the Claude/Codex plugin marketplace. The Pi package exposes prefixed skill names to avoid global /skill:name collisions:
/skill:wiki-bootstrap
/skill:wiki-research
/skill:wiki-plan
/skill:wiki-status
Useful commands:
pi --version
pi list
pi update git:github.com/ivankuznetsov/llm-wiki
pi update --extensions
Remote package version check:
curl -fsSL https://raw.githubusercontent.com/ivankuznetsov/llm-wiki/main/package.json \
| jq -r '.version'
Status workflow:
- Run
pi --versionwhen available. - Run
pi listwhen available and look for an installedllm-wikipackage or source. - Read the local package version from
package.jsonwhen running from thellm-wikicheckout. - Fetch the remote package version from the GitHub
package.jsonwhen the user wants to know whether a new release is out. - If the remote version is newer than the installed/local version, suggest:
pi update git:github.com/ivankuznetsov/llm-wiki
If Pi reports the package under a different installed source, use that exact source with pi update <source>. Tell the user to restart Pi after updating package skills.
Report Format
Return:
**llm-wiki Plugin Status**
- Current cached/installed version: ...
- Latest marketplace/package version: ...
- Status: current | update available | unknown
- Update command: ...
- Restart required: yes | no
- Headless agent: claude | codex | pi | unknown
- Context agents: ...
- AGENTS.md wiki context: managed present | unmanaged wiki section only | missing | unknown
- CLAUDE.md wiki context: managed present | unmanaged wiki section only | missing | unknown
- Pi wiki context: AGENTS.md managed present | missing | unknown
- Claude SessionStart context: present | missing | not checked
- Scheduled refresh owner: claude | codex | pi | mixed | missing | mismatch | unknown
- Post-commit refresh owner: claude | codex | pi | mixed | missing | mismatch | unknown
Mention whether the result came from local cache only or from a remote marketplace/package check.