Install
openclaw skills install agent-qa-gatesOutput validation gates for AI agent systems. Prevents hallucinated data, leaked internal context, wrong formats, duplicate sends, post-compaction drift, and false delegated completions. Use when building or operating an agent that delivers output to humans or external systems. Provides a tiered gate system (internal → user-facing → external → code), protocol gates for recurring failure modes, delegated-work acceptance gates, severity classification, and a feedback loop for gate evolution. Triggers on phrases like "QA gates", "validation", "output quality", "prevent hallucination", "delivery checklist", "agent QA".
openclaw skills install agent-qa-gatesA field-tested validation system for AI agent output. Born from production failures, not theory.
Before any agent delivers output, run the Pre-Ship Checklist:
Four ascending tiers by risk level:
| Gate | Scope | Key Checks |
|---|---|---|
| Gate 0 | Internal (files, config, memory) | Mechanism changed not just text, no placeholders, file exists |
| Gate 1 | Human-facing (briefings, summaries) | Key info in first 2 lines, ≤3-line paragraphs, channel length limits |
| Gate 2 | External (email, public content, client materials) | No internal context leaked, recipient-appropriate tone, dedup check |
| Gate 3 | Code & technical | Builds clean, no secrets in code, error handling, tests pass |
See references/gates-detail.md for full gate checklists.
Not all failures are equal:
Recurring failure modes need dedicated gates. These are the most common:
For any cron or sub-agent that reports external data without orchestrator review:
DATA_UNAVAILABLE — [reason], not fabricated dataFor any non-trivial delegated task (especially builds, audits, config changes, or external deliverables):
Done, Revision Needed, Blocked, Failed, StaleFor delegated work that appears to be running:
StaleStale unless the task explicitly justifies a longer quiet windowIn ProgressGates should evolve based on real failures, not imagination:
This skill provides the pattern. Adapt it:
For the full reference implementation, see references/gates-detail.md.
For automation scripts, see scripts/qa-check.sh.