CtrlK
BlogDocsLog inGet started
Tessl Logo

agui-dotnet-human-in-the-loop

Pause an AG-UI agent run for a human, then resume it, with the AG-UI .NET SDK — gate a sensitive tool behind explicit approval, or interrupt a run to collect free-form input from the user before continuing. USE FOR: requiring human approval before a tool executes (ApprovalRequiredAIFunction + ToolApprovalRequestContent/ToolApprovalResponseContent, resume by appending the request + CreateResponse(approved)); pausing a run to ask the user a question and resuming with their answer (InterruptRequestContent / InterruptResponseContent, RunAgentInput.Resume); how a paused run surfaces as RUN_FINISHED outcome=interrupt and how the client detects and answers it. DO NOT USE FOR: tools that run without approval on the server (use agui-dotnet-server-tools) or in the client (use agui-dotnet-client-tools); plain chat (use agui-dotnet-streaming-chat); shared state, generative UI, multimodal, or protobuf.

80

Quality

100%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

100%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A tight, actionable skill body: executable code for both human-in-the-loop patterns, a clear sequenced workflow with a verification checklist, and well-organized sections without verbosity or off-topic explanation.

DimensionReasoningScore

Conciseness

Lean and code-forward; prose only orients the reader to SDK-specific mechanics Claude would not already know (RUN_FINISHED outcome=interrupt, request/response pairing), with no padding or explanation of basic concepts, so every token earns its place.

3 / 3

Actionability

Provides fully executable, copy-paste-ready C# for both the approval and interrupt paths — including tool wrapping, request detection, and resume — with concrete types and method calls rather than pseudocode.

3 / 3

Workflow Clarity

Sequences each flow explicitly (server wrap -> client detect -> decide -> resume) and includes a numbered 'Verify' section with explicit checkpoints covering the destructive-tool case (effect occurs on approval, skipped on rejection).

3 / 3

Progressive Disclosure

A focused single-topic skill with no external bundle files; content is well-organized into clearly signaled sections (Approval, Interrupt, Anti-patterns, Verify) with no nested references, so the single-file structure is appropriate.

3 / 3

Total

12

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, specific description that clearly scopes a niche, names concrete actions and API types, and provides explicit USE FOR / DO NOT USE FOR trigger guidance. It is concise relative to the ground it covers.

DimensionReasoningScore

Specificity

Names multiple concrete actions — 'gate a sensitive tool behind explicit approval', 'interrupt a run to collect free-form input', 'resume ... with their answer' — and cites exact API types (ApprovalRequiredAIFunction, InterruptRequestContent), matching the 'lists multiple specific concrete actions' anchor.

3 / 3

Completeness

Explicitly answers both 'what' (pause/resume runs, gate tools, collect input) and 'when' via clearly labeled 'USE FOR' and 'DO NOT USE FOR' clauses, satisfying the explicit-trigger requirement.

3 / 3

Trigger Term Quality

Covers natural trigger terms a .NET developer would actually say — 'pause', 'resume', 'human approval', 'interrupt', 'human in the loop' — alongside the technical identifiers, giving good coverage of natural phrasings.

3 / 3

Distinctiveness Conflict Risk

A clear niche (human-in-the-loop gating/interrupts) with an explicit 'DO NOT USE FOR' clause redirecting server-tools, client-tools, streaming-chat, and other concerns to sibling skills, making conflicts unlikely.

3 / 3

Total

12

/

12

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
ag-ui-protocol/ag-ui
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.