typesafe-ai

typesafe-ai is a skill for Claude Code from racecraft-lab/racecraft-plugins-public. It costs 121 tokens per session (5,687 once invoked), scanned A, a copy of typesafe-ai, MIT.

A software tool for turning natural-language questions and application state into typed judgments and probabilities. Typed means the result has a defined kind, such as a choice, score, or yes-or-no answer, that code can use.

In plain words
What is it for?
Use it for programmable decisions such as classifying a ticket, comparing options, or assessing risk when the possible answers can be listed.
Why use it?
It lets an application use a model for bounded decisions without asking the model to write prose or control the whole workflow. The code still defines the process and consumes the result.

Skill for Claude Code

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

Part of the typesafe-jev plugin — 2 skills shipped together

Good fit Use it for programmable decisions such as classifying a ticket, comparing options, or assessing risk when the possible answers can be listed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/racecraft-lab/racecraft-plugins-public/typesafe-ai
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 racecraft-lab/racecraft-plugins-public --skill typesafe-ai
Clone the repo
git clone --depth 1 https://github.com/racecraft-lab/racecraft-plugins-public

Made for: Claude Code.

Or install typesafe-jev, the plugin that ships this one along with the rest of its 2 skills.

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 typesafe-ai

README.md
[![agentmods](https://agentmods.dev/badge/skills/racecraft-lab/racecraft-plugins-public/typesafe-ai/github.svg)](https://agentmods.dev/skills/racecraft-lab/racecraft-plugins-public/typesafe-ai)
Your own site
<a href="https://agentmods.dev/skills/racecraft-lab/racecraft-plugins-public/typesafe-ai"><img src="https://agentmods.dev/badge/skills/racecraft-lab/racecraft-plugins-public/typesafe-ai/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 typesafe-ai

Your own site · 80×15
<a href="https://agentmods.dev/skills/racecraft-lab/racecraft-plugins-public/typesafe-ai"><img src="https://agentmods.dev/badge/skills/racecraft-lab/racecraft-plugins-public/typesafe-ai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,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.
Origin 89% copy Near-identical to another mod 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.00121 $0.05687
Opus 5.5 $0.00048 $0.02275
Sonnet 5.5 $0.00024 $0.01137
Haiku 4.5 $0.00012 $0.00569

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

Security

Grade A, and why

typesafe-ai 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 6d 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.

Origin

This is a copy

89% identical to typesafe-ai — 489 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

typesafe-jev/plugin/shared-skills/typesafe-ai/SKILL.md · 397 lines

How it starts

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

Build with TypeSafe

TypeSafe's Jev, the first public System One model, answers typed questions about state your application supplies. State is the text, images, and application data your code sends with a request. Jev can answer a Choice among options, a Noul (the probability that a statement is true), a Score on levels you describe, or a Box that locates something in an image. Each answer comes back as typed data with calibrated probabilities, for your code to use.

The rest of this skill is guidance: patterns that tend to produce reliable integrations. None of it is absolute. Models change, applications differ, and edge cases exist. When a situation calls for something else, test the alternative and use your judgment.

Make the judgment now, or build an integration

Installed as a plugin, this ships an MCP server exposing one tool, evaluate, that sends state and typed questions to Jev and returns the provider's answers. Installed on its own through skills add, it does not: that path carries skill files and no MCP server. Check that an evaluate tool is actually available before relying on one.

Read the full file on GitHub · 397 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. 6d ago Changed · +1 lines 1a1e79757f6d
  2. 14d ago Changed · +13 lines e886c45a6df4
  3. 15d ago Changed · +2 lines 8e2879492ca6
  4. 16d ago Changed · +131 lines · -28 tokens per session 0dcae4e38bfb
  5. 1mo ago Changed · +23 lines d532564f3bfa
  6. 2mo ago First seen · 227 lines · 149 tokens per session scan A 6e30ac3aa226

Subscribe to this mod's changes

typesafe-ai is a skill published in the GitHub repository racecraft-lab/racecraft-plugins-public (5 stars, last pushed today), licensed MIT. It adds 121 tokens to every session and 5,687 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to typesafe-ai, differing in 489 lines, and is treated as a copy.

Related

typesafe-ai compared with skills from other repositories

typesafe-ai next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
typesafe-airacecraft-lab/racecraft-plugins-publicSkill5todayMITA121Claude Code
gpt-image-2ConardLi/garden-skillsSkill16k12d agoMITA177Claude Code, Codex
ml-kit-genai-prompt-apiandroid/skillsSkill11k8d agoApache-2.0A57Claude Code
vss-benchmark-vlm-qaNVIDIA-AI-Blueprints/video-search-and-summarizationSkill2.0ktodayApache-2.0A80Claude Code, Codex
LQF_Machine_Learning_Expert_Guideforyourhealth111-pixel/Vibe-SkillsSkill3.9k22d agoApache-2.0A152Claude Code
similarity-search-patternsforyourhealth111-pixel/Vibe-SkillsSkill3.9k22d agoApache-2.0A30Claude Code, Codex
nowait-reasoning-optimizerforyourhealth111-pixel/Vibe-SkillsSkill3.9k22d agoApache-2.0A110Claude Code, Codex