agent-output-validator

Validates parallel AI agent outputs against contracts for paths, content and schema compliance.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/TECHKNOWMAD-LABS/cortex-research-suite --skill agent-output-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-output-validator
Source: https://github.com/TECHKNOWMAD-LABS/cortex-research-suite/tree/main/skills/agent-output-validator
Command: npx skills add https://github.com/TECHKNOWMAD-LABS/cortex-research-suite --skill agent-output-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill prevents silent failures by automatically verifying that parallel agents produce outputs matching predefined contracts, ensuring correct file paths, content, and schema compliance.

Core Features & Use Cases

  • Contract-Based Validation: Define expected files, their sizes, content patterns, and syntax (Python, JSON, YAML).
  • Parallel Agent Output Verification: Crucial after running multiple agents simultaneously to catch errors early.
  • Use Case: After dispatching agents to generate code and documentation, use this skill to confirm that the Python scripts are syntactically correct and the documentation files exist with the expected headers.

Quick Start

Use the agent-output-validator skill to validate the outputs against the contract defined in 'contract.json'.

Frequently Asked Questions about agent-output-validator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate agent outputs against a predefined schema contract?

Output validation checks file paths, content requirements, and schema compliance against a defined contract. It verifies generated Python, JSON, and YAML files to ensure parallel agents produce deterministic, syntactically correct outputs matching expected specifications.

Why do my parallel agents write to the wrong file paths?

Parallel agents writing to wrong paths causes silent execution failures. Schema validation automatically verifies expected file paths and content patterns after dispatch, catching these errors early to ensure reliable agent execution.

How do I check if generated Python scripts and JSON files meet content requirements?

You can validate generated Python scripts and JSON files by checking them against a contract.json file. This verifies syntactical correctness, expected file sizes, and required content headers automatically using standard Python libraries.

Can I validate parallel agent outputs without installing external dependencies?

Yes, schema compliance validation requires no external dependencies beyond standard Python libraries for file operations and syntax checking. It runs natively to verify outputs after multiple agents complete their dispatch tasks.

What is the best way to prevent silent failures when dispatching multiple agents?

Defining strict output contracts prevents silent failures during parallel agent dispatches. By automatically verifying file paths, sizes, and syntax compliance, you catch generation errors early and ensure deterministic execution across all agents.

When should I run schema compliance checks on agent generated files?

Run schema compliance checks immediately after agent completion or when wrong path errors occur. This validates that parallel dispatches produced the expected files with correct syntax and content patterns before downstream processing.