validation-gates

validation-gates is a skill for Claude Code, Codex from monkilabs/opencastle. It costs 63 tokens per session (543 once invoked), scanned A, original, MIT.

A set of ten checks for validating code changes before they are merged or deployed. The checks cover secrets, tests, dependencies, browser behavior, regressions, and final smoke tests.

In plain words
What is it for?
Use it for pre-deployment validation, CI checks, regression testing, dependency audits, and browser testing of UI changes.
Why use it?
It reduces the chance that a change ships with security problems, broken behavior, missing checks, or untested interface changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for pre-deployment validation, CI checks, regression testing, dependency audits, and browser testing of UI changes.

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

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-gates

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/monkilabs/opencastle/validation-gates"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/validation-gates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 543 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 78
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium MCP Rug Pull · line 106
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00063 $0.00543
Opus 5.5 $0.00025 $0.00217
Sonnet 5.5 $0.00013 $0.00109
Haiku 4.5 $0.00006 $0.00054

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

Security

Grade A, and why

validation-gates 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.

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/orchestrator/skills/validation-gates/SKILL.md · 18 lines

What it actually says

Validation Gates

Every command here is the project's own: Key Commands in .opencastle/project.instructions.md, or the task runner's skill (Nx, Turborepo). Never a guessed npm run …. Run them in this order; when one fails, fix it and start again.

  1. Secrets. No token, key, password or connection string in the diff, the logs or the output. With gitleaks installed: gitleaks git --redact --log-opts="main..HEAD" for the branch's commits, gitleaks dir <path> for files not yet committed. Without it, read the diff for keys (AKIA…, sk-…, ghp_…), private keys, connection strings and password = "…" assignments; fake fixtures and placeholders are not hits. A real secret that was committed must be rotated: git history keeps it.
  2. Tests, lint, build for every project the change touches, with zero errors. Lint with auto-fix first.
  3. Size. Over 500 changed lines, 10 files or 2 projects: stop and check the change has not drifted beyond its task, and split it if it can be split.
  4. New dependencies — when a manifest or lockfile changed: the package manager's audit at high severity (npm audit --audit-level=high, pnpm audit, pip-audit) finds nothing new, and the package is maintained, its licence fits, and it does not duplicate one already used (REFERENCE.md has the commands).
  5. Browser — UI changes only: it works in a browser at every breakpoint the project uses, with no console errors (browser-testing). A stale page, or a build that lists deleted files: clear the framework's cache and rebuild first.
  6. Review — fast-review; panel-majority-vote for auth, payments, migrations or deleting data.
  7. Regression — the whole test suite of every project that uses what changed, not only the tests you touched.
  8. Smoke test — when a feature is complete: walk its main path end to end, from a clean build, as a user would.
Files

What ships with it

1 file 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 Changed · -78 lines · +11 tokens per session 464349bdd33f
  2. 1mo ago Changed · -14 lines · -18 tokens per session scan B → A 05f713ee45cc
  3. 2mo ago First seen · 110 lines · 70 tokens per session scan B 32e0aa683f28

Subscribe to this mod's changes

validation-gates is a skill published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), licensed MIT. It adds 63 tokens to every session and 543 once invoked, about $0.0003 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-09-03.

Related

validation-gates compared with skills from other repositories

validation-gates next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
validation-gatesmonkilabs/opencastleSkill8210d agoMITA63Claude Code, Codex
agent-qa-browser-regressionrrezartprebreza/spring-boot-skillsSkill37013d agoMITA48Claude Code, Codex
systematic-debuggingDDS-Solutions/AI-TadPole-OSSkill94d agoMITA33Claude Code
webapp-testingDDS-Solutions/AI-TadPole-OSSkill94d agoMITA28Claude Code
product-architectankitjha67/product-architectSkill1182mo agoMITA253Claude Code, Codex
verify-skill-builderescoffier-labs/skilletSkill4yesterdayMITA89Claude Code
cursor-promptingzebbern/agent-collabSkill352mo agoApache-2.0A31Claude Code