/aria-knowledge:statsfrom aria-knowledge
Shows knowledge base health metrics including file counts per category, backlog depth, audit status, codemap dates, tag stats, and coverage gaps. Invoke with /stats or 'knowledge stats'.
Ships in aria-knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read-only dashboard showing the current state of the knowledge repository.
Canonical resolution: This is the Claude Code variant. When both plugin-claude-code and plugin-claude-cowork are loaded in the same session (most common in Claude Desktop), bare /stats resolves to this skill — aria-knowledge (Code) is the canonical owner of all 24 dual-port skills per ADR-094 §Part 1. The Cowork variant is namespaced-only: /aria-cowork:stats.
Before Step 0 — runtime self-correction. Check whether the Bash tool is available in this session. If Bash is NOT available (you are running in Claude Cowork or another non-Code runtime), this invocation reached the wrong variant for the runtime. Do not ask — redirect. Announce it in one line, then use the Skill tool to invoke aria-cowork:stats with the same arguments the user provided, and do not run this skill's steps:
↪️ Redirecting to
/aria-cowork:stats— you invoked the aria-knowledge (Code) variant, but you are running in Claude Cowork or another 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.
⛔ The redirect is unconditional — every mode including auto, and no opt-out. Reaching this variant under that condition is always a mis-invocation, so there is nothing for the user to decide. Design record: docs/superpowers/specs/2026-08-28-runtime-gate-auto-redirect-design.md (D2 auto-redirect, D3 no escape hatch, D6 announce-don't-swap-silently).
If Bash is available, proceed to Step 0.
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.
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/*.mdRecord counts per category and total.
For each backlog file, take its live count from bash "${CLAUDE_PLUGIN_ROOT}/scripts/count-backlog-entries.sh" {knowledge_folder} — the same counter /audit knowledge and the SessionStart trigger use, which also sees entries written at ## or mis-levelled at ####. If the script is unavailable, fall back to counting ### (h3) entries below the --- separator and say the figure may under-report:
{knowledge_folder}/intake/insights-backlog.md{knowledge_folder}/intake/decisions-backlog.md{knowledge_folder}/intake/extraction-backlog.md{knowledge_folder}/intake/rules-backlog.mdAlso count .md files in {knowledge_folder}/intake/pre-compact-captures/.
Also count .md files in {knowledge_folder}/intake/clippings/ (unreviewed clippings).
Extract the **Date:** from:
{knowledge_folder}/logs/knowledge-audit-log.md{knowledge_folder}/logs/config-audit-log.md/setup on date from ~/.claude/aria-knowledge.local.mdCalculate days since each. If a date is "(no audits yet)" or missing, note "never."
Use Glob to find CODEMAP.md files under cwd (up to 2 levels deep). Try these patterns:
CODEMAP.md (depth 0)*/CODEMAP.md (depth 1)*/*/CODEMAP.md (depth 2)For each file found:
Last updated date from the header. Expected pattern: > Last updated: YYYY-MM-DD | Sections: N | Features: MIf the header is missing or unparseable, show (no date) for that entry.
If no CODEMAP.md files are found under cwd, the section still renders with a single line noting absence.
Presentation-only. This step does not classify stale/current or run git-activity checks. Staleness classification with file-change detection belongs to /audit knowledge Step 5d — /stats just surfaces the raw date so the user can decide whether to run the audit.
In addition to the cwd-scoped Glob in Step 3a, iterate KT_PROJECTS_LIST (from config) to surface CODEMAP + STITCH dates across ALL configured projects — a dashboard view, not just the current working directory.
Skip this step entirely if KT_PROJECTS_ENABLED != true or KT_PROJECTS_LIST is empty.
For each tag:path entry in projects_list:
project_root = $HOME/Projects/<path>. If directory doesn't exist, note "(configured but missing)" and continue.{project_root}/CODEMAP.md:
> Last updated: YYYY-MM-DD from the header (or fall back to mtime). Compute days-since.{project_root}/STITCH.md:
codemap_staleness_threshold_days (default 14) and stitch_staleness_threshold_days (default 30). Status = fresh / STALE (>threshold) / REFUSAL-ZONE (>2× threshold).Presentation-only. Same discipline as Step 3a — surfaces dates + status without auto-acting. Pairs with /audit config Step 5a, which produces actionable findings.
If {knowledge_folder}/index.md exists, read it and extract:
## Known Tags section## Tag Index, count files listed under each ### tag header, sort by count, show top 5## Stale Files section, count entries## Untagged Files section, count entriessemantic-hints: frontmatter / total promoted files; report as N of M (P%). Always emit (zero coverage = "0 of M (0%)") to track adoption over time. Source: scan promoted-folder files (same set as Step 1) for the semantic-hints: field; matches /index's Semantic Hints Index input.If index.md doesn't exist, note: "No index — run /index to build."
Check which promoted folders have zero .md files (excluding README.md):
approaches/ is empty: note itdecisions/ is empty: note itguides/ is empty: note itreferences/ is empty: note itThese suggest areas where knowledge capture hasn't started yet.
Output in this format:
Output policy: emit every section defined in the format below with all fields, even when counts are zero. Zero counts are meaningful data points — "Pending insights: 0" confirms the backlog is clear, "Stale files: 0" confirms the index is current. Do not collapse the dashboard into prose or shorten sections for brevity — the structured format is the skill's value, enabling trend comparison across runs. The Index Health and Coverage Gaps sections have explicit conditional branches embedded in the template; all other sections are always-emit.
## Knowledge Stats
### Repository
- Promoted files: N total
- Rules: N
- Approaches: N
- Decisions: N
- Guides: N
- References: N
- Archived: N
### Intake
- Pending insights: N
- Pending decisions: N
- Pending extractions: N
- Pending rules: N
- Unreviewed clippings: N
- Pre-compact captures: N
### Audit Status
- Knowledge audit: [YYYY-MM-DD (N days ago) | never]
- Config audit: [YYYY-MM-DD (N days ago) | never]
- Last /setup: [YYYY-MM-DD (N days ago)]
### Codemap Status
[If codemaps exist, one line per file:]
- <relative-path>: updated YYYY-MM-DD (N days ago)
[If no codemaps found:]
- No CODEMAP.md found under cwd
### Cross-Project Tracked Artifacts (added 2.16.1)
[If projects_enabled=true AND projects_list non-empty, one block per project:]
- <tag>:
- CODEMAP: updated YYYY-MM-DD (N days ago) [fresh | STALE | REFUSAL ZONE]
- STITCH: updated YYYY-MM-DD (N days ago) [fresh | STALE | REFUSAL ZONE]
(or: "single-repo — no STITCH")
[If projects_root directory missing for a tag:]
- <tag>: (configured but missing — verify projects_list path)
[If projects feature disabled:]
- Projects feature disabled in config — set projects_enabled: true to enable cross-project tracking
### Index Health
[If index exists:]
- Known tags: N
- Top tags: tag1 (N files), tag2 (N files), tag3 (N files), tag4 (N files), tag5 (N files)
- Untagged files: N
- Stale files: N
- Semantic-hints coverage: N of M files (P%)
[If no index:]
- No index built yet — run /index
### Coverage Gaps
[List empty categories, or "All categories have content."]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
knowledge-base, dashboard, health-metrics, file-counts, backlog
npx claudepluginhub mikeprasad/aria-knowledge --plugin aria-knowledge40 skills in this plugin
/aria-assistMorning product-management review across all your projects. Use when the user runs /aria-assist, asks for a morning review / daily PM digest / "what should I do today across my products", or when the launchd job fires it headless. Two modes - `generate` (headless: read facts, deep-review ACTIVE projects, apply logged light writes, write the dated digest + per-project PM-REVIEW.md) and `review` (interactive: load today's digest, walk proposals, execute approved ones). Roster comes from projects_list; settings from pm_* keys in aria-knowledge.local.md. (Claude Code variant — full scheduler path. Other ports run manual-only generate/review.)/ask/ask — Query-Driven Knowledge CreationResearch a question, check existing knowledge first, draft a knowledge doc from the answer, and save directly to the appropriate category. Use when user says '/ask', 'ask about', 'research and save', 'I want to learn about', 'what is the pattern for'. Skips backlogs — the user reviews the answer in real-time before saving. (Code port — ADR-094.)/audit/audit — Audit Family DispatcherUmbrella for the audit family — the canonical way to run every sub-audit: '/audit knowledge' (scan memory and plans for extractable knowledge, backlog-to-promotion review), '/audit config' (CLAUDE.md/settings/docs drift and staleness), '/audit style' (mine session-log history for revealed working-style rules), '/audit usage' (value/ROI report over your own corpus), '/audit rules' (mine your distilled corrections for promotable standing rules), or '/audit share' (batch-review personal knowledge for promotion to the team-shared tier). Trigger: '/audit', 'run an audit', 'knowledge audit', 'config audit', 'audit my style', 'audit my rules', 'usage report', 'share knowledge', 'promote to team'./audit-config/audit config — Configuration & Documentation Health CheckInternal facet of the audit family — invoke via '/audit config'. Audits project configuration and docs for drift, staleness, and broken references. (Code port — ADR-094.)/audit-knowledge/audit knowledge — Knowledge Repository AuditInternal facet of the audit family — invoke via '/audit knowledge'. Scans Claude memory and plans for extractable knowledge (backlog-to-promotion review). (Code port — ADR-094.)/audit-rules/audit rules — User-Rule Mining Sub-AuditMine your distilled knowledge corpus — memory feedback rows, rules backlogs, always-on indexes — for recurring corrections that deserve promotion to numbered standing rules. Clusters by theme, verifies every quote at its source file, ranks by cross-session recurrence (at least 2 distinct sessions), and writes a rule ONLY on explicit approval. Opt-in. Trigger: '/audit rules', 'mine my corrections', 'promote my rules', 'audit my rules'.Other plugins' skills for the same job