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

Human In The Loop

skill-mmccalla-coding-agent-skill-library-human-in-the-loop · by mmccalla

Use when a coding agent must request approval, expert judgement, clarification, review, or intervention before proceeding with high-risk or ambiguous work.

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

Install

$ agentstack add skill-mmccalla-coding-agent-skill-library-human-in-the-loop

✓ 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-mmccalla-coding-agent-skill-library-human-in-the-loop)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo 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? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Human-in-the-Loop

When to use

Use this skill when automation alone is insufficient because the task is ambiguous, high-impact, irreversible, privacy-sensitive, legally/materially significant, or requires domain judgement.

Objective

Introduce human judgement at the right decision points without slowing safe, reversible work unnecessarily. Approval must use architectural enforcement outside the model (tool dispatcher, policy engine or workflow gate), not prompt-only instructions the agent can ignore.

Procedure

  1. Detect the need for human judgement using confidence, impact, reversibility and policy checks.
  2. Pause execution before the risky action at a gate enforced outside the LLM (dispatcher or policy engine refuses execution until approval clears).
  3. Present a concise decision packet: context, options, recommendation, trade-off, risk and required approval.
  4. Resume only after clear approval or revised instructions recorded by the gate.
  5. Record the decision and rationale in the implementation notes.

Intervention points

Ask for human input before:

  • deleting, overwriting or migrating important data;
  • changing security, authentication, permissions or secrets;
  • making architectural choices with material trade-offs;
  • accepting low-confidence model output;
  • merging code when tests or validation are incomplete;
  • exposing sensitive data to external services.

Decision packet template

Decision required: 
Context: 
Options: A / B / C
Recommendation: 
Main trade-off: 
Risk if wrong: 
Approval needed: 

Guardrails

  • Do not bury approval requests in long prose.
  • Do not ask for approval for trivial reversible steps.
  • Do not proceed on implied approval for destructive or privileged operations.
  • Do not rely on prompt text alone as the approval control; enforce the gate outside the model.
  • Redact secrets and minimise personal data in review packets.

OWASP ASI09 controls

Use skills_docs/security/OWASP_ASI_CROSSWALK.md for the shared risk map. For ASI09 Human-Agent Trust Exploitation, approval requests must include evidence, uncertainty, consequences, alternatives and the exact action being authorised.

Related skills

  • apply-laws-of-ai — escalation aligned with safety laws
  • guardrails-safety-patterns — policy gates before human review
  • agentic-ux-patterns — approval and evidence UI patterns

References

Verification

  • [ ] HITL trigger is explicit.
  • [ ] Options are clear and bounded.
  • [ ] Recommendation and risk are stated.
  • [ ] Approval action is unambiguous.
  • [ ] Decision is recorded.

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.