Agent skill

ask-user

Pattern for effectively interacting with users to gather information or get decisions. Use when you need user input.

majiayu000github.com/majiayu000GitHub ↗
claude-coderead-onlyMIT
Install
npx skills add majiayu000/claude-skill-registry --skill ask-user --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Allowed tools: AskUserQuestion
Path: skills/agent/ask-user/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. When to Load This Skill
  2. Principles
  3. 1. Be Specific, Not Open-Ended
  4. 2. Offer Options When Possible
  5. 3. Provide Context
  6. 4. Batch Related Questions
  7. When to Ask vs Decide
  8. ASK when:
  9. DECIDE when:
  10. Question Types
  11. Clarification
  12. Confirmation
  13. Decision
  14. Scope
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going