Ask an agent expert a question using its expertise mental model. Use for quick domain-specific answers without code exploration.
Query a domain expert agent for quick answers using its expertise mental model. Use when you need domain-specific guidance without exploring the codebase.
/plugin marketplace add melodic-software/claude-code-plugins/plugin install google-ecosystem@melodic-software<domain-name> <your-question>Ask an agent expert a question, getting answers grounded in its expertise mental model.
$1: Domain name (required, e.g., "database", "websocket")$1: Your question (required)Note: Extract the question by removing the domain name from $ARGUMENTS, or use $2, $3, etc. to capture question words.
You are querying an agent expert to get answers based on its domain expertise.
Extract:
$1 (required)If no domain provided, STOP and ask for domain name. If no question provided, STOP and ask for the question.
Check if expertise file exists and has content using the Read tool:
Read: .claude/commands/experts/{$1}/expertise.yaml
If not found or empty:
/tac:create-expert {domain} or /tac:seed-expertise {domain}Read the expertise file:
Using the expertise as your knowledge base:
## {Domain} Expert Response
### Question
{question}
### Answer
{Your answer based on expertise}
### Sources
- **Expertise sections used:** [list]
- **Files referenced:** [list if any]
### Confidence: [High/Medium/Low]
{Explanation of confidence level}
### If Low Confidence
The expertise file may need updating. Run:
```bash
/tac:improve-expertise {domain} false
# Ask database expert
/tac:query-expert database "How does connection pooling work?"
# Ask websocket expert
/tac:query-expert websocket "What events are available?"
# Ask about specific operation
/tac:query-expert database "How do I batch insert records?"
| Level | Meaning |
|---|---|
| High | Expertise directly covers this topic |
| Medium | Expertise partially covers, some inference needed |
| Low | Expertise doesn't cover well, recommend self-improve |
Last Updated: 2025-12-15