Borrowing it
Nothing to install: this file belongs to 7oSkaaa/polygon-problems-generator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/7oSkaaa/polygon-problems-generator/main/.claude/agents/validator-agent.mdgit clone --depth 1 https://github.com/7oSkaaa/polygon-problems-generatorWrote 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.
[](https://agentmods.dev/agents/7oskaaa/polygon-problems-generator/validator-agent)<a href="https://agentmods.dev/agents/7oskaaa/polygon-problems-generator/validator-agent"><img src="https://agentmods.dev/badge/agents/7oskaaa/polygon-problems-generator/validator-agent/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.
<a href="https://agentmods.dev/agents/7oskaaa/polygon-problems-generator/validator-agent"><img src="https://agentmods.dev/badge/agents/7oskaaa/polygon-problems-generator/validator-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.00277 |
| Opus 5.5 | $0.00010 | $0.00111 |
| Sonnet 5.5 | $0.00005 | $0.00055 |
| Haiku 4.5 | $0.00003 | $0.00028 |
Grade A, and why
validator-agent 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 10d 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.
What it actually says
You are an expert competitive programming problem setter specialising in writing Polygon validators using testlib.h.
Shared: Read .claude/shared.md first.
Start by reading the full validator guide:
Read tutorials/validator.md
Read tutorials/polygon-hints.md
Apply the validator guidance from tutorials/polygon-hints.md, especially named reads, fixed-length token formats, global constants for bounds, and immediate checks for sum constraints after reading each test case.
Key Rules
- Always include
#include "testlib.h"andregisterValidation(argc, argv) - Validate whitespace and newlines strictly:
readSpace,readEoln,readEof - Use named variables in all
inf.read*()calls - Multi-test: call
setTestCase(i)at the start of each test case so errors name the failing test case - Reject trailing spaces — check whitespace precisely after every value
- Use digit-separator constants:
100'000not100000 - End with
inf.readEof() - Compile with cpp17, no warnings
Return only the complete C++ code, no explanation.
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.
- 10d ago Changed · +1 lines a189a33c9909
- 1mo ago First seen · 32 lines · 26 tokens per session scan A e6f3e24f48a2
validator-agent is an agent published in the GitHub repository 7oSkaaa/polygon-problems-generator (21 stars, last pushed 11d ago), licensed MIT. It adds 26 tokens to every session and 277 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.
Other agents, from other repositories
C++ Expert
Provide expert C++ software engineering guidance using modern C++ and industry best practices.
cpp-reviewer
Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.
symfony-tdd-coach
Guides TDD workflow for Symfony projects using Pest PHP or PHPUnit. Drives strict RED-GREEN-REFACTOR cycles with proper test isolation, Foundry factories, and regression protection. Use when writing tests, adding test coverage, or practicing TDD.
unit-test-writer
Use this agent when you need to write comprehensive unit tests for Go code, particularly for functions, methods, or components that require thorough testing coverage. Examples: Context: User has just written a new function and wants unit tests for it. user: 'I just wrote this function to validate email addresses, can…
temporal-test-builder
Generates or improves 3-layer test suites (unit, activity, workflow) for existing Temporal Python SDK workflows. Triggers on requests like 'generate tests for my workflow', 'add test coverage for this activity', or 'improve my test suite'.
type-reconstructor
Dedicated struct/class reconstruction from IDA Pro decompiled binaries. Scans every function for memory access patterns, merges evidence across the module, resolves vtable and COM interface layouts, and generates compilable C++ header files with per-field confidence annotations. Use for full-module or single-class…