Skip to content
Agentmart
Submit a tool

validator-help

Diagnoses and explains validator behavior from runtime evidence for requests such as "why did validator fail", "explain validator behavior", "diagnose…

Skill by Codagent-AI

IndexedMIT★ 30
Write a review

Chalk Labs

Need help deploying validator-help?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/codagent-ai-validator-help

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Diagnoses and explains validator behavior from runtime evidence for requests such as "why did validator fail", "explain validator behavior", "diagnose validator logs", or "what went wrong in the validator run".

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/validator-help

Tools it pre-approves 4

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash,
  • Read,
  • Glob,
  • Grep

What's inside

Skill name
validator-help
Description
Diagnoses and explains validator behavior from runtime evidence for requests such as "why did validator fail", "explain validator behavior", "diagnose validator logs", or "what went wrong in the validator run".
License
MIT
Allowed tools
Bash,, Read,, Glob,, Grep
Instructions
92 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands

Files (5)

  • SKILL.md
  • adapter-troubleshooting.md · references/
  • config-troubleshooting.md · references/
  • gate-troubleshooting.md · references/
  • lock-troubleshooting.md · references/

SKILL.md (first lines)

# /validator-help

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.

## Diagnostic Workflow

Follow this order for every diagnostic question:

1. **Resolve `log_dir`**: Read `.validator/config.yml` and extract the `log_dir` field (default: `validator_logs`). All log paths below are relative to `<log_dir>/`.
2. **Passive evidence first**: Read files before running commands.
   - `<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
3. **Active evidence when needed**: Run CLI commands only when passive evidence is insufficient for a confident diagnosis.
4. **Explain with evidence**: Clearly distinguish confirmed findings from inference.

## Evidence Sources

| 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 |

## CLI Command Quick-Reference

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) |

## Routing Logic

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.

## Output Contract

Every diagnostic response MUST include these sections:

### Diagnosis
What happened and why, stated clearly.

### Evidence
Specific files read, field values observed, and command outputs that support the diagnosis. Quote relevant log lines or config values.

### Confidence
One of:
- **High** — diagnosis is fully supported by direct evidence
- **Medium** — diagnosis is likely but some evidence is missing or ambiguous
- **Low** — diagnosis is inferred; key evidence is unavailable

Downgrade confidence when:
- `.debug.log` or `.execution_state` is missing or empty
- Log files referenced in output don't exist
- Config values can't be verified
- CLI commands fail or return unexpected output

### Next Steps
Actionable recommendations for the user. If confidence is not high, suggest what additional evidence would confirm the diagnosis.

## Bug Filing

After completing your diagnosis, apply the following routing logic to determine whether to file a GitHub issue:

- **High confidence + bug indicated** (evidence points to a defect in agent-validator, not a configuration issue, user error, or expected behavior): Automatically invoke `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.
- **High confidence + not a bug** (diagnosis concludes configuration issue, user error, or expected behavior): Do nothing. Do not invoke `validator-issue`.
- **Medium confidence + possible bug** (evidence suggests a possible validator defect but is not conclusive): Ask the user: "This may be a validator bug. Want me to file a GitHub issue?" If the user confirms, invoke `validator-issue` with the diagnosis summary as the bug description. If the user declines, exit without filing.
- **Low confidence**: Do nothing. Do not prompt the user and do not invoke `validator-issue`.

From Codagent-AI/agent-validator, MIT.

More from Codagent-AI/agent-validator

Signals

Stars
30
Forks
2
Open issues
14
Last commit (this folder)
Sep 29, 2026 (1 month ago)
Last release
Sep 29, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Codagent-AI

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get validator-help running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying validator-help?

CallGet help
Cite this page

validator-help skill. Agent Mart. https://agentmart.dev/skills/codagent-ai-validator-help (last updated 2026-10-24)