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 bgauryy/octocode --skill zodgit clone --depth 1 https://github.com/bgauryy/octocodeWrote 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/bgauryy/octocode/zod)<a href="https://agentmods.dev/skills/bgauryy/octocode/zod"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/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/bgauryy/octocode/zod"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/zod.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.00049 | $0.00968 |
| Opus 5.5 | $0.00020 | $0.00387 |
| Sonnet 5.5 | $0.00010 | $0.00194 |
| Haiku 4.5 | $0.00005 | $0.00097 |
Grade A, and why
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 today.
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 — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Zod in Octocode
Every workspace resolves one Zod 4 (rg -n '^"zod@' -A1 yarn.lock; 4.6.7 when written). Settle an API question in node_modules/zod/v4/classic/schemas.d.ts (it marks deprecations) or a short node probe, not from memory.
Sources and outputs
Edit the Zod source and run its generator ($DEV as AGENTS.md defines it); never edit the output.
| Zod source | Output | Regenerate |
|---|---|---|
Tool schemas in core (../octocode-mcp-host/packages/octocode-core) |
packages/octocode-config/contract/ |
$DEV contracts:regen (pipeline) |
packages/octocode-config/scripts/config-contract/ (schema.ts validates declaration/) |
config-contract.json and .schema.json, src/config/contract.generated.ts (package root), <repo>/docs/CONFIGURATION.md |
yarn workspace @octocodeai/config generate:config-contract (adding config) |
packages/octocode-agents-communication/src/catalog/ |
<pkg>/assets/catalog.json, src/runtime/catalog-types.generated.ts |
yarn workspace @octocodeai/octocode-agents-communication types |
packages/octocode-browser-tools/src/contract/ |
<pkg>/dist/contract.js, <pkg>/dist/engine/chrome-contract.mjs, <pkg>/dist/runtime.js |
yarn workspace @octocodeai/octocode-browser-tools build |
packages/mcp-to-cli: defineCommand({ schema }) |
CLI flags and help, MCP inputSchema |
none: built at run time |
- agents-communication: Zod is a devDependency; nothing in
src/runtime,src/entriesorsrc/hostsmay import it (tests/catalog-source.test.ts). A shared shape goes throughdefine()incatalog/registry.ts(one$defsentry,$refat each use); keywords Zod cannot state ride in.meta();catalog/json-schema.tsmaps Zod's output to the dialectsrc/runtime/validation.tsenforces. - mcp-to-cli: flags come from
z.toJSONSchema(schema, { io: 'input', unrepresentable: 'any' }). MCP SDK v2 takes the Zod schema itself as a Standard Schema; a JSON Schema tool is wrapped byjsonSchemaStandard.
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.
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.
- today First seen · 45 lines · 49 tokens per session scan A 6057f8013ab1
zod is a skill published in the GitHub repository bgauryy/octocode (971 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 968 once invoked, about $0.0002 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-12-01.
zod compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| zodbgauryy/octocode | Skill | 971 | today | MIT | A | 49 | Claude Code, Codex |
| backend-pro-maxshashankswe2020-ux/backend-pro-max-skill | Skill | 7 | 1mo ago | MIT | A | 109 | Claude Code |
| create-handlergirijashankarj/cursor-handbook | Skill | 33 | 3mo ago | MIT | A | 28 | Cursor |
| component-creationgirijashankarj/cursor-handbook | Skill | 33 | 3mo ago | MIT | A | 28 | Cursor |
| api-docsgirijashankarj/cursor-handbook | Skill | 33 | 3mo ago | MIT | A | 21 | Cursor |
| coverage-improvementgirijashankarj/cursor-handbook | Skill | 33 | 3mo ago | MIT | A | 30 | Cursor |
| debug-issuegirijashankarj/cursor-handbook | Skill | 33 | 3mo ago | MIT | A | 34 | Cursor |