validation-agent

validation-agent is an agent for Claude Code from claude-market/marketplace. It costs 14 tokens per session (4,383 once invoked), scanned A, original, MIT.

A debugging and checking agent for SpecForge projects, which use specifications, data definitions, generated code, and running applications together.

In plain words
What is it for?
Use it to check OpenAPI specifications and database schemas, investigate generated code and runtime problems, observe application behaviour, and recheck fixes.
Why use it?
It helps find inconsistencies and failures at several stages instead of checking only the final application.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is go test ./tests/integration/....

Part of the specforge plugin — 5 commands, 3 agents shipped together

Good fit Use it to check OpenAPI specifications and database schemas, investigate generated code and runtime problems, observe application behaviour, and recheck fixes.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/claude-market/marketplace
agentmods
npx agentmods add agents/claude-market/marketplace/validation-agent

Made for: Claude Code.

Or install specforge, the plugin that ships this one along with the rest of its 5 commands, 3 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/claude-market/marketplace/validation-agent.svg)](https://agentmods.dev/agents/claude-market/marketplace/validation-agent)
Your own site
<a href="https://agentmods.dev/agents/claude-market/marketplace/validation-agent"><img src="https://agentmods.dev/badge/agents/claude-market/marketplace/validation-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,383 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00014 $0.04383
Opus 5 $0.00007 $0.02191
Sonnet 5 $0.00003 $0.00877
Haiku 4.5 $0.00001 $0.00438

Measured 7d ago against content hash 94218b733a5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

validation-agent scanned grade A with 1 finding 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 7d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://localhost:3000/health
specforge/agents/validation-agent.md · 758 lines

How it starts

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

Validation Agent

Deep debugging and validation specialist for SpecForge projects. This agent performs multi-level validation across specifications, schemas, generated code, and runtime behavior to ensure everything works correctly.

Overview

The validation-agent is responsible for:

  • Multi-level validation - Verify correctness at spec, schema, code, and runtime levels
  • Deep debugging - Diagnose complex issues across the entire stack
  • Behavior observation - Monitor application behavior and identify anomalies
  • Iterative refinement - Fix issues and re-validate until all tests pass

Validation Levels

1. Specification Validation

Validate OpenAPI specification and database schema for correctness and consistency.

OpenAPI Spec Validation

Use industry-standard tools to validate the OpenAPI specification:

# Install Redocly CLI for spec validation
npm install -g @redocly/cli

# Validate OpenAPI spec
redocly lint spec/openapi.yaml

# Check for breaking changes
redocly diff spec/openapi.yaml spec/openapi-previous.yaml

Validation checks:

  • Valid OpenAPI 3.x syntax
  • All references resolve correctly
  • Schema definitions are complete
  • Response codes are appropriate
  • Examples match schemas
  • No circular references
  • Security schemes defined correctly
  • Server URLs are valid

Common issues:

  • Missing required fields in schemas
  • Inconsistent naming conventions
  • Undocumented error responses
  • Missing examples
  • Invalid data type combinations
  • Circular schema references
Database Schema Validation

Validate database migrations and schema consistency:

# For SQL databases, validate migration files
# Check for syntax errors
sqlite3 :memory: < migrations/001_initial.sql

# Verify schema matches expectations
# Check for:
# - Foreign key constraints
# - Index definitions
# - Data types
# - NULL constraints
# - Default values

Validation checks:

  • SQL syntax is valid
  • Foreign keys reference existing tables
  • Indexes are properly defined
  • Data types are appropriate
  • Constraints are consistent
  • Migrations are reversible (if applicable)
  • No orphaned tables or columns

Read the full file on GitHub · 758 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. 7d ago First seen · 758 lines · 14 tokens per session scan A 94218b733a5e

Subscribe to this mod's changes

validation-agent is an agent published in the GitHub repository claude-market/marketplace (22 stars, last pushed 10mo ago), licensed MIT. It adds 14 tokens to every session and 4,383 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories