knowledge-patch-status
Installation
SKILL.md
Knowledge Patch Status
Use this skill when the user asks what knowledge patches are available, active, stale, or missing.
Status Checks
- Read
../../.codex-plugin/plugin.jsonor../../.claude-plugin/plugin.jsonfor the build version. - Read
../../catalog/patches.jsonfor bundled patches, canonicalshort_labelvalues,coverage_kind,covered_through,coverage_label, content hashes, generated timestamps, and coverage paths. Useshort_labelin user-facing output. Compare project versions only forversionedandrangecoverage; describerollingandmulti-productentries bycoverage_labelwithout treating their JSON-nullcovered_throughas stale. - Read activation state from
$KNOWLEDGE_PATCH_STATE,.knowledge-patch/activation.json, or$XDG_STATE_HOME/knowledge-patch/activation.json. - Verify that each catalog
pathexists and that eachcoverage_pathexists. - For every patch, report its
generated_attimestamp and age relative to now in an understandable unit such as days; flag missing, invalid, or notably old timestamps instead of hiding them. - Report active patches first, then matching bundled patches, then any catalog, staleness, or artifact problems.
If no activation state exists, say that all bundled patches remain available as native skills and activation is only a priority hint.
Do not fetch network resources and do not copy skills into another directory while checking status.