typesafe-ai

typesafe-ai is a skill for Claude Code, Codex from rexleimo/aios. It costs 123 tokens per session (2,173 once invoked), scanned A, a copy of typesafe-ai, MIT.

A guide for adding small AI judgments to software through the TypeSafe service. Its models return typed answers and probabilities that ordinary program code can use, rather than producing only a block of generated text.

In plain words
What is it for?
Use it when a feature needs a model to make a structured judgment that code can combine with other logic. It covers finding the relevant TypeSafe documentation and using its models and SDK.
Why use it?
It helps applications handle tasks that are difficult to express with fixed rules, such as interpreting language or application state. The guide directs developers to the current online documentation for APIs, limits, and examples.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions OpenCode.

Good fit Use it when a feature needs a model to make a structured judgment that code can combine with other logic. It covers finding the relevant TypeSafe documentation and using its models and SDK.

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

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/rexleimo/aios/typesafe-ai/github.svg)](https://agentmods.dev/skills/rexleimo/aios/typesafe-ai)
Your own site
<a href="https://agentmods.dev/skills/rexleimo/aios/typesafe-ai"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/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/rexleimo/aios/typesafe-ai"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/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,173 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 100% 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.00123 $0.02173
Opus 5.5 $0.00049 $0.00869
Sonnet 5.5 $0.00025 $0.00435
Haiku 4.5 $0.00012 $0.00217

Measured 26d ago against content hash ac72ba40975a, 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 26d 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

100% identical to typesafe-ai — 8 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.

skill-sources/typesafe-ai/SKILL.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 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 · 158 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. 26d ago Changed ac72ba40975a
  2. 27d ago First seen · 158 lines · 123 tokens per session scan A 864a568d4adc

Subscribe to this mod's changes

typesafe-ai is a skill published in the GitHub repository rexleimo/aios (54 stars, last pushed today), licensed MIT. It adds 123 tokens to every session and 2,173 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to typesafe-ai, differing in 8 lines, and is treated as a copy.

Related

Other skills, from other repositories

building-agent-systems

AI agent and LLM system engineering reference covering single-agent dev (ReAct, tool calling, plan-execute), multi-agent coordination (swarm, role decomposition, file locking), LLM security (prompt injection, jailbreak defense, output filtering), RAG architecture (chunking, hybrid retrieval, rerank), and prompt…

telagod/code-abyss · 110 tokens

engineering-data-pipelines

Data engineering knowledge reference covering Airflow, Dagster, Kafka Streams, Flink, dbt, and data quality patterns. Use when building data pipelines, ETL workflows, stream processing, or data quality checks.

telagod/code-abyss · 48 tokens

ml

Machine learning and LLM engineering judgment, distilled from a stronger model - invoke when DECIDING whether/how to use ML or an LLM for a task (prompt vs RAG vs fine-tune vs classical); working with training/eval data or labels; building or reviewing evals for models and LLM features; designing RAG, structured…

telagod/code-abyss · 114 tokens

yolo-detector

Use when designing or verifying Ultralytics YOLO detection, segmentation, tracking, or pose inference with licensed models and stable JSON outputs.

Hipson47/Hipson · 32 tokens

cv-webapp-starter

Use when starting a Computer Vision web application with Next.js, FastAPI, browser MediaPipe, typed APIs, bounded uploads, and private media handling.

Hipson47/Hipson · 36 tokens

dataset-builder

Use when extracting, labeling, splitting, converting, validating, or versioning Computer Vision datasets with provenance, privacy, and leakage controls.

Hipson47/Hipson · 30 tokens