valibot

valibot is a skill for Claude Code from open-circle/agent-skills. It costs 56 tokens per session (4,687 once invoked), scanned A, original, MIT.

A guide to Valibot, a JavaScript and TypeScript library for defining rules that data must satisfy.

In plain words
What is it for?
Use it to create schemas, validate or parse data, and migrate validation code from Zod to Valibot.
Why use it?
It helps catch invalid input and prevents Valibot code from being confused with the different API used by Zod.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the valibot plugin — 1 skill shipped together

not rated 17repo +1 9d ago A scan Socket: passSnyk: passSkillSpector: pass 56 tokens original MIT

Good fit Use it to create schemas, validate or parse data, and migrate validation code from Zod to Valibot.

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

Made for: Claude Code.

Or install valibot, the plugin that ships this one along with the rest of its 1 skill.

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 valibot

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/open-circle/agent-skills/valibot"><img src="https://agentmods.dev/badge/skills/open-circle/agent-skills/valibot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,687 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
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • 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.00056 $0.04687
Opus 5.5 $0.00022 $0.01875
Sonnet 5.5 $0.00011 $0.00937
Haiku 4.5 $0.00006 $0.00469

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

Security

Grade A, and why

valibot 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 2mo 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.

skills/valibot/SKILL.md · 766 lines

How it starts

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

Valibot

This skill helps you work effectively with Valibot, the modular and type-safe schema library for validating structural data.

When to use this skill

  • When the user asks about schema validation with Valibot
  • When creating or modifying Valibot schemas
  • When parsing or validating user input
  • When the user mentions Valibot, schema, or validation
  • When migrating from Zod to Valibot

CRITICAL: Valibot vs Zod — Do Not Confuse!

Valibot and Zod have different APIs. Never mix them up!

Key Differences

Feature Zod ❌ Valibot ✅
Import import { z } from 'zod' import * as v from 'valibot'
Validations Chained methods: .email().min(5) Pipeline: v.pipe(v.string(), v.email(), v.minLength(5))
Parsing schema.parse(data) v.parse(schema, data)
Safe parsing schema.safeParse(data) v.safeParse(schema, data)
Optional z.string().optional() v.optional(v.string())
Nullable z.string().nullable() v.nullable(v.string())
Default z.string().default('x') v.optional(v.string(), 'x')
Transform z.string().transform(fn) v.pipe(v.string(), v.transform(fn))
Refine/Check z.string().refine(fn) v.pipe(v.string(), v.check(fn))
Enum z.enum(['a', 'b']) v.picklist(['a', 'b'])
Native enum z.nativeEnum(MyEnum) v.enum(MyEnum)
Union z.union([a, b]) v.union([a, b])
Discriminated union z.discriminatedUnion('type', [...]) v.variant('type', [...])
Intersection z.intersection(a, b) v.intersect([a, b])
Min/max length .min(5).max(10) v.minLength(5), v.maxLength(10)
Min/max value .gte(5).lte(10) v.minValue(5), v.maxValue(10)
Infer type z.infer<typeof Schema> v.InferOutput<typeof Schema>
Infer input z.input<typeof Schema> v.InferInput<typeof Schema>

Read the full file on GitHub · 766 lines

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. 2mo ago First seen · 766 lines · 56 tokens per session scan A 8c7397be7b71

Subscribe to this mod's changes

valibot is a skill published in the GitHub repository open-circle/agent-skills (17 stars, last pushed 9d ago), licensed MIT. It adds 56 tokens to every session and 4,687 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-08-30.

Related

valibot compared with skills from other repositories

valibot next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
valibotopen-circle/agent-skillsSkill179d agoMITA56Claude Code
no-bare-castsprisma/ormSkill48kyesterdayApache-2.0A52Claude Code, Codex
aws-sst-developmentsickn33/agentic-awesome-skillsSkill49kyesterdayMITA26Claude Code
league-akari-shard-developmentLeagueAkari/LeagueAkariSkill4.7k5d agoMITA58Claude Code, Codex
dd-code-generationDataDog/pupSkill1.0kyesterdayApache-2.0A16Claude Code
fast-typescript-checkinternet-development/www-sacredSkill1.6k2d agoMITA84Claude Code, Codex
typescript-magicianmcollina/skillsSkill2.0k10d agoMITA108Claude Code, Codex