typesafe-ai
Skill0 starsChanged 26 days agoMITView on GitHub
Use TypeSafe AI System One (Jev) for typed semantic judgments—Noul yes/no probabilities, closed-set Choice, and ordered Score—through TypeSafe's own API and TYPESAFE_API_KEY. Use when integrating, operating, or troubleshooting TypeSafe/Jev, especially in Shelf Radar and chuhai-cloud; do not use for text generation.
- Reads credentials
36 other projects use a version of this.
Adopted by
Most recently taken up by
- pronvis/skillstheir own version, first seen Nov 15, 2026
- compozy/compozytheir own version, first seen Nov 13, 2026
- dzhng/jevgreptheir own version, first seen Nov 11, 2026
- steveu/skillstheir own version, first seen Nov 8, 2026
- DAAF-Contribution-Community/daaftheir own version, first seen Nov 8, 2026
- githubnext/chopintheir own version, first seen Nov 8, 2026
Used with
Projects with it also use computer-use, diagnosing-bugs and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
HK-hubSkillcomputer-use
Use Orca's computer-use CLI to inspect and operate local desktop app windows through accessibility trees, screenshots, and safe UI actions. Use for desktop app interaction: list apps/windows, get app state, read visible UI, click controls, type, press keys, scroll, drag, set values, or perform accessibility actions. Also use for browser windows, webviews, Orca app UI, or other desktop UI. Triggers include "computer use", "orca computer", "read Spotify", "read Slack", "control/click/read in a desktop app", and "get app state".
Also in 3 projects that use this
GoogleSkilldiagnosing-bugs
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.
Also in 3 projects that use this
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 4 projects that use this
GoogleSkillcodebase-design
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
Also in 3 projects that use this
MicrosoftSkillgrill-with-docs
Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.
Also in 3 projects that use this
VercelSkillfind-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Also in 3 projects that use this
- +3 more from google
Other versions36 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 36
- dzhng/jevgrep★ 3.2ksame name
- compozy/compozy★ 2.9ksame name
- typesafe-ai/skills★ 2.8ksame name
- githubnext/chopin★ 616same name
- DAAF-Contribution-Community/daaf★ 239same name
- nidhi-singh02/agent-router★ 124same name
- baldaworks/callee★ 78same name
- KenSuh/open-agent-harness★ 30same name
- wundercorp/loki★ 28same name
- aymericbeaumet/dotfiles★ 22same name
26 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- ai-native-mihomoSkill
- ai-native-proof-ledgerSkill
- clerk-authSkill
- cloudflare-cost-guardSkill
- design-md-visual-systemSkill
- doubao-ttsSkill
- fleet-orchSkill
- geo-job-huntSkill
- github-telegram-feedback-pipelineSkill
- interactive-projects-streamSkill
- landing-page-replication-v5Skill
- seo-masterSkill
- talkcutSkill
- video-script-conversionSkill
- webgl-threejs-background-animationSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 36 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Prefer explicit per-project loading.
- Distinctive: line 23
Do not assume price/free quota from old Gateway documentation.
- Distinctive: line 56
Use replay fixtures for ordinary tests.
- Very specific: line 60
Start with https://docs.typesafe.ai/llms.txt when current API details are needed.
“Common” is measured: kept by at least 6 in 10 of the 36 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TypeSafe System One / Jev
Jev is TypeSafe's System One model: state in, typed judgments with probabilities out. It is not a text-generating LLM. Code owns execution and validation; Jev supplies narrow semantic decisions.
Route and credentials — direct only
Owner decision, 2026-10-22: use TypeSafe's own API only. Vercel Gateway is disabled (no credits). Do not select it, load its archived key, or fall back to it. A Gateway billing failure is not a TypeSafe failure.
- HTTP:
POST https://api.typesafe.ai/v1/systemone. - Model:
jev-latest; record the actual model version returned. - Credential:
TYPESAFE_API_KEY. - SDK base:
https://api.typesafe.ai(SDK appends/v1/systemone). - Local verified key file:
~/.agents/secrets/typesafe.env, mode 0600. - SG verified key file:
~/.agents/secrets/jev.env, mode 0600; Shelf lab symlink~/.config/shelf-radar/semantic-lab/jev.env. - These absolute home directories differ by host; verify existence and names without printing values. Do not assume SG lacks a key or upload another copy before checking.
- Prefer explicit per-project loading. Never print keys, provider exception bodies, Authorization headers, or secret ENV file contents.
- Do not assume price/free quota from old Gateway documentation. Usage tokens are not actual billing. Keep bounded call budgets and existing cumulative ledgers; no reset to manufacture budget.
Request / response
POST https://api.typesafe.ai/v1/systemone
Authorization: Bearer $TYPESAFE_API_KEY
Content-Type: application/json
{"model":"jev-latest","state":{"query":"德国的收纳"},"questions":{"market":{"type":"choice","instructions":"Which source market is explicitly requested?","criteria":{"DE":"Germany","FR":"France","none":"Not specified","other":"Another market"}}}}- Question IDs are code identifiers, not model-visible instructions.
- Choice:
criteriais a map of option → description, not anoptionsarray. Returnschoice,probabilities,confidence. Include unspecified/unsupported choices where needed. - Noul: a yes/no question, returns
noulin 0..1; no separate confidence. - Score: ordered 2–10 levels, returns score and probability distribution.
- Response includes actual
modelandusage.input_tokens/output_tokens. - Batch independent questions in one request; each question receives the state. Record actual token usage rather than assuming batching is free.
- 401: authentication; 422: request contract; 429/529: rate limit/overload. Use explicit bounded retry policy; do not silently switch providers.
Official SDK
Python: typesafe-sdk, TypeSafeClient(api_key=..., base_url="https://api.typesafe.ai", model="jev-latest"); system_one(state=..., questions={...}). Use SDK Choice(instructions=..., criteria={...}), Noul, Score, and explicit timeout/retry limits. Reuse existing installed SDK before adding dependencies.
JS: @typesafe-ai/sdk. Verify installed version-matched APIs before coding.
Integration discipline
- Inspect existing adapter and callers; do not duplicate a provider control plane.
- Send only the task state and supported candidates. Validate every returned field before executing anything.
- Preserve verbatim source values and distinguish extraction, semantic judgment, and deterministic execution.
- Calibrate adoption on held-out examples. A minimum over every unrelated field can reject all useful answers; do not lower thresholds merely to improve development scores.
- Provider unavailable / low confidence must have explicit behavior; a silent fallback with zero accepted model answers is not a shipped semantic improvement.
- Use replay fixtures for ordinary tests. Live tests need bounded authorization, retained usage and no secret logs.
Documentation
Start with https://docs.typesafe.ai/llms.txt when current API details are needed. Relevant pages: /primitives/choice.md, /primitives/noul.md, /primitives/score.md, /confidence.md, /patterns/intent-routing.md, /cookbooks/pre_parsed_value_extraction_cookbook.md.
Host/product code may still contain a historical Gateway-first adapter. That is stale implementation, not permission to use the disabled route; adjust the owning adapter under its project's change rules. Do not change unrelated production services while fixing a Skill.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

