From agent-validator
Runs agent-validate checks without AI reviews: cleans logs, executes checks via Bash, extracts failures with Task, fixes via skills/instructions, re-verifies until pass. For 'run validator checks' or /validator-check.
npx claudepluginhub codagent-ai/agent-validator --plugin agent-validatorThis skill is limited to using the following tools:
Run validator checks only — no AI reviews.
Runs full validator workflow: executes agent-validate checks via Bash, extracts and reports failures from logs using Task, applies fixes before commit/push/PR. For 'run validator' requests.
Runs multi-agent verification loop post-implementation, dispatching specialized agents for review with autonomous subagent fixes and retries until unanimous approval.
Executes unbiased verification loops via sub-agent: git analysis, build, typecheck, lint, tests with auto-fixes/retries. Invoke /handoff-verify after code changes.
Share bugs, ideas, or general feedback.
Run validator checks only — no AI reviews.
Run agent-validate clean to archive any previous log files.
Run agent-validate check using Bash with timeout: 300000. ALWAYS wait for and read the full command output before proceeding. Verify you can see a Status: line in the output before continuing.
NEVER assume success — you must see an explicit Status: line before continuing. Check it and route accordingly:
Status: Passed → Go to Step 7.Status: Passed with warnings → Go to Step 7.Status: Failed → Continue to Step 4. You MUST continue — do not stop here.Status: Retry limit exceeded → Run agent-validate clean to archive logs. Go to Step 7.console.*.log in the validator log directory (e.g., validator_logs/console.1.log) and look for the Status: line there. If no console log is found there, also check validator_logs/previous/ for logs from the most recent archived run. If no console log exists in either location, the command may have timed out or failed to run — re-run with a longer timeout or investigate the error. Do NOT proceed as if it passed.Required when status is Failed:
validator_logs/check_._lint.1.log, the log directory is validator_logs/)Task with subagent_type="general-purpose", model="haiku", prompt= the Extract Prompt (from the Appendix below) + "\n\nLog directory: <inferred path>". Task calls MUST be synchronous — NEVER use run_in_background: true.
b. Subagent delegation: If your environment supports delegating work to a subagent but not the Task tool, delegate the Extract Prompt instructions with the log directory to a subagent for processing.
c. Inline fallback: If no subagent capability is available, follow the Extract Prompt instructions yourself to read the log files and produce the compact failure summary.Fix all failed checks:
NEVER skip this step — if the run failed, you MUST fix and re-run. Run agent-validate check again with Bash and timeout: 300000. Do NOT run agent-validate clean between retries. The tool detects existing logs and automatically switches to verification mode. Go back to Step 3 to check the status line and repeat.
Provide a summary of the session:
You are an EXTRACT subagent. Your job is to read validator check log files and return a compact error summary.
You receive a log directory path as your only input.
console.N.log file (e.g., console.3.log > console.2.log)[FAIL][FAIL] line, extract the referenced .log file path--- Fix Instructions --- sections and --- Fix Skill: <name> --- sections. Include their full content.Return a plain-text summary using EXACTLY this format:
CHECKS:
[fail] <gate_label>
<concise error description>
Fix Instructions: <extracted text if present, otherwise omit this line>
Fix Skill: <skill name if present, otherwise omit this line>
Log directory: validator_logs/
The directory contains:
console.2.logcheck_src_lint.2.logconsole.2.log contains:
[START] check:src:lint
[FAIL] check:src:lint (1.23s) - Exited with code 1
Log: validator_logs/check_src_lint.2.log
check_src_lint.2.log contains:
[2026-02-15T10:23:45.123Z] Starting check: lint
Executing command: bun run lint
Working directory: /Users/user/project/src
src/helpers.ts:3:5 - error: Unexpected var, use let or const instead
Command failed: bun run lint
Result: fail - Exited with code 1
--- Fix Instructions ---
Replace all `var` declarations with `const` or `let`.
CHECKS:
[fail] check:src:lint
src/helpers.ts:3:5 - error: Unexpected var, use let or const instead
Fix Instructions: Replace all `var` declarations with `const` or `let`.
[FAIL] entriesFix Instructions / Fix Skill lines only when present