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.
npx skills add monkilabs/opencastle --skill validation-gatesgit clone --depth 1 https://github.com/monkilabs/opencastleWrote 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/skills/monkilabs/opencastle/validation-gates)<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.
<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>- NVIDIA SkillSpector warn
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]
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.00063 | $0.00543 |
| Opus 5.5 | $0.00025 | $0.00217 |
| Sonnet 5.5 | $0.00013 | $0.00109 |
| Haiku 4.5 | $0.00006 | $0.00054 |
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.
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.
- 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 andpassword = "…"assignments; fake fixtures and placeholders are not hits. A real secret that was committed must be rotated: git history keeps it. - Tests, lint, build for every project the change touches, with zero errors. Lint with auto-fix first.
- 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.
- 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). - 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.
- Review — fast-review; panel-majority-vote for auth, payments, migrations or deleting data.
- Regression — the whole test suite of every project that uses what changed, not only the tests you touched.
- Smoke test — when a feature is complete: walk its main path end to end, from a clean build, as a user would.
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.
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.
- 1mo ago Changed · -78 lines · +11 tokens per session 464349bdd33f
- 1mo ago Changed · -14 lines · -18 tokens per session scan B → A 05f713ee45cc
- 2mo ago First seen · 110 lines · 70 tokens per session scan B 32e0aa683f28
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.
validation-gates compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| validation-gatesmonkilabs/opencastle | Skill | 82 | 10d ago | MIT | A | 63 | Claude Code, Codex |
| agent-qa-browser-regressionrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 48 | Claude Code, Codex |
| systematic-debuggingDDS-Solutions/AI-TadPole-OS | Skill | 9 | 4d ago | MIT | A | 33 | Claude Code |
| webapp-testingDDS-Solutions/AI-TadPole-OS | Skill | 9 | 4d ago | MIT | A | 28 | Claude Code |
| product-architectankitjha67/product-architect | Skill | 118 | 2mo ago | MIT | A | 253 | Claude Code, Codex |
| verify-skill-builderescoffier-labs/skillet | Skill | 4 | yesterday | MIT | A | 89 | Claude Code |
| cursor-promptingzebbern/agent-collab | Skill | 35 | 2mo ago | Apache-2.0 | A | 31 | Claude Code |