sw-jev

sw-jev is a skill for Claude Code, Codex from anton-abyzov/specweave. It costs 38 tokens per session (2,603 once invoked), scanned C, original, MIT.

A small decision service for questions whose possible answers are known in advance. It chooses from named options, estimates whether a statement is true, or scores something on an ordered scale; it does not write code or explanations.

In plain words
What is it for?
Use it for skill or task routing, yes-or-no safety checks, text screening, failure classification, and graded risk or severity decisions. The information sent includes the decision context and is screened for secret-shaped values.
Why use it?
It provides a quick, consistent way to make limited choices such as routing work, checking command safety, or classifying failures. It is not suitable when the answer needs open-ended reasoning or generated text.

Skill for Claude CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also agents/openai.yaml present. Also seen: mentions Claude Code.

Good fit Use it for skill or task routing, yes-or-no safety checks, text screening, failure classification, and graded risk or severity decisions. The information sent includes the decision context and is screened for secret-shaped values.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anton-abyzov/specweave/sw-jev
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 anton-abyzov/specweave --skill sw-jev
Clone the repo
git clone --depth 1 https://github.com/anton-abyzov/specweave

Made for: Claude Code, Codex.

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 sw-jev

README.md
[![agentmods](https://agentmods.dev/badge/skills/anton-abyzov/specweave/sw-jev/github.svg)](https://agentmods.dev/skills/anton-abyzov/specweave/sw-jev)
Your own site
<a href="https://agentmods.dev/skills/anton-abyzov/specweave/sw-jev"><img src="https://agentmods.dev/badge/skills/anton-abyzov/specweave/sw-jev/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 sw-jev

Your own site · 80×15
<a href="https://agentmods.dev/skills/anton-abyzov/specweave/sw-jev"><img src="https://agentmods.dev/badge/skills/anton-abyzov/specweave/sw-jev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,603 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00038 $0.02603
Opus 5.5 $0.00015 $0.01041
Sonnet 5.5 $0.00008 $0.00521
Haiku 4.5 $0.00004 $0.00260

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

Security

Grade C, and why

sw-jev scanned grade C with 2 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 1mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

`specweave jev guard "rm -rf ./build"` exits 0 allow, 2 warn, 3 deny, 4 unavailable. Call it yourself before

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

not found → **manual path** (the same POST by hand; curl and PowerShell forms below).
skills/sw-jev/SKILL.md · 151 lines

How it starts

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

sw-jev — bounded decisions

These selection models evaluate state against questions whose answers are enumerated in advance and return probabilities. Measure latency, cost and error rates on your own fixtures before enabling routing. It cannot answer outside your schema and never writes code, prose or explanations. Run specweave --version: exit 0 → CLI path; not found → manual path (the same POST by hand; curl and PowerShell forms below).

The one test

Can every possible answer be written down before the call? Yes → Jev. No → keep it in the frontier model. That is the whole rule. Three primitives: choice picks one of 2–255 named options and returns probabilities plus a confidence; noul returns the probability a statement is true (0–1), for yes/no gates; score places the state on 2–10 described, ordered levels, for graded severity or risk.

What leaves the machine

Every call sends its state — prompt text, task titles and acceptance criteria, the shell command, test-output tails, screened text, page text and element names — to the configured provider (OpenRouter, TypeSafe or OpenAI) under your own key. Secret-shaped values (tokens, --password/--token flags, KEY=value assignments, bearer headers, URL credentials) are masked heuristically first and the count is reported, but masking is best-effort, never a guarantee.

Setup

Key in the environment: OPENROUTER_API_KEY (endpoint https://openrouter.ai/api/v1/systemone, model jev-1.13) or TYPESAFE_API_KEY (https://api.typesafe.ai/v1/systemone, model jev-latest), or OPENAI_API_KEY (https://api.openai.com/v1/decisions, model gpt-6-luna). JEV_API_KEY is a fallback for all three providers. Never print, echo, log or commit the value — report the variable name only. CLI: specweave jev setup pings live, then writes jev.enabled: true into .specweave/config.json. Manual path: confirm the variable exists without printing it (grep -q OPENROUTER_API_KEY .env, PowerShell Select-String -Quiet), then set "jev": { "enabled": true } in .specweave/config.json yourself.

Read the full file on GitHub · 151 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. 1mo ago Changed · +1 lines d13d4c887611
  2. 1mo ago Changed · +2 lines 9b7ada73a7a7
  3. 1mo ago Changed · -2 lines · -8 tokens per session 104ca43b2d52
  4. 2mo ago Changed 9de4763ad2ab
  5. 2mo ago First seen · 150 lines · 46 tokens per session scan C d64e60e5c93a

Subscribe to this mod's changes

sw-jev is a skill published in the GitHub repository anton-abyzov/specweave (178 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 2,603 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-22.

Related

sw-jev compared with skills from other repositories

sw-jev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sw-jevanton-abyzov/specweaveSkill178yesterdayMITC38Claude Code, Codex
docveritydeveshagarwal/docveritySkill25mo agoMITA84Claude Code, Codex
execute-use-casejeunessegamesee/clewSkill03mo agoMITA46Claude Code, Codex
code_explorergoogle-gemini/gemini-cliSkill109ktodayApache-2.0A28Gemini CLI
test-failure-explorerQwenLM/qwen-codeSkill31ktodayApache-2.0A32Claude Code, Codex
smiles-validationsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A24Claude Code, Codex
pr-autofixAtomicBot-ai/atomic-agentSkill3.6kyesterdayMITA45Claude Code, Codex