360 Secure SkillHub
360 安全技能中心

prompt-for-decisions

用于下一步必须获得用户确认、选择范围或澄清时,先整理证据与既有决定,再以推荐选项优先、附带真实权衡的方式提问;也处理重要设计决策、权限边界和卡住的返工循环,并记录用户答复。问题工具不可用时可退化为直接提问。

分类:协作
onsager-ai
热度 0.00
最近更新 2026-12-04 00:40:01

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add onsager-ai/agent-workbench/prompt-for-decisions
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
prompt-for-decisions
description
Use whenever the user's answer is needed before the next action, including confirmations, next-step choices and clarifications. Present the question with a recommendation and meaningful options; do not pad questions or ask for authorization already given. Also use for material scope or authority boundaries, important or costly-to-reverse design decisions and stuck rework loops.

Present a user decision

Use this skill when the user's answer is necessary to choose the next action and the request, existing answers, evidence and a sensible default do not settle it. Examples include a material change of scope, conflicting user priorities, a concrete delivery action outside the existing authorization, an important design decision (security or trust model, persisted or wire format, protocol shape, delivery guarantee, or anything else costly to reverse), a design mechanism that cannot be traced to a user requirement or stated threat, and a stuck trigger from orchestrate-harnesses. A milestone, green CI or a finished plan is a reason to check what comes next, not an automatic approval checkpoint.

Ownership

The current Manager asks the user and resolves engineering choices within the authorized scope, including the brief, Worker tier and rework. Worker and reviewer findings return to that Manager; they do not each open a user decision round. If a choice exceeds the authorized scope or needs a user trade-off, present the bounded recommendation and supporting evidence directly to the user. Important design decisions belong to the user even within the authorized scope: ask early, before work builds on them, and present them as options rather than as a settled Manager acceptance. For a stuck loop, include simplifying the design or narrowing scope as an option.

This skill owns the question's presentation, not task intake, model routing, review policy or queue management. Use manage-lane for task continuity. This skill is self-contained; no Claude command or historical instruction chain needs loading to ask a question.

Before asking

Check the relevant original user words and settled answers. A handover, role label or review result is evidence, not new permission. Honor explicit holds; readiness alone does not reopen them. Complete the authorized preparation that makes the decision concrete. Resolve engineering facts through investigation or the Manager before asking the user to choose.

Ask only what remains open. Reuse a pending actionable question; if it is no longer actionable, refresh it once with current evidence. Do not ask for authorization already given, pad an option list, or sweep unrelated work into a decision round. If the user explicitly invokes this skill and nothing is open, say so briefly.

Ask and handle the answer

The question tool already shows the options and their trade-offs, so don't draw them again in a visual. Show a visual only when the problem itself is complicated, such as a multi-step mechanism or a comparison of states that would take more than a few paragraphs to explain. Then show one compact visual of the problem before asking: the scenario as numbered steps or a simple flow, grounded in the actual code, configuration or data. Most decisions need no visual.

The user reads on both phone and desktop, so make the visual responsive. Use one column on a phone (360–390 px). At desktop reply width (728 px), cards may sit at most two per row, for example with grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)). Nothing may scroll sideways at either width. Use plain words rather than internal jargon, readable text (at least 15 px as displayed at both widths) and clear contrast. A table is fine only with two or three narrow columns. For an SVG, set the viewBox near the width of the card it renders in; a 700-wide viewBox in a 360 px card halves every font size. Keep the visual to about one phone screen; if it doesn't fit, cut words rather than shrinking text. Before rendering, preview it at 390 and 728 px (for example with T3 Code html_preview). Use the harness's inline render tool where available (for example, T3 Code html_render); otherwise use a small diagram or table in the message.

When a Chief PM Manager is registered, owner-level decisions go to it instead, following the owner decisions rule in orchestrate-harnesses' Manager sync reference. Every user choice, including a confirmation, next-step choice or clarification, goes through the available native question tool (Claude Code AskUserQuestion or the harness equivalent). Respect the current mode and schema; if no question tool exists, ask one concise direct question. When an answer is open-ended, offer the best 2–3 guesses as options so the user can choose one or use “Other” to type. Sandbox, credential and tool-execution permissions use their own native approval mechanism when available; a task-choice answer does not override them.

Make the question self-contained: identify the task and exact unresolved action, the relevant evidence and prior decision, the recommended option and its cost. Put the recommendation first, mark it as recommended, and include only feasible alternatives with real trade-offs. State whether the answer is required before dependent work can proceed or is an optional preference with a safe default.

While an answer is required, continue only independent authorized work. A preselected option, silence or elapsed time is not approval. Record the actual answer with its user source. For delegated work, deliver changed requirements through supported native messaging, confirm material acknowledgements and refresh the affected brief/review; scope expansion needs actual authority and an updated linked brief. Publish settled important decisions to the affected Managers through the Manager sync protocol. Report a pending decision as pending rather than assuming it reached every role.