agent-routing
Decide which model, effort level, and cascade shape each subagent gets, and how to keep improvement loops safe…
Guidance for asking clarifying questions when user requests are ambiguous, have multiple valid approaches, or require critical decisions. Use when implementation choices exist that could significantly affect outcomes.
$ npx -y skills add oaustegard/claude-skills --skill asking-questions --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/asking-questionsContext preview
The summary Claude sees to decide when to auto-load this skill.
Guidance for asking clarifying questions when user requests are ambiguous, have multiple valid approaches, or require critical decisions. Use when implementation choices exist that could significantly affect outcomes.
name: asking-questions description: Guidance for asking clarifying questions when user requests are ambiguous, have multiple valid approaches, or require critical decisions. Use when implementation choices exist that could significantly affect outcomes. metadata: version: 1.0.7
Ask clarifying questions when the answer materially changes what you'll build. This skill helps identify when to ask, how to structure questions effectively, and when to proceed autonomously.
Ask questions for:
1. **Ambiguous implementation choices** - Multiple valid technical approaches (middleware vs wrapper functions, library selection, architectural patterns) 2. **Missing critical context** - Specific information needed (database type, deployment platform, credential management) 3. **Potentially destructive actions** - Requests that could be interpreted dangerously ("clean up files" = delete vs archive) 4. **Scope clarification** - Vague terms like "refactor," "optimize," or "improve" 5. **Conflicting requirements** - Goals that may work against each other ("make it faster" + "add extensive logging") 6. **Technical trade-offs** - Solutions with different costs/benefits depending on priorities
Don't ask when:
[Context: What you found/analyzed] [Present 2-5 specific options with brief trade-offs] [Direct question asking for preference] [Optional: Offer to make reasonable default choice]
1. **Acknowledge understanding first** - Show you've analyzed the situation
2. **Present clear options** - Offer 2-5 specific choices with brief context
I can implement this in several ways: 1. **Global middleware** - Catches all errors centrally (simplest) 2. **Wrapper functions** - More granular control per endpoint 3. **Custom error classes** - Typed errors with status codes
3. **Ask directly** - Clear question that guides decision
4. **Offer autonomy (optional)** - For less critical decisions
Layer questions instead of asking everything upfront:
**Good ✓**
**Bad ✗**
"I see you're using JWT authentication. To add refresh tokens, I can: 1. **httpOnly cookies** - More secure, harder to XSS 2. **localStorage** - Simpler, works with mobile apps 3. **In-memory only** - Most secure, lost on refresh
What works best for your use case?"
"How should I implement the authentication refresh token storage mechanism considering security implications, XSS vulnerabilities, mobile compatibility, UX impacts, and compliance considerations?"
*Too verbose, no clear options, asks everything at once*
---
"You mentioned 'clean up migrations.' Do you want me to archive them to /old-migrations or delete them entirely? (Note: deletion can break databases that haven't run them yet)"
"What do you mean by clean up?"
*Too vague, doesn't guide the decision*
1. **Acknowledge** - Confirm you understood their choice 2. **Proceed immediately** - Don't ask if they want you to continue 3. **Apply preferences** - If they chose "security first" once, lean that direction for similar future choices
**Ask only when the answer materially changes what you'll build.** Avoid building the wrong thing, not asking questions for the sake of asking.
A collection of Claude skills distributed as a Claude Code plugin marketplace. Skills are primarily designed for the Claude.ai PaaS skill compute environment; mileage will vary if used as Claude Code Agent Skills.
Decide which model, effort level, and cascade shape each subagent gets, and how to keep improvement loops safe…
Cross-context adversarial review for deliverables before shipping. Use when producing blog posts, technical recommendations,…
Convenes expert panels for problem-solving. Use when user mentions panel, experts, multiple perspectives, MECE, DMAIC, RAPID, Six…
Routes, triages, flags and rates a piece of text with a probability for every option: which department or queue a ticket goes to,…
Delegates work to a subagent or spawned session by writing only the task, while a PreToolUse hook pages the parent transcript…
Chooses how to launch subagents from Claude Code (the Agent tool, a Workflow script, or headless claude -p children) and runs a…