AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Human In The Loop Designer

skill-patonkikh-apes-human-in-the-loop-designer · by patonkikh

>

No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add skill-patonkikh-apes-human-in-the-loop-designer

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-patonkikh-apes-human-in-the-loop-designer)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Human In The Loop Designer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Human-in-the-Loop Designer

Purpose

Design human-in-the-loop (HITL) workflows: when humans intervene, how work is queued, and how feedback improves the AI system over time.

Input: AI use case, risk level, automation target, team roles, SLA requirements Output: HITL Workflow Specification with triggers, queues, UI/API hooks, and metrics Examples: See [examples.md](examples.md) for worked input/output.


Workflow

Step 1: Assess automation boundary

| Risk tier | Examples | Default HITL | |-----------|----------|--------------| | Low | Draft text, suggestions | Optional spot-check | | Medium | Customer replies, code suggestions | Sample review 5–10% | | High | Medical, legal, financial decisions | Mandatory approval | | Critical | Irreversible actions (payments, deletes) | Dual approval |

Document what the AI may do autonomously vs what requires human gate.

Step 2: Define escalation triggers

| Trigger type | Signal | Example | |--------------|--------|---------| | Confidence | Model score 3% thumbs-down/hour |

Each trigger maps to queue priority and assignee role.

Step 3: Design review queue

| Field | Purpose | |-------|---------| | Case ID | Traceability | | AI draft + inputs | Reviewer context | | Confidence + trigger reason | Prioritization | | Suggested action | Approve / edit / reject | | SLA deadline | Ops accountability |

Define states: pendingin_reviewapproved | edited | rejected | escalated.

Step 4: Design reviewer experience

  • Diff view — AI output vs policy template
  • One-click actions — approve, edit-and-send, reject-with-reason
  • Keyboard shortcuts — for high-volume queues
  • Audit trail — who decided what, when

Specify API or UI integration points (webhook, ticket system, Slack).

Step 5: Close the feedback loop

| Reviewer action | System learning | |-----------------|-----------------| | Edit | Store (input, draft, final) as training/eval pair | | Reject + reason | Tag failure mode for eval set | | Approve | Positive signal for monitoring |

Route feedback to ai-evaluation-builder datasets and prompt iteration.

Step 6: Define HITL metrics and SLAs

| Metric | Target | |--------|--------| | Queue wait time p95 | 20% | | Escalation rate | Baseline + alert | | Post-release incident rate | Zero critical after HITL |

Step 7: Validate

Run Validation checklist.


Decision Rules

| Condition | Action | |-----------|--------| | Regulated domain | Mandatory HITL; document in governance pack | | No human reviewers available | Stop; do not deploy high-risk automation | | Override rate > 30% for 7 days | Pause auto-send; run prompt/workflow fix | | Reviewer edits same field repeatedly | Create dedicated rule or fine-tune | | Latency SLA conflicts with HITL | Async path + user expectation messaging |


Validation

  • [ ] Risk tier and automation boundary documented
  • [ ] ≥3 escalation triggers with thresholds
  • [ ] Queue schema and state machine defined
  • [ ] Reviewer actions and audit trail specified
  • [ ] Feedback loop connected to eval/improvement
  • [ ] SLAs per risk tier with alert thresholds
  • [ ] User-facing messaging for pending human review
  • [ ] Rollback path if HITL system fails

Anti-patterns

  • HITL theater — queue exists but reviewers always click approve.
  • No feedback capture — human edits discarded; system never improves.
  • Unbounded queue — no SLA; users wait indefinitely.
  • Reviewer without context — AI draft shown without inputs or policy.
  • Same gate for all risk levels — over-reviewing low-risk kills throughput.

Best Practices

  • Start with shadow mode: AI drafts, human sends, before any automation.
  • Sample-review low-risk paths; full gate only where regulation requires.
  • Instrument override reasons as structured tags, not free text only.
  • Pair with guardrails-builder for automated pre-queue filtering.
  • Reconcile HITL metrics weekly with product and safety owners.

Output Structure

# HITL Workflow: [System Name]

## Risk Assessment
| Tier | Autonomous scope | Human gate |
|------|------------------|------------|

## Escalation Triggers
| Trigger | Threshold | Queue | Priority |
|---------|-----------|-------|----------|

## Queue Specification
[State machine + fields]

## Reviewer UX
[Actions, integrations]

## Feedback Loop
| Action | Destination |
|--------|-------------|

## SLAs & Metrics
| Metric | Target | Alert |
|--------|--------|-------|

## Rollout Plan
[Shadow → partial → full automation]

Next Skills

| Outcome | Recommended Skill | |---------|-------------------| | Build evaluation from overrides | ai/ai-evaluation-builder | | Pre-filter before queue | security/guardrails-builder | | Governance documentation | security/ai-governance-advisor | | Orchestrate async workflow | ai/ai-workflow-builder | | Threat model human bypass | security/ai-threat-modeling |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.