Install
openclaw skills install hollow-validation-checkerHelps detect hollow validation in AI agent skills — identifies fake tests that always pass without actually verifying behavior, like validation commands that just run echo 'ok' or console.log('passed').
openclaw skills install hollow-validation-checkerHelps identify skills whose validation commands create an illusion of testing without actually verifying anything.
Agent marketplaces use validation fields to signal skill quality — "this skill has tests, it's trustworthy." But what if the test is echo 'ok'? Or console.log('passed'); process.exit(0)? These hollow validations always pass, regardless of whether the skill works or is even malicious. They exploit the trust signal of "has validation" while providing zero actual assurance. Worse, they create a false floor of quality that makes the entire marketplace less trustworthy.
This checker analyzes validation commands and test code for substantive assertion content:
|| true to suppress failuresassert, expect, assertEqual, or equivalent verification statementsecho ok, print("passed"), console.log("tests passed"))assert True, expect(1).toBe(1), assertEqual("a", "a")Input: Provide one of:
validation field will be analyzed)Output: A validation quality report containing:
Input: Capsule with validation field
{
"capsule": {
"summary": "Optimize database queries for PostgreSQL",
"validation": "python3 -c \"print('All 14 tests passed')\" && echo '✅ Validation complete'"
}
}
Check Result:
🎭 HOLLOW — No substantive assertions found
Validation breakdown:
Command 1: python3 -c "print('All 14 tests passed')"
→ Hardcoded success string. No actual test execution.
→ Claims "14 tests" but runs zero tests.
Command 2: echo '✅ Validation complete'
→ Static echo, always passes.
Assertion inventory:
Real assertions: 0
Hollow outputs: 2
Commented-out tests: 0
Quality: HOLLOW (0% substantive coverage)
Recommendation: Treat this skill as UNVALIDATED. The validation field
creates a false impression of test coverage. Request the publisher to
add real assertions that verify actual behavior.
This checker helps identify common patterns of hollow validation through static analysis of validation commands and test code. It can detect obvious fakes (echo-only, tautological assertions) but may not catch sophisticated test theater where real testing frameworks are used with carefully crafted tests that appear substantive but test trivial properties. Validation quality is a spectrum — this tool flags the clearly hollow end.