typesafe-ai

typesafe-ai is a skill for Claude Code, Codex from nicknisi/dotfiles. It costs 123 tokens per session (2,065 once invoked), scanned A, original, MIT.

A guide for building software with TypeSafe's AI models, which return typed judgments and probabilities that programs can use directly.

In plain words
What is it for?
It helps find the relevant TypeSafe documentation and build features that need programmable judgments about language or application state.
Why use it?
It helps developers use language understanding inside ordinary program logic without making the model responsible for the whole workflow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps find the relevant TypeSafe documentation and build features that need programmable judgments about language or application state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nicknisi/dotfiles/typesafe-ai
About the project

nicknisi/dotfiles is a personal collection of configuration files and setup scripts for tools such as Neovim, zsh, Git, tmux, and Homebrew. It helps its author bootstrap and maintain a development machine, with a devcontainer for checking portable terminal settings. The catalogue entries extend the repository’s setup and coding-agent workflow.

nicknisi/dotfiles · 2,999 stars · on GitHub

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 nicknisi/dotfiles --skill typesafe-ai
Clone the repo
git clone --depth 1 https://github.com/nicknisi/dotfiles

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicknisi/dotfiles/typesafe-ai/github.svg)](https://agentmods.dev/skills/nicknisi/dotfiles/typesafe-ai)
Your own site
<a href="https://agentmods.dev/skills/nicknisi/dotfiles/typesafe-ai"><img src="https://agentmods.dev/badge/skills/nicknisi/dotfiles/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/nicknisi/dotfiles/typesafe-ai"><img src="https://agentmods.dev/badge/skills/nicknisi/dotfiles/typesafe-ai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,065 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 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.00123 $0.02065
Opus 5.5 $0.00049 $0.00826
Sonnet 5.5 $0.00025 $0.00413
Haiku 4.5 $0.00012 $0.00206

Measured 23d ago against content hash 71ea90d7906c, 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 23d 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

Copies of this mod

8 near-identical copies found in the catalogue:

home/.pi/agent/skills/typesafe-ai/SKILL.md · 150 lines

How it starts

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

Build with TypeSafe

TypeSafe makes units of AI intelligence usable like programming primitives: small judgments you can compose into larger capabilities. Its System One models return fast, focused judgments that software can consume directly. Jev is TypeSafe's flagship and first System One model. It understands natural language and returns typed answers and probabilities rather than generating text or reasoning explanations. Code owns the workflow; the model supplies programmable common sense where ordinary code needs semantic understanding.

Read the live docs

The live TypeSafe docs are the source of truth. Read them as part of the task. This skill gives direction; the docs carry current concepts, prompting guidance, API contracts, SDK usage, models, limits, and worked examples.

  • Start with the documentation index to discover relevant pages and cookbooks. Use targeted reads rather than loading the entire site.
  • Mintlify serves Markdown by appending .md to a page path, for example how to build with TypeSafe. Follow links from the index; convert extensionless documentation page links to .md when useful. Resolve relative links against https://docs.typesafe.ai.
  • Before writing an integration, read the current API or chosen SDK page and the question guidance relevant to the design. For a new workflow, also inspect the closest cookbook: it often shows a better decomposition than a generic classifier.
  • If the index is unavailable, use the direct links below or the site's navigation. If Markdown fetching fails, try the normal page. If live access is unavailable, use available local docs or installed SDK types, state that limitation, and avoid inventing version-dependent details.
Task Start here; follow the relevant details
Understand the programming model System One, building guide
Explore what to build Use-case map, then relevant cookbooks from the index
Prepare inputs and questions State, primitives, then the chosen primitive's page
Decide how to handle uncertainty Confidence
Write API code HTTP API, Python SDK, or JavaScript SDK
Update an older integration Migration guide and the installed SDK's current reference

Read the full file on GitHub · 150 lines

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. 23d ago First seen · 150 lines · 123 tokens per session scan A 71ea90d7906c

Subscribe to this mod's changes

typesafe-ai is a skill published in the GitHub repository nicknisi/dotfiles (2,999 stars, last pushed 4d ago), licensed MIT. It adds 123 tokens to every session and 2,065 once invoked, about $0.0005 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-09-23.