Agent skill

Typesafe AI

by OpenAgentsInc in OpenAgentsInc/openagents

Build AI-powered software with TypeSafe: small units of AI intelligence you can use like programming primitives.

MITAuto-check passedAgent Workflows

Install Typesafe AI

skills CLI
$ npx skills add OpenAgentsInc/openagents --skill typesafe-ai -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenAgentsInc/openagents typesafe-ai --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenAgentsInc/openagents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/typesafe-ai .claude/skills/typesafe-ai && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
typesafe-ai
GitHub stars
455
Used in
9 other repos
Token cost
~2.5k tokens
SKILL.md length
1,121 words
Files
2
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Build AI-powered software with TypeSafe: small units of AI intelligence you can use like programming primitives.

  • A feature needs programmable common sense
  • SKILL.md covers Read the live docs, Find the useful shape, Design the judgments and Compose and verify
  • Reaches docs.typesafe.ai
  • Brainstorming what AI could make possible in an app

What it does

Typesafe AI is an agent skill from OpenAgentsInc/openagents. Build AI-powered software with TypeSafe: small units of AI intelligence you can use like programming primitives. Its System One models, including Jev, turn natural language and application state into typed judgments and probabilities that code can combine. Use when a feature needs programmable common sense, when brainstorming what AI could make possible in an app, or when an LLM prompt-and-parse step could become a structured decision. Applications include routing, ranking, extraction, verification, and…

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.

It sits in Agent Workflows, covering Brainstorming. The licence is MIT.

When your agent uses it

  • A feature needs programmable common sense
  • Brainstorming what AI could make possible in an app
  • An LLM prompt-and-parse step could become a structured decision

Example prompts

  • “/typesafe-ai”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit ad29644. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • docs.typesafe.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Typesafe AI loads about 2.5k tokens when it runs. Until then it costs about 168 tokens; SKILL.md has 1,121 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~168
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OpenAgentsInc/openagents at commit ad29644, republished under its MIT licence (© OpenAgentsInc). 1,121 words, ~2,509 tokens.

Download SKILL.mdSave it as .claude/skills/typesafe-ai/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
typesafe-ai
description
Build AI-powered software with TypeSafe: small units of AI intelligence you can use like programming primitives. Its System One models, including Jev, turn natural language and application state into typed judgments and probabilities that code can combine. Use when a feature needs programmable common sense, when brainstorming what AI could make possible in an app, or when an LLM prompt-and-parse step could become a structured decision. Applications include routing, ranking, extraction, verification, and interactive experiences; these are starting points, not the limits. Read live docs and cookbooks to find useful patterns and discover new combinations.
license
MIT

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.
TaskStart here; follow the relevant details
Understand the programming modelSystem One, building guide
Explore what to buildUse-case map, then relevant cookbooks from the index
Prepare inputs and questionsState, primitives, then the chosen primitive's page
Decide how to handle uncertaintyConfidence
Write API codeHTTP API, Python SDK, or JavaScript SDK
Update an older integrationMigration guide and the installed SDK's current reference

Find the useful shape

Start from the behavior the user wants: what will the application show, select, change, or hand off? Work backward to the judgments it needs. Keep known rules, calculations, exact lookups, and execution in code. Preserve the user's chosen stack and scope; add TypeSafe where semantic understanding helps.

When brainstorming or choosing an architecture, consider more than classification. The patterns below are starting points: combine primitives around the user's goal, including ideas that do not fit an established recipe.

  • Route and fill known arguments. A request can select a handler and its typed parameters. Ask useful branch-specific questions up front and consume only the relevant answers. Explore function calling and speculative fan-out.
  • Select instead of generate. Find candidate values or source spans in code, use a judgment to select the intended one, then copy or normalize it. Code can also assemble source text into a formatted document or reading guide. Explore value extraction and structure recovery.
  • Find and judge evidence. Retrieve candidates, compare their relevance to a query, and select useful context. Explore reranking and hierarchical classification.
  • Turn judgments into reusable data. Score dimensions once, then let code or user controls change weights, thresholds, rankings, and views. With labeled outcomes, those signals can become classical ML features. Explore composite scoring and feature discovery.
  • Verify and escalate. Check specific claims or fields against their evidence; send uncertain or failing cases to a person or reasoning model. Explore citation checks and extraction cascades.
  • Respond to changing state. Code can retain goals and observations while fresh judgments guide the next bounded step. Keep inferred state distinct from observed facts, and check freshness before applying a result to a changed situation.

For open-ended requests, offer the few directions that best serve the user's goal and recommend a starting point. For a concrete request, choose the relevant pattern and build; a brainstorm is not a mandatory detour.

Show full SKILL.md (486 more words)Show less

Design the judgments

Choose by what the answer means, then read the relevant primitive page:

NeedPrimitiveImportant distinction
One of a defined setChoicePicks one option; its distribution compares competing options
Whether a condition holdsNoulProbability of yes; no separate confidence; use one per label when several may apply
Degree along a described dimensionScoreProbability-weighted position on ordered levels; use comparable per-item Scores for graded ranking

Give each question enough relevant state to answer: source text, identities, relationships, policies, and current facts. Prefer named JSON fields when context has several parts. Put the judgment in instructions and define its possible answers in criteria. Question IDs are for code and are not sent to the model; include complete meaning in the question. Reference nested state with backticked paths such as ticket.messages[0].text.

Ask one narrow, coherent judgment per question. Split independently useful dimensions, without destroying the relationship being judged. A bounded action selection or contextual interpretation is valid; atomic does not mean literal fact extraction or a one-sentence limit. Strings work for simple questions. Use structured objects or arrays when definitions, contrasts, exclusions, or examples clarify instructions or criteria. Score levels must describe concrete situations and stand on their own.

Keep the needed answers available. Include a no-match outcome when nothing may fit; use a separate presence judgment when it is independently useful. For source-value selection, check candidate coverage: the model cannot choose an omitted value.

Compose and verify

Ask independent questions over the same state together, including useful speculative questions. They run in parallel and cannot see one another's answers. State each speculative premise explicitly; code consumes the applicable answers. A second request is warranted when an earlier answer is needed to fetch evidence, construct new state, or determine the next options. Extra questions still use tokens; measure actual request budgets, cost, and end-to-end latency.

Use probabilities and confidence to guide behavior, with thresholds evaluated on the user's data and consequences. Choice/Score confidence summarizes distribution concentration, not overall workflow correctness or permission to act. A Noul near 0.5 means similar probability for yes and no, not medium intensity. Several acceptable alternatives can also spread probability; low confidence need not invalidate a harmless preference choice. Ignore uncertainty on unused branches.

Keep policy explicit and raw judgments reusable. Weighted scores suit compensating preferences; an “any serious violation” rule needs separate conditions. Changing a weight or display filter need not rerun inference when evidence and question meanings are unchanged. Typed output guarantees the interface, not truth. System One models are trained for calibrated decisions; validate their performance in the target domain.

Test representative cases and the resulting application behavior. For failures, inspect the exact state, questions, candidates, answers, composition, and observed outcome. Separate missing evidence, model errors, code errors, and service failures. Treat cookbook thresholds and demo results as examples to evaluate, not universal rules or permanent model limitations. Keep API credentials server-side in web apps.

© OpenAgentsInc, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/typesafe-ai of OpenAgentsInc/openagents.

  • SKILL.md
  • LICENSE

Open the folder on GitHubat commit ad29644

Used in 9 other repositories

We found 9 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 9 other GitHub owners. This page covers the copy in OpenAgentsInc/openagents, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Typesafe AI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Typesafe AI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Typesafe AI this skillOpenAgentsInc/openagents4559 repos~2.5kAutomated safety check: PassMIT
Brainstormingxpinjection/test-driven-spring-boot11254 repos~2.6kAutomated safety check: PassMIT
LLM Councilgcpdev/llm-council-skill4611 repos~1kAutomated safety check: NotesMIT
Yao Meta Skillyaojingang/yao-meta-skill2.7k—~768Automated safety check: PassMIT
Trellis StartROYIANS/foliq-print-template-designer1356 repos~646Automated safety check: PassMIT
Brainstorming Before BuildingjnMetaCode/superpowers-zh8.3k—~1.8kAutomated safety check: PassMIT

Similar skills

  • Brainstorming

    xpinjection/test-driven-spring-boot

    You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.

    112 GitHub starsUsed in 54 repos~2.6k tokens
    Agent WorkflowsAuto-check passed
  • LLM Council

    gcpdev/llm-council-skill

    Multi-LLM collaborative brainstorming and planning. An agent skill from gcpdev/llm-council-skill.

    461 GitHub starsUsed in 1 repo~1k tokens
    Agent WorkflowsAuto-check: notes
  • Yao Meta Skill

    yaojingang/yao-meta-skill

    Create, improve, or evaluate an existing skill from workflows, prompts, SOPs, scripts.

    2.7k GitHub stars~768 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Trellis Start

    ROYIANS/foliq-print-template-designer

    Initializes an AI development session by reading workflow guides, developer identity, git status, active tasks, and project guidelines from .trellis/.

    135 GitHub starsUsed in 6 repos~646 tokens
    Agent WorkflowsAuto-check passed
  • Brainstorming Before Building

    jnMetaCode/superpowers-zh

    Turns a rough idea into an approved design before any code is written, sorting the request into spike, bounded or architectural and enforcing an approval gate.

    8.3k GitHub stars~1.8k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed
  • Om Brainstorm

    go-musicfox/go-musicfox

    Divergent conversation before any artifact exists — open questions one at a time, alternatives including building nothing, converging on a routing decision and a handoff brief for the next skill.

    2.6k GitHub starsUsed in 1 repo~1.6k tokens
    Agent WorkflowsAuto-check passed

More from OpenAgentsInc/openagents

  • Decision API

    OpenAgentsInc/openagents

    Call the OpenAgents decision API: authenticate with an oak bearer key, post state + typed questions to POST /v1/systemone, read Noul, Choice, and Score answers with their probabilities, and handle…

    455 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Google Developer Style

    OpenAgentsInc/openagents

    Apply the Google Developer Documentation Style Guide to user-facing docs, READMEs, AGENTS.md, and commit messages.

    455 GitHub stars~630 tokensUpdated today
    Auto-check passed
  • Openagents Decision API

    OpenAgentsInc/openagents

    Authenticate to and call the OpenAgents decision API — typed decisions, batch classification, durable jobs, and the bundled documentation — through the oak CLI, the oak-mcp server, or raw HTTP.

    455 GitHub stars~680 tokensUpdated today
    Auto-check passed
  • Nostr

    OpenAgentsInc/openagents

    How Nostr works in this repository: the three NIP lanes under nips/, the wire protocol (NIP-01), relay authentication (NIP-42), payload encryption (NIP-44), the Block agent NIPs the relay serves…

    455 GitHub stars~6.2k tokensUpdated today
    Auto-check passed

Categories

Questions about Typesafe AI

What does Typesafe AI do?

Build AI-powered software with TypeSafe: small units of AI intelligence you can use like programming primitives. Typesafe AI is an agent skill from OpenAgentsInc/openagents. Build AI-powered software with TypeSafe: small units of AI intelligence you can use like programming primitives.

When should I use Typesafe AI?

Typesafe AI fits situations like: A feature needs programmable common sense; brainstorming what AI could make possible in an app; an LLM prompt-and-parse step could become a structured decision.

How do I install Typesafe AI in Claude Code?

Run `npx skills add OpenAgentsInc/openagents --skill typesafe-ai -a claude-code`. Or copy the skill folder (.agents/skills/typesafe-ai in OpenAgentsInc/openagents) into .claude/skills/typesafe-ai in your project. Claude Code loads it when a task matches its description.

How do I install Typesafe AI in Codex?

Run `npx skills add OpenAgentsInc/openagents --skill typesafe-ai -a codex`. Or copy the skill folder (.agents/skills/typesafe-ai in OpenAgentsInc/openagents) into .agents/skills/typesafe-ai in your project. Codex loads it when a task matches its description.

Can I use Typesafe AI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenAgentsInc/openagents --skill typesafe-ai -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/typesafe-ai, .gemini/skills/typesafe-ai, .github/skills/typesafe-ai and .opencode/skills/typesafe-ai in your project.

What does Typesafe AI need to run?

SKILL.md names no scripts, command-line tools or credentials: Typesafe AI is instructions for the agent only. Our summary lists: Python 3.

Does Typesafe AI access the network?

SKILL.md names 1 domain. In commands or code: docs.typesafe.ai; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Typesafe AI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Typesafe AI use?

Typesafe AI is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Typesafe AI use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Typesafe AI?

Skills that share tags, products or a category with Typesafe AI: Brainstorming (xpinjection/test-driven-spring-boot, 112 stars), LLM Council (gcpdev/llm-council-skill, 461 stars), Yao Meta Skill (yaojingang/yao-meta-skill, 2.7k stars) and Trellis Start (ROYIANS/foliq-print-template-designer, 135 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Typesafe AI?

OpenAgentsInc (a GitHub organization) maintains it in OpenAgentsInc/openagents, which has 455 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 8, 2026.

Source: OpenAgentsInc/openagents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.