/aria-knowledge:ask <question>from aria-knowledge
Researches a question by checking existing knowledge first, then drafts and saves a knowledge doc after user review. Use via '/ask <question>'.
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.
Research a question, check if the answer already exists in the knowledge base, and if not, draft a knowledge doc that saves directly to promoted files after user review. Fast path from question to knowledge — no backlog intermediary.
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 /ask 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:ask.
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:ask with the same arguments the user provided, and do not run this skill's steps:
↪️ Redirecting to
/aria-cowork:ask— 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 rather than
~/.claude/aria-knowledge.local.md), use/aria-cowork:ask.
⛔ 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 file operations in subsequent steps.
The user provides a question as the argument. If no argument is provided, ask: "What would you like to know?"
Extract the core topic and likely tags from the question for use in Step 2.
Before researching, check if the answer already exists:
Resolve aliases first (added 2.16.0): if {knowledge_folder}/aliases.md exists, parse the alias→canonical map and replace any tag token in the question that matches an alias with its canonical form before the index lookup. No notification line needed — this is internal to /ask's coarse check (/context is the surface that surfaces resolution notifications).
If {knowledge_folder}/index.md exists, extract tags from the (post-alias-resolution) question and check for matching files in both the ## Tag Index section AND the ## Semantic Hints Index section. Tag matching is exact equality (existing behavior); hint matching is substring (case-insensitive, hyphen-normalized) — same rule as /context Step 4. A hint match counts the same as a tag match for partial-match detection. (Added 2.16.0.)
Scan headings of files in approaches/, guides/, references/, decisions/ for topic overlap
Check intake/ backlogs for pending items on the same topic
If a strong match is found: Present the existing file(s) to the user:
"This may already be covered in [filename]. Want me to load it? Or research fresh?"
If no match: Proceed to Step 3.
Answer the question using available sources:
Synthesize a clear, complete answer. Focus on practical, actionable knowledge — not textbook definitions.
Based on the answer content, suggest where it belongs:
| Content type | Category | Example |
|---|---|---|
| How to do X (proven method) | approaches/ | API pagination patterns |
| How X works (operational) | guides/ | Supabase auth setup |
| What others say about X | references/ | Stripe webhook best practices |
| We chose X because Y | decisions/ | Why cursor over offset pagination |
| X must/must not (principle) | rules/ | Rare — usually via /audit knowledge |
Write a draft in the standard format for the suggested category:
---
tags: [detected tags from question and answer]
---
# [Title]
**Last updated:** YYYY-MM-DD
[Answer content — structured with sections as appropriate]
## Related
[Links to any existing knowledge files that connect to this topic]
If Step 2 found a partial match, note: "Related: [existing file] — consider whether this should update that file instead of creating a new one."
Show the draft with metadata:
## /ask Result
**Question:** [original question]
**Category:** [suggested category]
**File:** [suggested filename in kebab-case]
**Tags:** [detected tags]
[Draft content]
Save to {knowledge_folder}/[category]/[filename]? (yes / edit / change category / reject)
Based on user response:
After saving, confirm: "Saved to [path]. Run /index to update the tag index."
/ask invocations.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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.)/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'.Other plugins' skills for the same job