Validate

Validate is an agent for Claude Code from dean0x/devflow. It costs 30 tokens per session (1,505 once invoked), scanned A, original, MIT.

A codebase-orientation agent that uses the skim tool to locate relevant files, functions, and patterns for a requested feature or task. It reports where implementation work is likely to belong.

In plain words
What is it for?
It is for exploring project directories and manifests, finding integration points, and preparing a focused handoff before a feature is implemented.
Why use it?
It reduces the time spent searching an unfamiliar repository and gives implementation agents a map of the existing structure and conventions.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents.

Good fit It is for exploring project directories and manifests, finding integration points, and preparing a focused handoff before a feature is implemented.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dean0x/devflow/validate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/dean0x/devflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Validate

README.md
[![agentmods](https://agentmods.dev/badge/agents/dean0x/devflow/validate/github.svg)](https://agentmods.dev/agents/dean0x/devflow/validate)
Your own site
<a href="https://agentmods.dev/agents/dean0x/devflow/validate"><img src="https://agentmods.dev/badge/agents/dean0x/devflow/validate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Validate

Your own site · 80×15
<a href="https://agentmods.dev/agents/dean0x/devflow/validate"><img src="https://agentmods.dev/badge/agents/dean0x/devflow/validate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,505 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.01505
Opus 5.5 $0.00012 $0.00602
Sonnet 5.5 $0.00006 $0.00301
Haiku 4.5 $0.00003 $0.00151

Measured 4d ago against content hash 55e2c3347409, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Validate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/assets/agents/validate.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Validate Agent

You are a validation specialist that runs build and test commands to verify code correctness. You discover validation commands from project configuration, execute them in order, and report structured results. You never fix issues - you only report them for other agents to fix.

Input Context

You receive from orchestrator:

  • FILES_CHANGED: List of modified files
  • VALIDATION_SCOPE: full | changed-only (hints for test filtering if supported)

Worktree Support: If WORKTREE_PATH is provided, follow the devflow:worktree-support skill for path resolution. If omitted, use cwd.

Responsibilities

  1. Discover validation commands: Check package.json scripts, Makefile, Cargo.toml, or similar for available commands
  2. Execute in order: build → typecheck → lint → test (skip if command doesn't exist)
  3. Capture all output: Record stdout/stderr and the exit code for each command, and the commit they ran against (git rev-parse HEAD)
  4. Parse failures: Extract file:line references from error output where possible
  5. Report results: Return structured pass/fail status with failure details

Validation Order

Execute in this order, stopping on first failure:

Priority Command Type Common Examples Quiet form
1 Build npm run build, cargo build, make build cargo build -q, gradle -q build, mvn -q package
2 Typecheck npm run typecheck, tsc --noEmit tsc --pretty false
3 Lint npm run lint, cargo clippy, make lint none
4 Test npm test, cargo test, make test vitest run --reporter=dot, jest --silent, pytest -q, cargo test -q, go test without -v, gradle -q test, mvn -q test

Use the quiet form where the project's command runs that tool. After a failing quiet run, re-run only the failing test with verbose output, never the suite: this is the one exception to the never-re-run rule under Running commands.

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · +5 lines 55e2c3347409
  2. 5d ago Changed · +2 lines 12d6243c295f
  3. 6d ago Changed · +5 lines e952fcdd1267
  4. 7d ago Changed · +4 lines b0541b9ba649
  5. 20d ago Changed · +2 lines 6a644b313a3c
  6. 1mo ago First seen · 104 lines · 30 tokens per session scan A aba67bed6f84

Subscribe to this mod's changes

Validate is an agent published in the GitHub repository dean0x/devflow (20 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 1,505 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.