human-in-the-loop-design
Design the human approval surface for an agent system — which actions gate, how approvals batch without becoming rubber stamps, and what the audit t…
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Human-in-the-Loop Design Skill
The failure mode of agent oversight isn't too little review — it's review that decays into a rubber stamp. Forty approval prompts a day trains the human to click yes; then the one that mattered goes through with the rest. This skill designs the loop so human attention lands exactly where it changes the outcome, and nowhere else.
What This Skill Produces
- An action-tier policy: every agent action classified auto / notify / approve / forbidden
- An approval UX spec: what the human sees, batching rules, and the anti-rubber-stamp mechanics
- Escalation & fallback rules: timeouts, absent approvers, disagreement
- Audit-trail requirements: what gets recorded so any decision is reconstructable
Required Inputs
Ask for (if not already provided):
- The agent and its action inventory — everything it can do (from its tool list, not its marketing)
- Blast radius per action: reversible? outward-facing? money/data/permissions involved?
- Volume estimates: how many times per day each action fires (approval load is a design constraint, not an afterthought)
- Who approves — role, how many people, what else competes for their attention
Design Method
- Tier every action by consequence, not by feel. Two axes decide the tier: reversibility (undo in one step ↔ irreversible) and reach (internal draft ↔ external/financial/permanent). Then:
- Auto — reversible + internal (drafts, reads, internal scratch writes). Log only.
- Notify — reversible + modest reach (filed a ticket, updated a record). Do it, tell the human, easy undo.
- Approve — hard to reverse OR outward-facing (send, publish, pay, delete, grant). Blocks until a human decides.
- Forbidden — irreversible + high reach where the org has decided no automation belongs (auth changes, legal commitments). Not gated — absent from the toolset.
- Budget the approvals. Multiply approve-tier actions by daily volume. If the number exceeds ~10-15 meaningful decisions per approver per day, the design is broken before launch: move volume down-tier by adding reversibility (drafts, holds, delayed sends) rather than by lowering the bar.
- Design the approval moment against rubber-stamping.
- Show the decision, not the transcript: what will happen, to whom, why the agent believes it's right, and what's unusual about this one.
- Surface anomaly, hide routine: same-as-last-50 approvals batch into one digest; the outlier renders differently and alone.
- Require typed engagement for the highest stakes (type the amount, name the recipient) — friction proportional to consequence.
- Track approval latency and edit rate per approver: 100% instant approvals is a broken loop, not a good agent — say so in the metrics section.
- Write the escalation rules. Approver silent for [X]: action expires safely (never auto-proceeds). Approver rejects: agent gets the reason as context, may revise once, then stops. Two approvers disagree: named tiebreaker. After-hours urgent: the on-call path, or an honest "waits until morning".
- Spec the audit trail. Per gated action: what the agent proposed (verbatim), the evidence it showed, who decided, what shipped (diff vs proposal), timestamps. The reconstruction test: six months later, "why did this go out?" is answerable from the trail alone.
- Plan the tier reviews. Tiers loosen with evidence, not with comfort: an action moves down a tier after [N] consecutive approvals with zero edits and a human review of a sample. Tightening is immediate on any incident.
Output Format
HITL Design: [agent system]
Action-tier policy
| Action | Reversibility | Reach | Tier | Volume/day | Notes |
|---|---|---|---|---|---|
Approval load: [decisions/day/approver at launch — and the redesign applied if it exceeded budget]
The approval moment: [what renders; batching rules; anomaly surfacing; typed-engagement thresholds]
Escalation: [timeout → outcome · rejection → protocol · disagreement → tiebreaker · after-hours → path]
Audit trail: [fields recorded; retention; who can query]
Tier evolution: [down-tier evidence bar · instant up-tier triggers · review cadence]
Health metrics: [approval latency, edit rate, override rate — with the "100% instant approvals means the loop is dead" alarm]
Quality Checks
- [ ] Every action in the agent's toolset appears in the tier table — none defaulted silently
- [ ] The approval budget is computed, and the launch design fits inside it
- [ ] Timeout behaviour is safe-by-default (expire, never auto-proceed)
- [ ] The forbidden tier removes capabilities from the toolset rather than gating them
- [ ] Health metrics detect rubber-stamping, not just agent errors
Anti-Patterns
- [ ] Do not gate everything — undifferentiated approval load is how the important one slips through
- [ ] Do not show raw transcripts as the approval artifact — humans approve decisions, not logs
- [ ] Do not let unanswered approvals auto-proceed on timeout "to keep things moving"
- [ ] Do not loosen tiers on gut feel — the down-tier bar is written evidence, the up-tier trigger is any incident
- [ ] Do not measure only agent mistakes — an approver who edits nothing for a month is the riskier signal
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
skills/human-in-the-loop-design/SKILL.md同一个仓库里的其他技能
同名技能的其他版本
有 3 个不同仓库或目录里都有叫 human-in-the-loop-design 的技能。它们内容并不相同,别混用:
- mohitagw15856/pm-claude-skills — Design the human approval surface for an agent system — which actions gate, how approvals
- mohitagw15856/pm-claude-skills — Design the human approval surface for an agent system — which actions gate, how approvals