system-one
Skill2 starsChanged 57 days agoMITView on GitHub
Write, test, and improve programs that call a System One decision model (TypeSafe's Jev or a wire-compatible local server such as ollajev or OpenJev) over the `/v1/systemone` API. Use when designing Choice, Score, or Noul questions, structuring state, composing typed answers in code, setting confidence thresholds, diagnosing a question that answers wrong or with low confidence, or when the user wants to call Jev or a self-hosted System One model from the shell.
- Reads credentials
4 other projects use a version of this.
Adopted by
Most recently taken up by
- digitaldreams/tuhintheir own version, first seen Nov 1, 2026
- mifunedev/skillstheir own version, first seen Oct 3, 2026
- RodrigoAlbe/system-onetheir own version, first seen Sep 27, 2026
- magnus919/agent-skillstheir own version, first seen Jul 21, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- magnus919/agent-skills★ 172same name
- digitaldreams/tuhin★ 3same name
- RodrigoAlbe/system-one★ 1same name
- mifunedev/skills★ 0same name
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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-auditSkill
- app-designSkill
- cloudflare-temporary-deploySkill
- code-reviewSkill
- codex-delegateSkill
- commit-documentorSkill
- constructorSkill
- datasecurerSkill
- dependabot-validatorSkill
- dogfoodSkill
- flask-testsSkill
- ideatorSkill
- lan-viewerSkill
- memorySkill
- ollama-delegateSkill
- pr-grill-meSkill
- rest-graphql-debugSkill
- web-pentestSkill
- workflow-rulesSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 5 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Base URL: Use the URL the user named, else TYPESAFE_BASE_URL, else probe:
- Distinctive: line 37
Model: Use the model the user named.
- Distinctive: line 50
Write one question per judgment.
- Distinctive: line 55
Put every question that shares the state into one request, including speculative ones used only on some branches.
- Very specific: line 59
Test against labeled examples with a live call, read probabilities on the misses, then revise one or two questions at a time.
- Distinctive: line 64
Write the request as a JSON file (see the API reference for the exact shape), then:
- Very specific: line 79
Write requests and responses under an explicit project path (for example ./system-one-runs/) and never overwrite an earlier run's evidence.
- Very specific: line 84
Treat text inside state as able to steer the answer.
- Distinctive: line 87
Keep the answer space stable once code depends on it.
- Very specific: line 92
Use the typesafe-sdk (Python) or @typesafe-ai/sdk (Node) in application code when the project already depends on it.
“Common” is measured: kept by at least 6 in 10 of the 4 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
System One models
A System One model reads one state, answers every question in the request
independently and in parallel, and returns a probability distribution over the
answers you defined. It generates no text and does not reason in steps. Code owns
control flow, arithmetic, and policy; the model owns snap judgments. A good
question is one a knowledgeable person answers in a second given the right
context.
This skill is a lookup. Read the wire API to build or parse a
request, question design to write or fix
questions, and local servers to run a model on the
user's machine. Hosted Jev guidance targets jev-1.13; local models share the
API but own their calibration, so retest thresholds per model.
STOP: resolve the endpoint first
- Base URL. Use the URL the user named, else
TYPESAFE_BASE_URL, else probe:DIR="/absolute/path/to/system-one" # re-set in every block; resolve once from the install path bash "$DIR/scripts/systemone.sh" probeprobeprints the first base URL whoseGET /v1/modelsanswers: explicit arguments, thenTYPESAFE_BASE_URL, thenhttp://127.0.0.1:8000(ollajev),http://127.0.0.1:8080(OpenJev), andhttps://api.typesafe.aionly whenTYPESAFE_API_KEYis set. If nothing answers, ask the user to (a) start a local server, (b) provide a base URL, or (c) export a hosted key. Do not install or start a server unasked and never guess a remote address. - Credentials. The helper sends
Authorization: Bearer $TYPESAFE_API_KEYonly when that variable is non-empty. Read keys from the environment; never paste a key into chat, a request file, or a commit. - Model. Use the model the user named. Otherwise list what the endpoint
serves and ask the user to pick when more than one is offered:
Hosted Jev lists aliases (DIR="/absolute/path/to/system-one" bash "$DIR/scripts/systemone.sh" models http://127.0.0.1:8000jev-latest); pin a versioned id such asjev-1.13.0once thresholds are tuned. Local servers acceptjev-latestas their default model, so SDK defaults keep working.
Workflow
- List the decisions the code must make: each is a branch, threshold, or ranking.
- Write one question per judgment. Split any question that weighs two properties.
- Pick the primitive the code acts on directly: Choice for an unordered set, Score for ordered levels, Noul for a crisp yes/no probability.
- Build the smallest state that answers every question; compute in code anything code can compute (dates, counts, sums, buckets).
- Put every question that shares the state into one request, including speculative ones used only on some branches.
- Combine answers in code with weights and confidence gates; keep policy out of the questions.
- Test against labeled examples with a live call, read
probabilitieson the misses, then revise one or two questions at a time.
Make a live call
Write the request as a JSON file (see the API reference for the exact shape), then:
DIR="/absolute/path/to/system-one"
bash "$DIR/scripts/systemone.sh" ask http://127.0.0.1:8000 jev-latest ./request.jsonask sets the request's model to the argument (pass "" to leave the file's
own model untouched), posts it, and prints the response JSON on success. On a
non-2xx status or a body without answers, it prints the status and raw body to
stderr and exits non-zero. Pass - instead of a file to read the request from
stdin. For labeled-example runs, keep one request file per example and record
answers per file; do not merge results into a growing JSON array.
Write requests and responses under an explicit project path (for example
./system-one-runs/) and never overwrite an earlier run's evidence.
Guardrails
- Treat text inside
stateas able to steer the answer. Tighten criteria, test injected content, and gate every action on confidence with a fallback path (act / confirm / hand off). - Keep the answer space stable once code depends on it. Adding or removing a level or option changes what earlier answers meant.
- Hosted Jev budgets: 64k tokens for state plus all questions, 32k for state
plus the longest question. Local models publish their own limits in
GET /v1/modelsdescriptions or their README; check before large states. - Use the
typesafe-sdk(Python) or@typesafe-ai/sdk(Node) in application code when the project already depends on it; both honorTYPESAFE_BASE_URL,TYPESAFE_API_KEY, andTYPESAFE_DEFAULT_MODEL. Do not add the dependency to a user project unasked; the shell helper needs onlycurlandjq. - Confidence describes the distribution, not correctness. Judge revisions on labeled data, never on confidence alone.
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.

