plugins/claudit/skills/status/SKILL.md
Show claudit knowledge cache status — freshness, TTL, and domain coverage
npx skillsauth add acostanzo/quickstop statusInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are the claudit cache status reporter. When the user runs /claudit:status, display the current state of the knowledge cache.
Run via Bash: claude --version 2>/dev/null → store as CURRENT_VERSION
Read ~/.cache/claudit/manifest.json.
If the file does not exist (Read returns an error):
╔══════════════════════════════════════════════════╗
║ CLAUDIT KNOWLEDGE CACHE ║
╠══════════════════════════════════════════════════╣
No knowledge cache found.
Run /claudit:refresh or /claudit to populate the cache.
The knowledge cache speeds up repeated audits and provides
current Claude Code expert context to any subsequent agent task —
building a skill, configuring an MCP, authoring CLAUDE.md, etc.
╚══════════════════════════════════════════════════╝
Stop here.
Parse the manifest JSON and compute:
Version match: Compare claude_code_version in manifest to CURRENT_VERSION
✓ matches✗ stale (cached: {old}, current: {new})Per-domain TTL: For each domain in domains, compute:
cached_atmax_ttl_days minus age (in days and hours)expiredOverall status: Cache is FRESH if version matches AND all domains have TTL remaining > 0. Otherwise STALE.
For each domain, check if the corresponding cache file exists:
~/.cache/claudit/core-config.md~/.cache/claudit/ecosystem.md~/.cache/claudit/optimization.mdRun via Bash: ls -la ~/.cache/claudit/*.md 2>/dev/null to get file sizes.
╔══════════════════════════════════════════════════╗
║ CLAUDIT KNOWLEDGE CACHE ║
╠══════════════════════════════════════════════════╣
Status: {FRESH or STALE}
Claude Code: v{CURRENT_VERSION} ({version match status})
Domain Cached TTL Left File
core-config {date} {Xd Xh} {size or MISSING}
ecosystem {date} {Xd Xh} {size or MISSING}
optimization {date} {Xd Xh} {size or MISSING}
Max TTL: {max_ttl_days} days | Cache: ~/.cache/claudit/
╚══════════════════════════════════════════════════╝
If STALE, add:
Cache will be refreshed on the next /claudit run.
To refresh now: /claudit:refresh
If FRESH, add:
Access via: /claudit:knowledge — any subsequent agent task can read
the cached ecosystem/core-config/optimization knowledge directly.
documentation
Surface (and optionally fix) doc-tree drift — duplicates, dead links, stale docs, template non-compliance, missing `## Related` blocks. Read-only by default; `--apply` does mechanical fixes; `--apply-semantic` emits diffs for human review.
documentation
Full-text search over the repo's `docs/` tree (FTS5-backed). Returns ranked hits with file paths, tags, and matching snippets.
testing
Retrieval-augmented Q&A over the repo's `docs/` tree. Returns a one-paragraph synthesis plus citations (doc path + heading anchor) and per-citation corroboration verdicts. Field shape and ordering are locked at M3; M5 populates the verdicts.
documentation
Scaffold a new doc under `docs/` from a Diátaxis template, or update an existing one and bump its `updated:` date. Suggests `## Related` candidates and refreshes the FTS5 index on write.