← ClaudeAtlas

statslisted

**Bare-slash canonical (Claude Code).** `/stats` resolves to this skill when both aria-knowledge and aria-cowork are loaded in the same session. RUNTIME GATE: if invoked from a non-Code runtime (no Bash tool available, e.g., Claude Cowork), the Runtime Gate section surfaces a notification suggesting `/aria-cowork:stats` and requires explicit user confirmation before proceeding — even in `auto` mode (ADR-094 §Part 3). Show knowledge base health metrics — file counts, backlog depth, audit status, codemap dates, tag stats, and coverage gaps. Use when user says '/stats', 'knowledge stats', 'how is my knowledge base', 'show stats', 'knowledge health', 'dashboard'.
mikeprasad/aria-knowledge · ★ 12 · AI & Automation · score 66
Install: claude install-skill mikeprasad/aria-knowledge
# /stats — Knowledge Base Health Read-only dashboard showing the current state of the knowledge repository. ## Runtime Gate (per ADR-094) **Before Step 0:** Check that `Bash` is available. If `Bash` is NOT available (e.g., Cowork), surface: > ⚠️ **Runtime mismatch — you invoked aria-knowledge's `/stats` from a non-Code runtime.** > > Behavior is largely the same in both runtimes; for the Cowork-native variant (reads from the attached knowledge folder), use `/aria-cowork:stats`. > > Proceed with the aria-knowledge variant anyway? (`y` / `n`) Wait for `y` / `yes`. **Gate applies even in `auto`** (ADR-094 §Part 3). If `Bash` is available, proceed to Step 0. ## Step 0: Resolve Config Read `~/.claude/aria-knowledge.local.md` and extract `knowledge_folder`. If the file doesn't exist, stop: "aria-knowledge is not configured. Run /setup to get started." Use `{knowledge_folder}` as the base path for all operations. ## Step 1: Count Promoted Files Count `.md` files (excluding README.md) in each promoted folder: - `{knowledge_folder}/rules/*.md` - `{knowledge_folder}/approaches/*.md` - `{knowledge_folder}/decisions/*.md` - `{knowledge_folder}/guides/**/*.md` (recursive — guides may have subdirectories) - `{knowledge_folder}/references/*.md` - `{knowledge_folder}/archive/*.md` Record counts per category and total. ## Step 2: Count Backlog Items For each backlog file, count the number of `### ` (h3) entries below the `---` separator: - `{knowledge_folder}/intake/insights-ba