/agent-validator:validator-helpfrom agent-validator
Diagnoses validator failures from runtime logs, config, and execution state. Helps answer why a validator run failed or what went wrong.
Ships in agent-validator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Evidence-based diagnosis of validator behavior. This skill is diagnosis-only — it explains what happened and why, but does not auto-fix issues. It operates from runtime artifacts and CLI outputs, not source code.
Follow this order for every diagnostic question:
log_dir: Read .validator/config.yml and extract the log_dir field (default: validator_logs). All log paths below are relative to <log_dir>/.<log_dir>/.debug.log — timestamped event log (commands, gate results, state changes, errors)<log_dir>/.execution_state — JSON with last_run_completed_at, branch, commit, working_tree_ref, and unhealthy_adapters (adapter name → {marked_at, reason})<log_dir>/console.*.log — console output per run (highest number = latest)<log_dir>/check_*.log — check gate output<log_dir>/review_*.json — review gate results with violations (file, line, issue, fix, priority, status).validator/config.yml — project configuration| Source | What It Confirms |
|---|---|
.validator/config.yml | log_dir, base_branch, entry_points, cli.default_preference, max_retries, rerun_new_issue_threshold |
<log_dir>/.debug.log | Timestamped event history: commands executed, gate results, state transitions, errors |
<log_dir>/.execution_state | Last successful run timestamp, branch/commit at that time, working tree stash ref, unhealthy adapter cooldowns |
<log_dir>/console.*.log | Human-readable output from each run iteration |
<log_dir>/check_*.log | Raw output from check gate commands (linters, test runners, etc.) |
<log_dir>/review_*.json | Structured review violations with file, line, issue, priority, and resolution status |
<log_dir>/.validator-run.lock | Lock file (contains PID) — present only during active execution |
<log_dir>/.ci-wait-attempts | CI wait attempt counter |
Use these only when passive evidence is insufficient:
| Command | When to Use |
|---|---|
agent-validate list | See configured gates and entry points |
agent-validate health | Check adapter availability and health status |
agent-validate detect | See which files changed and which gates would apply |
agent-validate validate | Validate config.yml syntax and schema |
agent-validate clean | Archive current logs and reset state (destructive — confirm with user first) |
Based on the user's question, load the appropriate reference file for detailed guidance:
| Question Domain | Reference File |
|---|---|
| Missing config, YAML errors, misconfiguration, init problems | references/config-troubleshooting.md |
| Check failures, review failures, no_changes, no_applicable_gates, rerun mode | references/gate-troubleshooting.md |
| Lock conflict, stale locks, parallel runs, cleanup | references/lock-troubleshooting.md |
| Adapter health, missing tools, usage limits, cooldown | references/adapter-troubleshooting.md |
If the question spans multiple domains, load each relevant reference.
Every diagnostic response MUST include these sections:
What happened and why, stated clearly.
Specific files read, field values observed, and command outputs that support the diagnosis. Quote relevant log lines or config values.
One of:
Downgrade confidence when:
.debug.log or .execution_state is missing or emptyActionable recommendations for the user. If confidence is not high, suggest what additional evidence would confirm the diagnosis.
After completing your diagnosis, apply the following routing logic to determine whether to file a GitHub issue:
validator-issue with --auto-file <diagnosis summary> as arguments. This passes the diagnosis summary as the bug description and skips the interactive confirmation — the issue is filed immediately after showing the draft.validator-issue.validator-issue with the diagnosis summary as the bug description. If the user declines, exit without filing.validator-issue.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub codagent-ai/agent-validator --plugin agent-validator8 skills in this plugin
/validator-checkActivates only for explicit checks-only validation requests such as "run validator checks", "checks only", "check without reviews", or validation without AI review. Runs checks without AI reviews./validator-commitActivates only for explicit validator-aware commit requests such as "commit with validator", "run validator then commit", "run checks before commit", or "skip validator and commit". Excludes plain commit requests./validator-issueFiles structured GitHub bug reports for agent-validator when users ask to file, report, or open an issue for a suspected defect/validator-runActivates only for explicit full-validator requests such as "run the validator", "run the gauntlet", "run validation", or validation before commit, push, or PR creation. Includes checks and reviews, and excludes checks-only requests./validator-setupScans the project and configures checks and reviews for Agent Validator for requests such as "set up validator", "configure checks and reviews", or "initialize validator for this repo"./validator-skipAdvances the validator execution state baseline without running checks for requests such as "skip validator", "advance validator baseline", or "mark current tree as validated without running checks".Other plugins' skills for the same job