ask-user
Pattern for effectively interacting with users to gather information or get decisions. Use when you need user input.
npx skills add majiayu000/claude-skill-registry --skill ask-user --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Ask User Skill Pattern for effective user interaction. ## When to Load This Skill - You need to clarify requirements - You need user to make a decision - You have options to present ## Principles ### 1. Be Specific, Not Open-Ended Bad: "What do you want?" Good: "Should authentication use JWT or sessions?" ### 2. Offer Options When Possible ``` AskUserQuestion( questions: [ { question: "Which authentication method should we use?", header: "Auth method", options: [ { label: "JWT", description: "Stateless, good for APIs" }, { label: "Sessions", description: "Stateful, good for web apps" } ], multiSelect: false } ] ) ``` ### 3. Provide Context Explain WHY you're asking: - What decision depends on this - What trade-offs exist - What you recommend and why ### 4. Batch Related Questions Ask related questions together: ``` questions: [ { question: "Auth method?", ... }, { question: "Token expiry?", ... }, { question: "Refresh token?", ... } ] ``` ## When to Ask vs Decide ### ASK when: - Multiple valid approaches with different trade-offs - User preference matters - Scope is unclear - Risk of wasted work ### DECIDE when: - Clear best practice exists - Low impact choice - Easily reversible
- When to Load This Skill
- Principles
- 1. Be Specific, Not Open-Ended
- 2. Offer Options When Possible
- 3. Provide Context
- 4. Batch Related Questions
- When to Ask vs Decide
- ASK when:
- DECIDE when:
- Question Types
- Clarification
- Confirmation
- Decision
- Scope
What does the ask-user skill do?
Pattern for effectively interacting with users to gather information or get decisions. Use when you need user input.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill ask-user --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
