validate

validate is a skill for Claude Code from peteski22/agent-pragma. It costs 9 tokens per session (986 once invoked), scanned A, original, Apache-2.0.

A validation coordinator that checks recent code changes with the relevant language, security, state-machine, and error-handling validators.

In plain words
What is it for?
Use it after changes to Go, Python, TypeScript, or React code, as well as changes of any type that need general validation.
Why use it?
It removes the need to remember which checks apply to each changed file and gathers the checks in one run.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the pragma plugin — 12 skills, 2 agents shipped together

Good fit Use it after changes to Go, Python, TypeScript, or React code, as well as changes of any type that need general validation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/peteski22/agent-pragma/validate
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 peteski22/agent-pragma --skill validate
Clone the repo
git clone --depth 1 https://github.com/peteski22/agent-pragma

Made for: Claude Code.

Or install pragma, the plugin that ships this one along with the rest of its 12 skills, 2 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 validate

README.md
[![agentmods](https://agentmods.dev/badge/skills/peteski22/agent-pragma/validate/github.svg)](https://agentmods.dev/skills/peteski22/agent-pragma/validate)
Your own site
<a href="https://agentmods.dev/skills/peteski22/agent-pragma/validate"><img src="https://agentmods.dev/badge/skills/peteski22/agent-pragma/validate/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 validate

Your own site · 80×15
<a href="https://agentmods.dev/skills/peteski22/agent-pragma/validate"><img src="https://agentmods.dev/badge/skills/peteski22/agent-pragma/validate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 986 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00009 $0.00986
Opus 5.5 $0.00004 $0.00394
Sonnet 5.5 $0.00002 $0.00197
Haiku 4.5 $0.00001 $0.00099

Measured 3mo ago against content hash aac75b7456a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

validate 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 3mo 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.

plugins/pragma/skills/validate/SKILL.md · 103 lines

How it starts

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

Validation Orchestrator

Run all applicable validators against recent code changes.

Step 1: Determine which validators to run

Check what files have changed. Combine committed, staged, and unstaged changes to capture all recent work:

{ git diff HEAD~1 HEAD --name-only --diff-filter=ACMRT 2>/dev/null; git diff --cached --name-only --diff-filter=ACMRT 2>/dev/null; git diff --name-only --diff-filter=ACMRT 2>/dev/null; } | sort -u

Based on file extensions, select validators:

  • .go files → run go-effective, go-proverbs
  • .py files → run python-style
  • .ts or .tsx files → run typescript-style
  • All files → run security
  • All files → run state-machine
  • All files → run error-handling

Step 2: Run validators in parallel

Use the Task tool to spawn validators in parallel. For each applicable validator, create a Task with:

  • subagent_type: "general-purpose"
  • prompt: Use the Skill tool to invoke the validator. The prompt must explicitly require skill invocation and verbatim JSON output.

Example Task prompt for each validator:

Invoke the `go-effective` skill using the Skill tool (skill: "go-effective"). Return its JSON output verbatim — do not summarize, reformat, or re-implement the validation logic.

Go files changed:

  1. Task: Invoke go-effective skill and return JSON output verbatim.
  2. Task: Invoke go-proverbs skill and return JSON output verbatim.
  3. Task: Invoke security skill and return JSON output verbatim.
  4. Task: Invoke state-machine skill and return JSON output verbatim.
  5. Task: Invoke error-handling skill and return JSON output verbatim.

Python files changed:

  1. Task: Invoke python-style skill and return JSON output verbatim.
  2. Task: Invoke security skill and return JSON output verbatim.
  3. Task: Invoke state-machine skill and return JSON output verbatim.
  4. Task: Invoke error-handling skill and return JSON output verbatim.

TypeScript files changed:

  1. Task: Invoke typescript-style skill and return JSON output verbatim.
  2. Task: Invoke security skill and return JSON output verbatim.
  3. Task: Invoke state-machine skill and return JSON output verbatim.
  4. Task: Invoke error-handling skill and return JSON output verbatim.

Read the full file on GitHub · 103 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. 3mo ago First seen · 103 lines · 9 tokens per session scan A aac75b7456a3

Subscribe to this mod's changes

validate is a skill published in the GitHub repository peteski22/agent-pragma (25 stars, last pushed 19d ago), licensed Apache-2.0. It adds 9 tokens to every session and 986 once invoked, about $0.0000 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.

Related

validate compared with skills from other repositories

validate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
validatepeteski22/agent-pragmaSkill2519d agoApache-2.0A9Claude Code
agent-config-syncellmos-ai/skillsSkill10yesterdayMITA109Claude Code, Codex
batch-all-issuesdyoshikawa/rulesyncSkill1.7ktodayMITA56Claude Code, Codex
prs-awaiting-maintainerdyoshikawa/rulesyncSkill1.7ktodayMITA56Claude Code, Codex
rulesyncdyoshikawa/rulesyncSkill1.7ktodayMITA64Claude Code, Codex
post-issue-commentdyoshikawa/rulesyncSkill1.7ktodayMITA31Claude Code, Codex
review-prdyoshikawa/rulesyncSkill1.7ktodayMITA61Claude Code, Codex