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 15repo 17d 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.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.svg" alt="Measured on agentmods" 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 18 Mar 2026
  • Snyk pass 28 Feb 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 $0.00028 $0.02344
Sonnet 5 $0.00011 $0.00937
Haiku 4.5 $0.00006 $0.00469

Measured 8d ago against content hash 8c7397be7b71, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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. 8d 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 (15 stars, last pushed 17d ago), licensed MIT. It adds 56 tokens to every session and 4,687 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

no-bare-casts

Writing as in TypeScript or TSX production code, modifying a file that contains a bare as cast, silencing a type error with a cast, encountering as unknown as, or reviewing a cast site.

prisma/orm · 52 tokens

aws-sst-development

SST v4 (Ion) expert for managing AWS resources as code with the Pulumi-backed framework.

sickn33/agentic-awesome-skills · 26 tokens

league-akari-shard-development

Use when creating, extending, refactoring, splitting, or reviewing League Akari main or renderer shards, including shard file organization, controller/loader/executor/handler boundaries, naming conventions, renderer TSX usage, platform guards, and public contract compatibility.

LeagueAkari/LeagueAkari · 58 tokens

fast-typescript-check

Keep www-sacred's TypeScript fast to type-check and fast to run. Use when touching the ASCII/canvas animation components (the only real per-frame code here), tightening type-check wall-clock, or auditing a change for runtime or compiler regressions. Scoped to this repo — a React 19 / Next.js 16 component library plus…

internet-development/www-sacred · 84 tokens

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

migrate-better-result-3

Migrate a TypeScript codebase from better-result 2.x to 3.0. Use when upgrading better-result across the TaggedError syntax, removed Result serialization helpers, recovery inference, matching, or retry APIs.

dmmulroy/better-result · 52 tokens