Draft Agent Loop
Enforce a Human-in-the-Right-Loop (HITRL) lifecycle for remote agents. Use this skill when the user wants structured oversight over an agent task: plan appro...
Rank
62
Safety
84
Downloads
978
Updated
Oct 11, 2026
Version
1.6.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 978 downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 978 downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.6.0release · observed Apr 21, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.6.0release
**Dependency change for compatibility and consolidation.** - Replaced `draft-headless-pages` dependency with the canonical `draft-cli` dependency. - Updated skill description and instructions to reference `draft-cli` throughout. - Adjusted setup and recovery instructions to match `draft-cli` usage and conventions. - No changes to overall workflow logic or HITRL phases.
Observed Apr 21, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s1792my6kfgvzgtqavh11j5h0h83grgt:draft-agent-loop- Install using `clawhub skill install s1792my6kfgvzgtqavh11j5h0h83grgt:draft-agent-loop` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/toliuweijing/draft-agent-loop before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-toliuweijing-draft-agent-loop/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
92,833 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: draft-agent-loop
version: "1.6.0"
description: >
Enforce a Human-in-the-Right-Loop (HITRL) lifecycle for remote agents.
Use this skill when the user wants structured oversight over an agent task: plan approval before execution, evidence-logged execution, and result sign-off before closure.
Trigger phrases: "work on this with my oversight", "check with me before you start", "use HITRL for this", "I want to review your plan first", "use draft-agent-loop".
DO NOT use for tasks where the user simply asks to do something without requesting approval gates. Use draft-cli for raw Draft commands.
This skill depends on the canonical draft-cli skill. It assumes headless page workflows under `draft ... --runtime v2`, which fit remote OpenClaw-style isolated environments.
metadata:
clawdis:
emoji: "🔄"
dependencies:
- name: "toliuweijing/draft-cli"
type: "other"
url: "https://clawhub.ai/toliuweijing/draft-cli"
requires:
bins:
- "draft"
install:
- id: "npm"
kind: "node"
package: "@innosage/draft-cli"
bins:
- "draft"
label: "Install draft-cli (npm)"
envVars:
- name: "GLOBAL_INVITE_CODE"
required: false
description: "The invite code used to publish Draft pages safely. Defaults to `innosage` during the free beta publish flow."
---
# Draft Agent Loop Skill (HITRL)
Use this skill to implement a rigorous human-agent collaboration loop. This is the "Human-in-the-Right-Loop" (HITRL) method, designed to eliminate "blind box" agent outcomes by forcing plan approval and result verification.
> **Scope**: This skill orchestrates remote agent workflows using the `draft` CLI. All persistence is through Draft pages (via the canonical `draft-cli` dependency). It does not write to local disk or agent memory.
## Trigger Guidance
Trigger this skill when:
- "Work on this task and check with me before and after."
- "I want to review your plan first before you do anything."
- "Use HITRL / use draft-agent-loop for this."
- "Apply structured oversight to this task."
- New task received where the user's intent is high-stakes or complex enough to warrant human gates.
- A new iteration is requested after a Phase 3 sign-off.
Do NOT trigger this skill when:
- The user asks to do a task directly with no mention of approval or review gates.
- The user only asks about raw Draft commands or page automation without approval gates (use `draft-cli`).
- The user wants a local-file authoring workflow (authorship in local markdown).
## Core Rules
- **Source of Truth**: The "Task Journal" Draft page. All plans, logs, and results live there.
- **Environment**: Always use headless page mode through `draft ... --runtime v2`.
- **Runtime dependency**: Follow the startup and page-operation rules from `draft-cli`.
- **Handoff Mode**: **Blocking**. STOP and wait for human approval/sign-off in the chat before proceeding to the next phase.
- **No Sensiti_meta.json
{
"ownerId": "kn756a13aw1mqmzdr452d1z6xx82qdga",
"slug": "draft-agent-loop",
"version": "1.6.0",
"publishedAt": 1776754669549
}skill-card.md
## Description: Enforces a Human-in-the-Right-Loop lifecycle for remote agent tasks with plan approval, evidence-logged execution, and result sign-off gates. This skill is ready for commercial/non-commercial use. ## Publisher: [toliuweijing](https://clawhub.ai/user/toliuweijing) ### License/Terms of Use: MIT-0 ## Use Case: Developers and agent operators use this skill when they need structured human oversight for remote agent work, including approval before execution and explicit sign-off before task closure. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Task journals are persisted in Draft pages and may be published for review. Mitigation: Avoid including secrets, tokens, sensitive personal data, or raw command output in plans, logs, and result summaries. Risk: The skill depends on an external, unpinned draft-cli installation. Mitigation: Use a pinned or otherwise verified draft-cli dependency in higher-risk environments. Risk: Approval gates can be bypassed if the agent proceeds without explicit chat confirmation. Mitigation: Require approval and sign-off phrases in chat before moving between planning, execution, and closure phases. ## Reference(s): - [Draft Agent Loop on ClawHub](https://clawhub.ai/toliuweijing/skills/draft-agent-loop) - [draft-cli dependency on ClawHub](https://clawhub.ai/toliuweijing/draft-cli) ## Skill Output: **Output Type(s):** [Text, Markdown, Shell commands, Configuration, Guidance] **Output Format:** [Markdown guidance with inline shell commands and task-journal templates] **Output Parameters:** [1D] **Other Properties Related to Output:** [Requires the draft CLI and may use GLOBAL_INVITE_CODE for publishing Draft pages.] ## Skill Version(s): 1.6.0 (source: release evidence and skill frontmatter) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/toliuweijing/skills/draft-agent-loop",
"sourceUrl": "https://clawhub.ai/toliuweijing/skills/draft-agent-loop",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T23:17:56.656Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-toliuweijing-draft-agent-loop/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-toliuweijing-draft-agent-loop/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T23:17:56.656Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "978 downloads",
"href": "https://clawhub.ai/toliuweijing/draft-agent-loop",
"sourceUrl": "https://clawhub.ai/toliuweijing/draft-agent-loop",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T23:17:56.656Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.6.0",
"href": "https://clawhub.ai/toliuweijing/draft-agent-loop",
"sourceUrl": "https://clawhub.ai/toliuweijing/draft-agent-loop",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-21T06:57:49.549Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-toliuweijing-draft-agent-loop/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-toliuweijing-draft-agent-loop/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.6.0",
"description": "**Dependency change for compatibility and consolidation.** - Replaced `draft-headless-pages` dependency with the canonical `draft-cli` dependency. - Updated skill description and instructions to reference `draft-cli` throughout. - Adjusted setup and recovery instructions to match `draft-cli` usage and conventions. - No changes to overall workflow logic or HITRL phases.",
"href": "https://clawhub.ai/toliuweijing/draft-agent-loop",
"sourceUrl": "https://clawhub.ai/toliuweijing/draft-agent-loop",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-21T06:57:49.549Z",
"isPublic": true
}
]
}Record generated Oct 12, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-toliuweijing-draft-agent-loop/run-check
