Validation Engine

Validation Engine is a skill for Claude Code 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 Code

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md; mentions OpenCode.

Good fit Use it after code generation, research, documentation, or planning to run a structured validation and report failures, problem locations, and improvements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/razaib-khan/forgeweave/validation-engine
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.

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.

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/github.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/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 Validation Engine

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00020 $0.00582
Opus 5.5 $0.00008 $0.00233
Sonnet 5.5 $0.00004 $0.00116
Haiku 4.5 $0.00002 $0.00058

Measured 1mo ago against content hash b0adc324d53d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 4mo ago), licensed MIT. It adds 20 tokens to every session and 582 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-31.

Related

Other skills, from other repositories

plugin-review

Review plugin quality with tiered checks and dependency scoping. Use for PR and pre-release audits.

athola/claude-night-market · 23 tokens

code-review

Orchestrates code review by detecting the project language and architecture, then routing to the appropriate specialized review skill (code-review-go, code-review-typescript, code-review-python, code-review-php, code-review-architecture). Falls back to the generic checklist when no specific skill applies. Invoked when…

soulcodex/agentic · 80 tokens

code-review-architecture

Architecture-focused code review covering hexagonal boundary violations, DDD anti-patterns, CQRS misuse, and microservices coupling issues. Applied in addition to the language-specific review skill when architecture markers are detected. Invoked when reviewing hexagonal architectures, DDD patterns, or microservices…

soulcodex/agentic · 63 tokens

code-review-go

Deep Go-specific code review covering goroutine lifecycle, data races, error wrapping, domain modeling, and interface design. Applied in addition to the generic code-review skill when Go code is detected. Invoked when reviewing Go PRs, Go code changes, or performing Go-specific quality checks.

soulcodex/agentic · 61 tokens

code-review-php

Deep PHP-specific code review covering strict types, PHPStan compliance, PSR standards, domain modeling, and ORM boundary violations. Applied in addition to the generic code-review skill when PHP code is detected. Invoked when reviewing PHP PRs, Symfony/Laravel changes, or performing PHP-specific quality checks.

soulcodex/agentic · 66 tokens

code-review-python

Deep Python-specific code review covering type annotations, async pitfalls, mutable defaults, threading safety, and domain modeling. Applied in addition to the generic code-review skill when Python code is detected. Invoked when reviewing Python PRs, Py changes, or performing Python-specific quality checks.

soulcodex/agentic · 59 tokens