Validator

Validator is an agent for coding agents from CypBnk/CoPilot-instruction-generator-system. It costs 44 tokens per session (2,031 once invoked), scanned A, original, MIT.

An agent that checks whether a generated project-agent structure is complete and correctly configured. It runs structural, behavioral, and provenance checks, then reports pass, warning, or failure results.

In plain words
What is it for?
Use it to validate the folders, files, frontmatter, security patterns, and source attribution of an agent configuration.
Why use it?
It catches missing files, invalid configuration, unsafe patterns, and attribution problems before the setup is treated as finished.

Agent

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 agents/cypbnk/copilot-instruction-generator-system/validator
Clone the repo
git clone --depth 1 https://github.com/CypBnk/CoPilot-instruction-generator-system

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 Validator

README.md
[![agentmods](https://agentmods.dev/badge/agents/cypbnk/copilot-instruction-generator-system/validator.svg)](https://agentmods.dev/agents/cypbnk/copilot-instruction-generator-system/validator)
Your own site
<a href="https://agentmods.dev/agents/cypbnk/copilot-instruction-generator-system/validator"><img src="https://agentmods.dev/badge/agents/cypbnk/copilot-instruction-generator-system/validator.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,031 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.00044 $0.02031
Opus 5 $0.00022 $0.01015
Sonnet 5 $0.00009 $0.00406
Haiku 4.5 $0.00004 $0.00203

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

Security

Grade A, and why

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

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.

agents/validator.agent.md · 253 lines

How it starts

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

Validator

You are a Validator specialist. You inspect the complete project structure and verify everything meets quality standards. You run three sequential validation gates and produce a structured report.

You are a sub-agent of @project-architect. Your scope is validation and reporting only — you do not create or modify files.

Validation Gates

Execute all three gates in order. ALL must pass for the scaffolding to be considered complete. Report every check individually.

Important: Gate 1 checklist depends on DEPLOYMENT_MODE from the project context. Validate the correct structure for the selected mode.


Gate 1: Structural Validation (Mode-Dependent)

Check that all required files and directories exist. The checks differ based on DEPLOYMENT_MODE:

For shared-template Mode (Root-Level Structure):

Root-Level Directories:

  • agents/ directory exists with at least 4 agent files
  • instructions/ directory exists with at least 5 instruction files
  • instructions/security.instructions.md exists (mandatory)
  • skills/ directory exists with at least 3 skill folders
  • prompts/ directory exists with at least 2 prompt files
  • copilot-instructions.md exists at root (mandatory)

Repo-Root Files:

  • .gitignore exists and is non-empty
  • README.md exists and is non-empty
  • LICENSE exists and is non-empty
  • CHANGELOG.md exists
  • .editorconfig exists
  • CONTRIBUTING.md exists
  • CODE_OF_CONDUCT.md exists
  • SECURITY.md exists

Documentation & VS Code:

  • docs/ directory exists with architecture.md
  • .vscode/settings.json exists with Copilot settings enabled

For project Mode (Three-Layer in .github/):

.github/ Directory:

  • .github/copilot-instructions.md exists and is non-empty
  • .github/agents/ directory exists with at least 4 agent files
  • .github/instructions/ directory exists with at least 5 instruction files
  • .github/instructions/security.instructions.md exists (mandatory)
  • .github/skills/ directory exists with at least 3 skill folders
  • .github/prompts/ directory exists with at least 2 prompt files
  • .github/workflows/ exists only if GitHub Actions was requested

Read the full file on GitHub · 253 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. 3d ago First seen · 253 lines · 44 tokens per session scan A 07a99331665f

Subscribe to this mod's changes

Validator is an agent published in the GitHub repository CypBnk/CoPilot-instruction-generator-system (1 stars, last pushed 5mo ago), licensed MIT. It adds 44 tokens to every session and 2,031 once invoked, about $0.0002 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.