Teach your coding agent to build with Valen: typed decisions and probabilities over text, images and video.
English · 简体中文
Read SKILL.md · Documentation · llms.txt
claude plugin marketplace add Valen-Team/skills
claude plugin install valen@valen-teamcodex plugin marketplace add Valen-Team/skills
codex plugin add valen@valen-teamOr copy skills/valen/ into ~/.codex/skills/valen/ (all projects) or .agents/skills/valen/ in a project. Codex lists it as valen:valen when installed as a plugin and valen when copied; mention Valen in your request, or name the skill.
npx skills add Valen-Team/skills --skill valenSelect your agent when prompted. Installation is project-local by default; add -g to install globally.
Copy skills/valen/ into your agent's skills directory, for example .claude/skills/valen/ in a project.
Ask your agent, for example:
Use Valen to screen product photos for watermarks, logos and blur, and send uncertain listings to human review.
Replace the keyword rules in
router.pywith Valen questions, with anoneroute for messages that fit no queue.
In Claude Code, invoke the skill explicitly with /valen:valen; in Codex, ask for $valen or name the skill.
| Skill | Purpose |
|---|---|
| valen | Design Valen integrations: decision logic, state and image design, question and candidate wording, request composition, thresholds, runtime choice, and pointers to the live docs |
We gave coding agents a one-page brief (route support messages, sort image uploads, tag video clips), let them build, then ran each agent's first version, unchanged, against Valen and five LLMs.
- Valen comes within a few points of frontier LLMs, free. First versions built with the skill average 93.0 on Valen-Decision-1.5 4B and 2B, against 94–96 on GPT, Gemini and Claude Sonnet.
- The skill keeps the first version from breaking. Without it, one of 6 first versions failed on Valen: it sent eight video frames per request to an endpoint that takes one, and scored 0. With the skill, all 9 held up, the worst scoring 83.8 on 0.8B and 91.6 on 2B. LLMs accept eight images, so the same mistake costs them little.
| Model answering the integration's questions | First version with the skill | Worst first version, with skill | Worst, without skill | Cost per 1,000 items, list price | Median time per item |
|---|---|---|---|---|---|
| Valen-Decision-1.5 4B | 93.0 | 87.9 | 0.0 | $0 | 6.3 s |
| Valen-Decision-1.5 2B | 93.0 | 91.6 | 0.0 | $0 | 6.6 s |
| Valen-Decision-1.5 0.8B | 87.8 | 83.8 | 0.0 | $0 | 4.6 s |
| Claude Sonnet 5.5 | 96.1 | 92.2 | 89.5 | $1.93* | 6.8 s |
| GPT-6 Luna | 95.5 | 90.1 | 89.9 | $0.24 | 6.0 s |
| GPT-5.6 Terra | 94.1 | 85.4 | 84.7 | $12.22 | 7.4 s |
| Gemini 3.8 Flash | 94.0 | 86.8 | 89.7 | $2.17 | 6.3 s |
| Claude Haiku 4.5 | 84.9 | 79.0 | 78.5 | $1.74* | 6.7 s |
Balanced accuracy on 195 unseen items (60 messages, 90 images, 45 videos), from 9 first versions with the skill and 6 without, written by Claude Code and Codex. Every row runs the same agent-written code; only the model answering its questions changes. How we measured.
* Counts the tokens our gateway billed, which leave out Claude's image inputs; Anthropic's direct pricing adds them.
- Build a support router with the agent skill: what an agent built from a one-page brief, scored on unseen messages.
evals/: text, image and video tasks that measure the skill, with and without it installed.
