Skip to content
Back to skills

Ask User

ASecurity

Ask the human a question without blocking. Use when a decision genuinely needs the user's call (irreversible actions, ambiguous intent, competing trade-offs, anything risky) and you cannot reasonably decide alone. Raises a push notification; the answer is pushed back into your session as a new user message whenever the user replies.

  • 560 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 15, 2026
developmentbashapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add BennyKok/omg.dev --skill ask-user --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ask User?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ask User
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bennykok-ask-user/badge)](https://www.skillsdirectory.com/skills/bennykok-ask-user)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ask-user
description: Ask the human a question without blocking. Use when a decision genuinely needs the user's call (irreversible actions, ambiguous intent, competing trade-offs, anything risky) and you cannot reasonably decide alone. Raises a push notification; the answer is pushed back into your session as a new user message whenever the user replies.
---

# Asking the user (human-in-the-loop)

You run headless, but some calls are not yours to make. When you hit one, ask
the human instead of guessing. Asking is **fire-and-forget**: you send the
question, get an id back immediately, and carry on (or end your turn). There is
no waiting, no polling, no timeout — the user may answer hours later, and their
reply is injected into your session as a new user message.

## When to ask

Ask only when it's worth interrupting someone:

- Irreversible or risky actions (deploying, deleting, force-pushing, spending).
- Genuinely ambiguous intent where the wrong guess wastes real work.
- A judgement call between trade-offs only the user can weigh.

Do **not** ask for things you can safely determine yourself, and never ask more
than one question per run. Silence is still the default — most runs ask nothing.

## How to ask

Call the MCP tool `lfg_ask_user`:

- `question` — plain concise prose. Lead with the decision in one sentence;
  at most a couple of short context lines after. **No markdown headings, no
  walls of text** — this renders on a small card.
- `options` — optional short one-tap suggestions (the user may still type
  free text, so handle any answer).
- `sessionId` / `user` — usually omit; they default to your session and its
  assigned user.

Fallback without MCP (rare):

```bash
curl -s -X POST http://localhost:8766/api/ask \
  -H 'Content-Type: application/json' \
  -d '{"question":"…","options":["…"],"sessionId":"<your session id>","pushback":true,"wait":false}'
```

## After asking

- **Do not block, poll, or sleep.** Continue other safe work or end your turn.
- Do **not** take the action you asked about until the answer arrives.
- The answer arrives as a user message starting with `[ask-user answer <id>]`.
  It is the user's decision in their own words — honour it even when it differs
  from your recommendation.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.