Validation Engine

Validation Engine is a skill for Claude Code, Codex from Razaib-khan/ForgeWeave. It costs 20 tokens per session (582 once invoked), scanned A, original, MIT.

A code-review and quality-checking guide for work produced by other tools or agents. It checks correctness, consistency, completeness, and compliance with project rules in AGENTS.md files.

In plain words
What is it for?
Use it after code generation, research, documentation, or planning to run a structured validation and report failures, problem locations, and improvements.
Why use it?
It catches problems before generated code, research, plans, or documentation are presented or used. It provides issues and suggested fixes when requirements are not met.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/razaib-khan/forgeweave/validation-engine
Any agent
npx skills add Razaib-khan/ForgeWeave --skill validation-engine
Clone the repo
git clone --depth 1 https://github.com/Razaib-khan/ForgeWeave

Made for: Claude Code, Codex.

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 Engine

README.md
[![agentmods](https://agentmods.dev/badge/skills/razaib-khan/forgeweave/validation-engine.svg)](https://agentmods.dev/skills/razaib-khan/forgeweave/validation-engine)
Your own site
<a href="https://agentmods.dev/skills/razaib-khan/forgeweave/validation-engine"><img src="https://agentmods.dev/badge/skills/razaib-khan/forgeweave/validation-engine.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 582 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00020 $0.00582
Opus 5 $0.00010 $0.00291
Sonnet 5 $0.00004 $0.00116
Haiku 4.5 $0.00002 $0.00058

Measured 3d ago against content hash b0adc324d53d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Validation Engine 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_claims.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/forgeweave/templates/claude/.claude/skills/validation-engine/SKILL.md · 83 lines

How it starts

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

Validation Engine

Purpose

Systematically inspect outputs from any skill or agent for correctness, consistency, completeness, and compliance with project rules defined in AGENTS.md. Acts as a quality gate before outputs are presented to the user or used by downstream skills.

When to Use

  • After any skill produces output that needs quality assurance
  • Before presenting research results to the user
  • When cross-checking claims across multiple sources
  • After code generation, before presenting the code

When Not to Use

  • The output is trivial and doesn't need validation
  • The user is iterating quickly and doesn't want validation overhead
  • The output is an intermediate step that will be further processed

Inputs

Input Type Required Description
output string Yes The content to validate
type enum Yes research, code, documentation, plan
rules array No Specific rules to enforce (defaults from AGENTS.md)

Expected Outputs

Output Description
Validation report Pass/fail per rule, with details
Issues found List of problems with severity and location
Suggestions How to fix each issue

Exact Workflow Steps

  1. Load validation rules from AGENTS.md and the specific skill's requirements
  2. For research: check every claim has a source URL, flag contradictions, check no blog sources
  3. For code: check syntax, check against project conventions, verify tests pass
  4. For documentation: check completeness, accuracy, clarity
  5. For plans: check steps are ordered, dependencies identified, risks documented
  6. Compile validation report with pass/fail per rule

Required Checks

  • All required fields are present in the output
  • No contradictions across the output
  • Output follows applicable rules from AGENTS.md
  • All claims are traceable to sources

Failure Modes

Failure Condition Response
Validation rules are ambiguous Ask for clarification
Output fails critical rules Reject and report specific failures
Output fails minor rules Accept with warnings

Read the full file on GitHub · 83 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 83 lines · 20 tokens per session scan A b0adc324d53d

Subscribe to this mod's changes

Validation Engine is a skill published in the GitHub repository Razaib-khan/ForgeWeave (1 stars, last pushed 2mo ago), licensed MIT. It adds 20 tokens to every session and 582 once invoked, about $0.0001 per session on Opus 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-31.