Xpersona
A

Agent QA Gates

CLAWHUB · Unverified

Output validation gates for AI agent systems. Prevents hallucinated data, leaked internal context, wrong formats, duplicate sends, post-compaction drift, and... Skill: Agent QA Gates Owner: zurbrick Summary: Output validation gates for AI agent systems. Prevents hallucinated data, leaked internal context, wrong formats, duplicate sends, post-compaction drift, and... Tags: latest:1.2.0 Version history: v1.2.0 | 2026-03-28T19:44:39.005Z | user Add delegated-work acceptance gates, empty-success rejection, and stale-task classification for non-trivial delegated work v1.1.0 | 202

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K 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

Install and run

Setup complexity: low.

clawhub skill install s17644fr465554b2j12pdyaxrh83ekff:agent-qa-gates
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-zurbrick-agent-qa-gates/snapshot"

Run-check

$0.02 USD

1 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

37,109 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: agent-qa-gates
version: 1.2.0
description: Output 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".
---

# Agent QA Gates

A field-tested validation system for AI agent output. Born from production failures, not theory.

## Quick Start

Before any agent delivers output, run the **Pre-Ship Checklist**:

1. **Accurate?** — every number/date/metric has a source. Unsourced → prefix "estimated"
2. **Complete?** — no missing pieces, no "I'll do that next"
3. **Actionable?** — ends with clear next step or decision point
4. **Fits the channel?** — check character limits for your delivery surface
5. **No leaks?** — no internal context, private data, or secrets
6. **Not a duplicate?** — verify no recent identical send
7. **Would the human be embarrassed?** — if yes, don't ship

## Gate Tiers

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.

## Severity Classification

Not all failures are equal:

- 🔴 **BLOCK** — cannot ship (secrets, privacy, hallucinated data, wrong recipient)
- 🟡 **FIX** — fix before shipping, <2 min (formatting, too long, missing citation)
- 🟢 **NOTE** — log and ship (style preference, minor optimization)

## Protocol Gates

Recurring failure modes need dedicated gates. These are the most common:

### Heartbeat / Periodic Check Output
- Binary output: alert text ONLY or status-OK ONLY. Never mixed.
- Every data point verified by current-session tool call. No hallucinated metrics.
- No stale data from previous cycles or pre-compaction sessions.

### Post-Compaction / Context Reset
- Do not trust facts from the pre-reset session — verify from files and tools.
- Rerun pending checks from scratch.
- Zero carryover for periodic checks.

### Scheduled Job / Cron Changes
- Explicit timeout set
- Explicit model set
- Verify schedule after creation
- Output fits destination channel limits

### Sub-Agent Output Review
- Doe

_meta.json

{
  "ownerId": "kn7djv795e64dqrtm8trp0wmnx822a1d",
  "slug": "agent-qa-gates",
  "version": "1.2.0",
  "publishedAt": 1774727079005
}

references/gates-detail.md

# Gate Detail Reference

Full checklists for each gate tier. Load this file when you need the complete criteria.

---

## Gate 0: Verify & Commit

Before reporting any change as "done":

- ✅ Did the **mechanism** change, or just the **text**?
- ✅ Can you **observe** the new behavior? (test output, verify config loaded, check logs)
- ✅ File exists and is non-empty
- ✅ No placeholder text — grep for `TODO`, `PLACEHOLDER`, `TBD`, `Lorem ipsum`
- ✅ Correct file path and format
- ✅ If config/schedule change: all required fields verified after creation

**Rule:** Text changes ≠ behavior changes. "Done" means tested and working.

---

## Gate 1: Human-Facing

Briefings, summaries, task updates, dashboards.

- ✅ Gate 0 checks pass
- ✅ Key finding or recommendation in the first 2 lines
- ✅ No paragraph exceeds 3 lines
- ✅ No sentence that could be deleted without losing information
- ✅ Structured — headers, bullets, or clear flow (not walls of text)
- ✅ Facts verified against source — no hallucinated stats
- ✅ Channel length check enforced for delivery surface

### Common Channel Limits

| Surface | Limit | Action if over |
|---------|-------|---------------|
| Telegram | 4,096 chars | Split into multiple messages |
| Discord | 2,000 chars | Split or summarize |
| Slack | 40,000 chars | Rarely an issue |
| Email | No hard limit | Keep under 500 words preferred |
| SMS | 160 chars | Extreme compression |

---

## Gate 2: External

### Email
- ✅ Gate 1 checks pass
- ✅ BCC or CC rules applied per org policy
- ✅ Sent-folder dedup check before sending (no duplicate sends in last 24h)
- ✅ Recipient-appropriate tone
- ✅ No internal context leaked (agent names, memory files, system details)
- ✅ Session-channel alignment (don't cross-send between messaging platforms)

### Public Content (social media, articles, blog posts)
- ✅ Matches the human's voice profile
- ✅ No internal context leaked
- ✅ Links verified (not broken, not expired)
- ✅ Proofread for typos, grammar, formatting artifacts

### Client / External Materials
- ✅ No private data unless explicitly requested
- ✅ Professional tone appropriate to audience
- ✅ All references and links verified
- ✅ No secrets or tokens anywhere in output

---

## Gate 3: Code & Technical

- ✅ Gate 0 checks pass
- ✅ Builds without errors
- ✅ No hardcoded secrets, API keys, or tokens
- ✅ No debug logging left in production code
- ✅ Error handling present (not just happy path)
- ✅ Tests exist and pass (for non-trivial logic)
- ✅ Responsive verified (if UI work)
- ✅ Follows existing codebase patterns
- ✅ Committed with descriptive message

---

## Protocol Gates

### Heartbeat / Periodic Output
- ✅ Binary: alert text ONLY or status-OK ONLY. Never both. Never mixed.
- ✅ No conversational framing ("here's what I found...")
- ✅ Every data point verified by tool call in current session
- ✅ No stale data carried forward from previous cycle
- ✅ Duplicate alerts suppressed (only re-alert on state change)
- **Severity:** Treat format vi

skill-card.md

## Description:

Agent QA Gates provides output validation gates for AI agent systems to reduce hallucinated data, leaked internal context, wrong formats, duplicate sends, post-compaction drift, and false delegated completions.

This skill is ready for commercial/non-commercial use.

## Publisher:

[zurbrick](https://clawhub.ai/user/zurbrick)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and operators use this skill to apply tiered QA gates before an agent delivers human-facing, external, technical, or delegated-work output. It helps classify blocking issues, identify fix-before-ship problems, and evolve validation gates from observed failures.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The trigger scope is broad, so the skill may activate in conversations where a narrower QA checklist would be more appropriate.

Mitigation: Narrow trigger phrases or invocation rules to the specific delivery surfaces and agent workflows where these gates are required.

Risk: The helper script prints terminal output and scanner findings directly, which can expose sensitive text if run on untrusted files.

Mitigation: Review inputs before running the script and sanitize or suppress command output when checking untrusted files or artifacts.

Risk: The skill is a lightweight QA aid rather than a complete automated safety system.

Mitigation: Use it as a review gate alongside human review, source verification, and deployment-specific security controls.

## Reference(s):

- [Gate Detail Reference](artifact/references/gates-detail.md)
- [QA Check Script](artifact/scripts/qa-check.sh)
- [ClawHub Skill Page](https://clawhub.ai/zurbrick/skills/agent-qa-gates)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, guidance]

**Output Format:** [Markdown guidance with optional shell command output]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Includes gate tiers, protocol checklists, severity classifications, and optional local QA script output.]

## Skill Version(s):

1.2.0 (source: SKILL.md frontmatter and server release metadata)

## 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.

Sponsored

Ads related to Agent QA Gates and adjacent AI workflows.