Validator Agent for Openclaw

An automated 8-round validation pipeline for TypeScript and Solidity projects that ensures code quality before publishing or deployment.

up2itnow
v1.1.0
Feb 25, 2026
0
1.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install validator-agent

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install validator-agent using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Validator Agent?

The Validator Agent is a comprehensive quality assurance tool designed for modern development workflows. As a core part of the Openclaw Skills ecosystem, it executes a rigorous 8-round check sequence to catch critical issues that manual reviews often miss. From blocking compile gates to security audits and changelog verification, this skill provides a standardized framework for maintaining high-integrity codebases in both web development and blockchain environments.

Originally developed to validate mission-critical SDKs, the Validator Agent acts as a read-only guardian of your project. It synthesizes complex technical checks—including type coverage, linting, and regression testing—into a single actionable report. By integrating this skill into your agentic workflow, you ensure that every publish or merge meets the highest professional standards without manual overhead.

Validator Agent Use Cases

  • Perform a full 8-round validation sequence before executing npm publish or smart contract deployment.
  • Use as a mandatory quality gate for pull requests to identify regressions early in the lifecycle.
  • Verify project integrity and type safety immediately after updating major dependencies.
  • Audit Solidity projects for security vulnerabilities and forge-specific build requirements.

How Validator Agent Works

  1. Round 0 (Compile Gate): Executes a blocking check using tsc or forge build; if compilation fails, the entire process stops immediately.
  2. Round 1 & 2 (Lint & Test): Analyzes code style and runs the full test suite, comparing results against historical baselines to prevent performance or logic regressions.
  3. Round 3 & 4 (Security & Types): Performs a security audit for critical vulnerabilities and measures type coverage percentage, flagging any results below target thresholds.
  4. Round 5 & 6 (Docs & Changelog): Verifies that README.md and CHANGELOG.md accurately reflect the current versioning and exported functionality.
  5. Round 7 (Final Review): Aggregates all data into a timestamped Markdown report with a final verdict of PASS, WARN, or BLOCK.

Validator Agent Setup

To utilize the Validator Agent within your environment, ensure you have the Openclaw Skills framework installed and your project initialized with either a package.json or foundry.toml. Trigger the full pipeline using the following command:

# Run the full validation suite
Run the Validator Agent on [your-project-path]

For targeted debugging, you can run individual rounds:

# Run only the compile gate
Run Validator Agent round 0 on [your-project-path]

Validator Agent Data Schema & Taxonomy

The Validator Agent generates structured reports and references existing metadata to ensure project consistency. All results are persisted for audit trails.

Component Source/Destination Description
Validation Report ops/reports/validator-*.md A detailed Markdown summary of all 8 rounds with a final recommendation.
Test Baselines ops/test-baselines.md A reference file used to compare current test passing rates against previous benchmarks.
Project Config package.json / foundry.toml Automatically detected to determine if the project is TypeScript or Solidity based.
Vulnerability Log Round 3 Output Captured audit logs from npm audit or Slither/Forge security tools.

Validator Agent Advanced Features

  • Auto-detection of project types to switch between TypeScript/Node and Solidity/Forge validation logic.
  • Blocking Compile Gate (Round 0) that prevents resource waste by stopping faulty builds early.
  • Automated regression detection by comparing test suite metrics against saved baselines.
  • Security audit integration that differentiates between transitive warnings and high-severity blocking vulnerabilities.
  • Granular round control allowing developers to isolate specific parts of the validation pipeline during active development.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*