/open-skills:ask-gatefrom open-skills
Triage handler-facing questions before asking: resolve routine queries directly, escalate high-stakes/branching/irreversible ones through insight-critique then insight-assess first. Trigger via /ask-gate or automatically.
Ships in open-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Ask-Gate (AGP) governs the moment just before a handler-facing question. Asking is cheap to type and expensive to waste — a question the agent could have answered itself is a nag, and a high-stakes question asked with the wrong options or framing burns the one interaction that mattered. AGP makes AskUserQuestion a deliberate, quality-gated reflex instead of a casual reach: triage whether to ask at all, ask routine questions directly after a quick checklist, and escalate the questions that actually matter through /insight-critique then /insight-assess before surfacing them.
AGP is invoked two ways: automatically, as the standard reflex before any AskUserQuestion (it can fire inside COP's surface step, inside NSP's surface step, or standalone); or directly, as /ask-gate to quality-gate a specific pending question.
Structured execution spec:
protocol.yon. Read it for the canonical rules and step sequence; this file is explanation. The two must stay in sync — if you edit one, update the other and refresh the@STAMPdate.
Sensible defaults resolve preferences only within existing authority. They never supply missing consent or a required approval. Reuse exact authorization already granted; do not ask for it again. A question is the handler's to answer if required authorization is missing, or if it cannot otherwise be resolved from the request, the code, or sensible defaults within that authority. If it can be resolved, resolve it, state the choice you made, and do not ask. Asking a resolvable question is the single most common nag failure — this gate exists to kill it. This mirrors COP's step-1 anti-nag triage; if nothing genuinely needs the handler, AGP surfaces nothing.
If a question is warranted, classify it:
When in doubt between the two, treat it as high-stakes — the escalation is cheap relative to a mis-framed expensive decision.
Apply this lightweight question-quality checklist inline, then surface directly:
multiSelect only when choices genuinely aren't.Before using the high-stakes helpers, load their available current owners and check subject fit. For a general question outside the critique owner’s contract, or an unavailable helper, apply the existing question-quality checklist locally and report the skipped method when material; do not reconstruct a missing protocol or claim that it ran. Use the available domain-appropriate assessment, preserving unresolved consent and all existing action gates. This fallback adds no loop or automatic installation.
/insight-critique the candidate questions themselves (not the underlying work): are these the right questions? Are the options mutually exclusive, exhaustive, recommended-first? Is anything still resolvable without the handler?/insight-assess the critique findings: which framing and option set best serves the decision? Produce the refined question set.Both sub-skills run inline under an AG-RESOLVED marker carrying depth: 1 — see Depth & safety.
/insight-critique and /insight-assess can themselves surface questions. When AGP invokes them, it prepends an AG-RESOLVED marker with depth: 1; under that marker they run inline and any question they raise is asked directly after the inline checklist — they never re-enter AGP. The marker is the recursion guard (no harness signal detects this nesting).AGP, Caller Options (COP), and Next Skills (NSP) are the three question/handoff hooks and never conflict:
AGP can fire inside COP's surface step or NSP's surface step: those protocols decide what to ask; AGP decides whether and how to ask it well.
AskUserQuestion. Codex or any runtime without a structured-question tool: present the options + recommendation as a numbered prose list and wait for the reply./ask-gate runs the protocol ad-hoc on a specific pending question — useful to quality-gate a question you've already drafted, or to smoke-test the triage on a borderline "should I even ask this?" case.
Not a session mode and not a router for skills. For venue/mode routing of a skill invocation use caller-options; for successor-skill recommendations use next-skills. AGP uses insight-critique and insight-assess on the high-stakes path — it does not replace them.
Human output. This skill's handler-facing output obeys the human-output contract (
human-output/SKILL.md).
Self-improvement. On completion, run the Self-Improvement Protocol (
self-improve/SKILL.md): apply its signal taxonomy and threshold to this run; surface any surviving proposal for handler approval. Conservative — silent otherwise. Never auto-apply.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub allemaar/open-skills --plugin open-skills93 skills in this plugin
/agent-mailboxTwo or more agents — any harness, any vendor — collaborate through any shared folder: share a folder, load the skill, point at it.
/agent-outputCompact agent-to-agent communication contract for worker reports, handoffs, status, blockers, and review findings. Trigger phrases: "/agent-output", "brief the worker", "make agent reports terse". Not a transport; use /agent-mailbox for delivery.
/ask-meConstructively interview someone about an idea, task, project or decision so useful work can start. Use when explicitly asked to be interviewed, including “ask me”; ordinary task requests do not start this interview.Other plugins' skills for the same job