The harness selects a bounded task
Choose validation, well-formedness, formatting, conversion, or a settings-based batch operation. Supply concrete input, schema, settings, and output paths.
Harness-neutral agent integration
Connect an agent, orchestrator, or automation runner to ValBuddy through a local Windows command contract. The harness chooses the task and files; ValBuddy performs the XML operation and returns evidence the harness can evaluate.
Integration contract
ValBuddy does not require a particular agent product. Any harness that can invoke a local command, pass explicit file paths, and inspect the result can place the same XML checks inside a larger workflow.
Choose validation, well-formedness, formatting, conversion, or a settings-based batch operation. Supply concrete input, schema, settings, and output paths.
The agent invokes a wrapper script or valbuddy.exe on Windows. ValBuddy performs the requested work using installed product capabilities.
Use the process exit status together with diagnostics, logs, and generated files. Do not infer success merely because the command started.
Portable invocation
SKILL.md.$env:VALBUDDY_EXE = "C:\Tools\ValBuddy\valbuddy.exe"
.\scripts\validate-xml.ps1 `
-SchemaPath "D:\Schemas\invoice.xsd" `
-InputFiles "D:\Data\invoice.xml"
if ($LASTEXITCODE -ne 0) {
throw "XML validation failed"
}Harness adapter
The published ValBuddy package follows the Agent Skills folder pattern, but that pattern is an adapter—not the execution engine. Harnesses without native skill discovery can call the same scripts or CLI contract directly.
| Harness responsibility | ValBuddy boundary | Evidence to retain |
|---|---|---|
| Capability discovery | SKILL.md, a tool definition, or project instructions describe the supported task | Selected operation and parameter values |
| Command execution | Local wrapper script or valbuddy.exe on Windows | Command line, working directory, and product version |
| Result interpretation | Exit status plus operation-specific diagnostics or logs | Process status, findings, and generated output paths |
| Follow-up action | The harness decides whether to stop, repair, retry, or continue | Validation rerun and final disposition |
Safety boundaries