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 pproenca/dot-skills --skill adversarial-zodgit clone --depth 1 https://github.com/pproenca/dot-skillsWrote 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/pproenca/dot-skills/adversarial-zod)<a href="https://agentmods.dev/skills/pproenca/dot-skills/adversarial-zod"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/adversarial-zod/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/pproenca/dot-skills/adversarial-zod"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/adversarial-zod.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00180 | $0.01696 |
| Opus 5 | $0.00090 | $0.00848 |
| Sonnet 5 | $0.00036 | $0.00339 |
| Haiku 4.5 | $0.00018 | $0.00170 |
Grade A, and why
adversarial-zod 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Adversarial Zod Gate
A currency and correctness gate for Zod schema code in TypeScript apps — a pass/fail gate: a single blind reviewer subagent judges the work against this gate's rules with an adversarial mandate, and the work passes only when every rule is PASS or N/A. This skill renders verdicts; it never fixes the work.
Rules are pinned to zod 4.4.x (package root since [email protected], July 2025) and, for the start- category, the TanStack Start v1 RC (.validator() current, .inputValidator() deprecated).
When to Apply
- A diff or feature that defines or edits Zod schemas is about to merge and needs an objective PASS/FAIL on Zod 4 currency, not advisory feedback.
- An agent (Claude, Codex) authored schema code and you want an independent check that it is not reproducing Zod 3 training-data patterns — deprecated method forms, removed params, or the
z.interface()hallucination. - A Zod 3 → 4 migration claims completion and needs the silent semantic breaks audited (
.default()short-circuiting, exhaustive enum-keyed records,z.coerce.boolean()on string flags). - A TanStack Start app validates server-function input or search params with Zod and should be on the adapter-free Standard Schema patterns.
Do not apply to Zod 3 codebases (the reviewer prompt's precondition aborts with "GATE NOT APPLICABLE"), or when the user wants explanations and refactors rather than a verdict — that is the curated zod distillation skill's job. The two start- rules go N/A outside TanStack apps; the rest of the gate works in any TypeScript project using Zod 4.
Review Protocol
Follow these steps exactly — the gate's value is that every review runs the same way.
- Identify the target. Pin down exactly what is under review (a diff, a set of files, a PR) and note the ref/paths so the review runs against an unambiguous, fixed target. Always include
package.jsonin the target paths — the Zod-4 precondition and thepkg-,compose-native-json-schema, andstart-adapter rules are decided by its dependency pins even when the diff does not touch it. - Load the rules. Read references/_sections.md and every rule file in
references/(allsem-*.md,gone-*.md,err-*.md,dep-*.md,compose-*.md,start-*.md,pkg-*.mdfiles). - Compose the reviewer prompt. Fill references/reviewer-prompt.md with the rules and the target. The composed prompt must be fully self-contained — a reviewer sees no conversation history, so nothing may refer to context outside the prompt.
- Dispatch one blind reviewer. Launch a single Task subagent whose entire input is the composed prompt — no conversation context, no commentary alongside it.
- Render fail-closed. The reviewer's structured output is the verdict — there is no merge step. Overall verdict is PASS only when every rule is PASS or N/A; any single FAIL fails the gate. Never average, weigh severity, or waive a rule — a "minor" FAIL is a FAIL. If the reviewer returns "GATE NOT APPLICABLE" (Zod 3 or no Zod), stop and report that instead of a verdict.
- Render the verdict. Fill assets/templates/verdict.md. On FAIL, aggregate the reviewer's "missing for PASS" suggestions into the fix list, each with its location, ordered by category importance. Every rule whose final result is FAIL must appear in the fix list with a change concrete enough to apply as written — if the reviewer's suggestion only restates the violation, derive the fix from the rule's Correct example before rendering.
What ships with it
29 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.
- assets/templates/verdict.md 1.4 KB
- gotchas.md 3.3 KB
- metadata.json 1.2 KB
- references/_sections.md 2.1 KB
- references/compose-codec-for-bidirectional.md 2.3 KB
- references/compose-getter-recursion.md 1.5 KB
- references/compose-native-json-schema.md 1.5 KB
- references/dep-enum-over-nativeenum.md 1.1 KB
- references/dep-extend-over-merge.md 1.3 KB
- references/dep-int-toplevel-numbers.md 1.2 KB
- references/dep-no-promise-schema.md 1.0 KB
- references/dep-strict-loose-object.md 1.4 KB
- references/dep-toplevel-string-formats.md 1.6 KB
- references/err-toplevel-formatters.md 1.4 KB
- references/err-unified-error-param.md 1.3 KB
- references/gone-error-params.md 1.5 KB
- references/gone-function-factory.md 1.6 KB
- references/gone-ip-cidr-toplevel.md 1.0 KB
- references/gone-issues-not-errors.md 1.2 KB
- references/gone-no-z-interface.md 1.2 KB
- references/gone-record-two-args.md 811 B
- references/pkg-mini-only-when-constrained.md 1.7 KB
- references/pkg-root-import.md 1.2 KB
- references/reviewer-prompt.md 3.7 KB
- references/sem-partialrecord-for-enum-keys.md 1.7 KB
- references/sem-prefault-for-parsed-defaults.md 1.9 KB
- references/sem-stringbool-for-env-flags.md 1.6 KB
- references/start-bare-schema-validator.md 1.7 KB
- references/start-validatesearch-no-adapter.md 1.6 KB
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.
- 5d ago First seen · 63 lines · 180 tokens per session scan A 42297c82f48c
adversarial-zod is a skill published in the GitHub repository pproenca/dot-skills (205 stars, last pushed 24d ago), licensed MIT. It adds 180 tokens to every session and 1,696 once invoked, about $0.0009 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-09-03.
Other skills, from other repositories
platform-apex-generate
Primary Apex authoring skill for class generation, refactoring, and review. ALWAYS ACTIVATE when the user mentions Apex, .cls, triggers, or asks to create/refactor a class (service, selector, domain, batch, queueable, schedulable, invocable, DTO, utility, interface, abstract, exception, REST resource). Use this skill…
flow-next-impl-review
Carmack-level implementation review of changes via the configured backend. Use when asked to review code or a diff in a flow-next repo.
flow-next-resolve-pr
Resolve PR review feedback. Fetches unresolved threads, triages, fixes, replies and resolves via GraphQL. Use when asked to address review comments.
api-contract-review
Use when auditing CloudBase cloud API wrappers, MCP tools, generated action metadata, or related docs for outdated or incorrect action names, parameters, casing, request shapes, or missing contract tests, especially during periodic quality review or before preparing corrective PRs.
principle-model-the-domain
Apply when writing stateful logic, or when code branches a lot or repeats a shape assumption across files. Encode the domain in a structure instead of scattered conditionals.
code-review-nodejs
Applies Node.js-specific code review patterns for async I/O, streams, security, process management, and dependency hygiene. Use when reviewing Node.js server code, route handlers, middleware, or any JavaScript file alongside package.json without TypeScript. Triggers on sync I/O in request paths, missing stream…