/aria-knowledge:audit [knowledge|config|style|usage|rules|all] [args...]from aria-knowledge
Dispatches to six sub-audits: knowledge (memory/plans), config (CLAUDE.md/settings drift), style (session-log patterns), usage (value/ROI), rules (corrections), and share (team promotion).
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.
A thin umbrella over the six sub-audits. /audit does not scan anything itself — it resolves which
sub-audit(s) the user means, then delegates to the sub-skill that owns the actual work. Think of it
as a menu + router, not another audit implementation. The /audit <verb> forms are the canonical
invocations for the whole family (see "Canonical forms and compatibility" below).
Canonical resolution: This is the Claude Code variant, and the only /audit dispatcher — Cowork has no /audit counterpart (excluded on its summed-description cap, a settled decision), so there is no namespaced variant to redirect to. Cowork's audit facets are the namespaced sub-skills it does ship: /aria-cowork:audit-knowledge and /aria-cowork:audit-config.
Before Step 0: Check that the Bash tool is available in this session. If Bash is NOT available (you are running in Claude Cowork or another non-Code runtime), surface the following notification and wait for explicit user confirmation:
⚠️ Runtime mismatch — you invoked aria-knowledge's
/auditfrom a non-Code runtime.This dispatcher delegates to sub-audits that scan local files via Bash, none of which are reachable here. For the Cowork-native variants (audits reachable from the attached knowledge folder), use
/aria-cowork:audit-knowledgeor/aria-cowork:audit-configdirectly (Cowork has no dispatcher and keeps those direct forms).Proceed with this Code variant anyway? (
y/n)
Wait for an explicit reply:
y / yes — Proceed with this (aria-knowledge) variant anyway despite the runtime mismatch. The user has explicitly opted in.n / no — Exit cleanly without running.This gate applies even when mode = auto per ADR-094 §Part 3. Auto mode's "implicit-yes on all gates" rule is suspended for the runtime-mismatch check — auto trusts that the user invoked the correct variant, and this gate enforces that precondition. All other auto-mode gates remain bypassed.
If Bash is available, proceed to Step 0.
/audit takes a verb followed by optional arguments. Resolve the FIRST token against the
grammar below before doing anything else. Arguments are legal only AFTER a recognized verb —
any remaining tokens after a recognized verb are passed through to the sub-skill unchanged (e.g.
/audit style recent, /audit rules promote R1 R3). An unrecognized first token always hits the
unknown-verb branch, exactly as before — passthrough never weakens the never-silently-guess rule.
| Input | Resolution |
|---|---|
/audit (bare, no argument) | Present the bare-menu (Step 1) and wait for a pick. |
/audit knowledge [args…] | Delegate to audit-knowledge with the args (Step 2). |
/audit config [args…] | Delegate to audit-config with the args (Step 2). |
/audit style [args…] | Delegate to audit-style with the args (Step 2). Style is opt-in only — see the note at the end of this section. |
/audit usage [args…] | Delegate to audit-usage with the args (Step 2). Usage is opt-in only — same note as style. |
/audit rules [args…] | Delegate to audit-rules with the args (Step 2) — e.g. /audit rules promote R1 R3. Rules is opt-in only — same note as style. |
/audit share [args…] | Delegate to audit-share with the args (Step 2) — batch-review personal knowledge for promotion to the team-shared tier. Share is opt-in only — same note as style, and it additionally requires the shared-knowledge config (projects_enabled plus a non-empty projects_shared_knowledge). |
| anything else (unrecognized verb) | Unknown-verb branch — do not guess or silently fall through. List the valid verbs and stop: "'{verb}' is not a valid /audit sub-command. Valid verbs: knowledge, config, style, usage, rules, share. Run bare /audit for a menu." |
Style, usage, rules and share are opt-in, never routine. They run only when explicitly
selected — the user types the /audit <verb> form directly, or picks it off the bare-menu in
Step 1. None of the four is ever fired automatically by the SessionStart audit-cadence nudge the
way /audit knowledge and /audit config can be — session-start cadence checks are a
knowledge/config concern; style-mining, usage reporting, rule-mining and cross-tier sharing stay
deliberate, explicit actions every time. Share carries the strongest form of this: it writes into
a team-shared and possibly public repo, so it is never anything but an explicit, per-item choice.
/audit — Present the MenuWhen invoked with no argument, present the options and wait for the user to pick one before doing anything else:
Which audit?
knowledge— scan Claude memory and plans for extractable knowledge (backlog → promotion review)config— check CLAUDE.md files, plugin manifests, and knowledge docs for drift and stalenessstyle— mine session-log history for revealed working-style rules (opt-in — not part of routine cadence)usage— value/ROI report for your own corpus (cost + quality + trends; opt-in — not routine cadence)rules— mine your distilled corrections for promotable standing rules (opt-in — not routine cadence)share— batch-review personal knowledge for promotion to the team-shared tier (opt-in; requires the shared-knowledge config)
Do not default to any one sub-audit and do not run anything before the user picks. A bare /audit with no reply is a no-op — exit cleanly, nothing was scanned.
Once a verb is resolved (from Step 0's direct-invocation column or Step 1's menu pick), delegate to the matching sub-skill via the Skill tool, passing through any trailing arguments from the invocation — the sub-skill runs its own full step sequence (config resolution, cadence/mode determination, findings presentation, user review, promotion) exactly as it would under direct invocation:
knowledge → Use the Skill tool to invoke audit-knowledge (with any passthrough args).config → Use the Skill tool to invoke audit-config (with any passthrough args).style → Use the Skill tool to invoke audit-style (with any passthrough args).usage → Use the Skill tool to invoke audit-usage (with any passthrough args).rules → Use the Skill tool to invoke audit-rules (with any passthrough args).share → Use the Skill tool to invoke audit-share (with any passthrough args)./audit's job ends at the handoff — it does not re-implement, intercept, or post-process what the sub-skill does. Whatever the sub-skill reports (findings, promotions, "nothing new to extract") is the final output of that leg.
The /audit <verb> space forms are the canonical, advertised invocations for the whole family.
Every doc, help table, and cadence nudge names them — the SessionStart audit-cadence nudge says
/audit knowledge and /audit config.
Compatibility aliases (never advertised): /audit-knowledge · /audit-config · /audit-style · /audit-usage · /audit-rules — all still resolve.
The sub-skill files are this dispatcher's delegation targets and keep their names, but the
hyphenated forms are aliases, not separate behaviour, and are never advertised as the canonical
form (the same posture as the legacy linear spellings elsewhere in the family). Both paths land
on the same sub-skill.
/audit without a menu pick.all was removed in v2.50.0: six sub-audits is past the point where a blind sequence is a sensible default, and four of the six are opt-in by design — a run-everything would have been firing them against their own stated posture.What SKILL.md sets; muted values are Claude Code's defaults
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-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'./audit-share/audit share — Batch-Review Personal Knowledge for Team SharingInternal facet of the audit family — invoke via '/audit share'. Batch-reviews personal knowledge for promotion to the team-shared _project-knowledge/ tier; per-item opt-in, requires the shared-knowledge config.Other plugins' skills for the same job