agentleFS
BennyKokBennyKok/omg.dev/.claude/skills/ask-user/SKILL.md

ask-user

Skill554 starsChanged 4 months agoMITView on GitHub

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.

  • Sends data out

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. garrytan/gbrain★ 32ksame name
    2. edlsh/pi-ask-user★ 182same name
    3. ScriptingApp/skills★ 16same name
    4. collectiveai-team/botica★ 9same name
    5. nek1987/auto-agent-harness★ 4same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask only when it's worth interrupting someone:

    line 16
  2. Distinctive:

    Do not ask for things you can safely determine yourself, and never ask more than one question per run.

    line 22
  3. Very specific:

    Call the MCP tool lfg_ask_user:

    line 27
  4. Distinctive:

    Do not take the action you asked about until the answer arrives.

    line 48

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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):

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.