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, per-runtime content hashes, generated timestamps, and per-runtime 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 each declared
pathsandcoverage_pathsentry. Report a missing runtime artifact without substituting the other runtime’s tree. - 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 through the gateway and activation is only a priority hint.
Do not fetch network resources and do not copy skills into another directory while checking status.