decisions
Skill0 starsChanged 4 days agoMITView on GitHub
Use when an agent must classify, score, filter, triage, moderate or route many items (leads, invoices, posts, documents, game moves) cheaply, when a user asks to save model tokens or cost with a "decision model" (TypeSafe Jev, System One, Perplexity Decider, Liquid d1), or wants code that makes yes/no, pick-one or rating decisions automatically.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- phant0um/claude-skillstheir own version, first seen Nov 29, 2026
- davidscotttufts/hyvemindtheir own version, first seen Nov 29, 2026
- davidondrej/skillstheir own version, first seen Nov 15, 2026
- scolladon/crafttheir own version, first seen Nov 15, 2026
- BuilderIO/agent-nativetheir own version, first seen Nov 1, 2026
- davidondrej/cloudroom-coretheir own version, first seen Nov 1, 2026
Used with
Projects with it also use file-tree, self-archive and 5 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.
davidondrejSkillfile-tree
Manually-invoked skill that prints a nice file tree of the current topic in a code block. Use when the user says "file-tree" or "file tree".
Also in 3 projects that use this
davidondrejSkillself-archive
Archive the current Cloudroom thread and release its runtime. Use only when the user explicitly asks to self-archive, archive yourself, or archive this thread.
Also in 3 projects that use this
jaydubya818Skillrisky-changes
Validate assumptions behind changes to billing, API data, or defaults.
Also in 3 projects that use this
attentiondotnetSkilldeepapi
Use DeepAPI for scraping and safe email with DEEPAPI_API_BASE_URL and DEEPAPI_API_KEY.
Also in 3 projects that use this
jaydubya818Skilladr-verbatim
Record approved decisions as concise architecture decision records.
Also in 3 projects that use this
attentiondotnetSkillsetup-help
Walk the user through setting up anything step by step. Use when the user asks for help setting up, configuring, installing, or getting something working — "help me set up X", "walk me through this", "setup-help". Differentiator: gives one current step at a time, then always lists every remaining setup step after each response.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- BuilderIO/agent-native★ 7.8ksame name
- davidondrej/skills★ 4.4ksame name
- davidondrej/cloudroom-core★ 2ksame name
- davidondrej/cloudroom★ 2ksame name
- maragudk/skills★ 49same name
- dtiger1889-ops/claude-harness-toolbox★ 37same name
- kamenkurtev/ui-consistency★ 4same name
- apinizer/agentnizer-cookbook★ 2same name
- scolladon/craft★ 2same name
- arbelh/perdure★ 0same name
5 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 repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- capturing-tk-screenshots-headlessSkill
- concept-parableSkill
- provider-onboardingSkill
- pygameturboSkill
- sandboxingSkill
- skillspector-installSkill
- thonny-pluginSkill
- timestampSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Use the System One request format through scripts/decide.py.
- Very specific: line 39
Errors and uncertain answers go to
review,: never dropped. - Distinctive: line 46
Every time you create, change or move something, tell the user what you are doing, where (the path) and why, and how when it helps them …
- Distinctive: line 69
Before setting anything up, look for a decision-model project this request continues, especially when the user refers to earlier work:
- Very specific: line 72
check the environment's memory (memory tools or files, AGENTS.md / CLAUDE.md notes, the project README) for recorded locations of …
- Very specific: line 75
search the user's project for *.decisions.json.
- Distinctive: line 76
if still unsure, ask the user.
- Distinctive: line 94
No existing project fits: follow references/new-setup.md (fit check, project folder, interview, setup file, provider, privacy check, …
- Very specific: line 111
Never drop review items to save tokens.
- Very specific: line 186
Images and
boxquestions: Not in this version; see the stub in references/advanced.md.
“Common” is measured: kept by at least 6 in 10 of the 13 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
Decisions
A decision model is not a chat model. You send it content (state) and
typed questions; it returns calibrated probabilities, not text: yes/no
(noul), pick one of named options (choice), or a rating on an ordered
rubric (score). One call costs roughly $0.00001-0.0004, so it can pre-screen
thousands of items before you or another large model read the few that matter.
Use the System One request format through scripts/decide.py. Do not build a
decision step on a chat-completions endpoint with "reply in JSON": that loses
the calibrated probabilities this skill depends on.
<skill> below means this skill's folder. Run the script as
python3 <skill>/scripts/decide.py ....
Hard rules
- No real data before the privacy check is recorded for that provider. The user confirms all three: (1) the data is OK to send; (2) they read the provider's current data-handling policy at its source (you give the link; a summary from you never replaces their reading) and accept it; (3) whoever is liable and principally responsible for proper handling of the data under applicable laws agrees, or the user is that party. Details in references/new-setup.md step 5. Never record it on the user's behalf.
- No run on real data without calibration unless the user has said yes to the cautious-mode drawbacks (wording in new-setup.md step 6).
- Errors and uncertain answers go to
review, never dropped. - No file is written before the project folder is settled, and the folder lasts beyond this session, or the user has agreed to download its files (new-setup.md step 2).
Say what you're doing
Every time you create, change or move something, tell the user what you are doing, where (the path) and why, and how when it helps them follow. Keep it in plain words for non-technical users, but never skip it:
- "I'll keep this project's files in
<path>so you still have them later." - "I'm writing
vet_leads.pyat<path>/vet_leads.py; it sends each lead to the decision model and sorts the answers." - "I'm adding the GL code list to
<path>/README.mdso the next session finds it." - "I'm sending 40 invoices to OpenCode's free model now; nothing else leaves this computer."
decide.py writes files too. Say so once per command, before running it:
"decide.py will write the results to <path>/routed.jsonl and keep the
model's answers in <path>/leads.decisions.cache.sqlite so repeats cost
nothing." Before any commit in a git folder, ask which files to include
(new-setup.md step 2).
Workflow
1. Find existing work first
Before setting anything up, look for a decision-model project this request continues, especially when the user refers to earlier work:
- check the environment's memory (memory tools or files,
AGENTS.md/CLAUDE.mdnotes, the project README) for recorded locations of*.decisions.jsonsetups; - search the user's project for
*.decisions.json; - if still unsure, ask the user.
Found one: load it (python3 <skill>/scripts/decide.py run <setup>
--dry-run --state "test" checks it). Most setup questions are answered by
the file: questions, reference text, provider, calibration and privacy
records. Then check two things with the user before running:
- Privacy still current: show each provider's confirmation date and policy link. Policies change; if the confirmation is older than about 90 days (the script warns), or the provider's page shows a newer update, the user re-reads the policy and confirms again (new-setup.md step 5).
- Calibration status:
modeand thecalibrationrecord. Cautious or poor calibration needs the user's yes to the drawbacks (step 6 there).
Then go to step 3.
2. New use case
No existing project fits: follow references/new-setup.md (fit check, project folder, interview, setup file, provider, privacy check, calibration, remembering the project's location). Then go to step 3.
3. Run and act on the routes
python3 <skill>/scripts/decide.py run <setup> --input items.jsonl --out routed.jsonl
(also CSV, a folder of .txt/.md files, or -; --dry-run shows the first
request and sends nothing). Each output row has route:
| route | what you do |
pass | read or act on it |
review | read it in full (or a person does); errors and malformed answers land here |
reject | skip it; mention the count |
Never drop review items to save tokens. Report the summary line (counts,
mode, tokens, cost) to the user.
For flagging jobs (moderation, alerts: "act if any harm question says
yes"), set "combine": "any" in policy: then pass means flagged by any
rule, reject means every rule says clean, and the rest is review. The
default "all" suits screening (any disqualifier rejects).
4. Copy code into the project folder
You may copy scripts/decide.py, the sample scripts and any code you write
into the project folder (the skill's code is MIT-licensed). Prefer doing so
when the work will be reused: the user can see exactly what runs, the copy
keeps working the same even when the skill is updated, and changes the user
asks for are kept there. Say what you copy, where, and why. For a hook, a bot
or a scheduled job, copy scripts/decide.py beside the setup file and show
the import:
from decide import load_setup, evaluate, route, effective_rules, is_cautious, build_state, combine_of
setup = load_setup("moderation.decisions.json")
answers, meta = evaluate(build_state(setup.get("reference"), post_text),
setup["questions"], setup=setup)
cautious, _ = is_cautious(setup, meta["model_returned"])
rules = effective_rules(setup["policy"], setup["questions"], cautious)
action = route(answers, rules, combine_of(setup))Wrap the call so that any exception means review, never pass. Questions
can also be built per call (for example this turn's legal moves as a choice
question); keep their names and rules fixed so the cutoffs still apply.
Quick reference
| Command | Does |
providers | built-in providers, whether a key is set (names only) |
models [--provider X] [--setup F] | list models where the provider has a list endpoint (with --setup, its extra providers too) |
ask [setup] --state T --yes Q | one question, plain-language answer (--choice, --score too) |
privacy setup --provider X --policy-url U --summary S | record the user's confirmation (S: what they confirmed, with the date) |
calibrate setup --labels F [--check] | score labels, set cutoffs (--check compares only) |
run setup --input F [--out F] [--dry-run] | score a batch, route each item |
Exit codes: 0 ok, 2 usage or setup problem, 3 privacy not confirmed, 4 every provider failed.
Common mistakes
| Mistake | Instead |
| Calling a chat endpoint and parsing JSON "confidence" | System One via decide.py; probabilities come from the model |
| One "is it OK to send?" question, or your summary of the policy | The user reads the policy at its source; all three confirmations, recorded per provider |
| Treating a failed or malformed answer as low score | It routes to review |
| Cutoffs picked by feel and never checked | Calibrate on labels, or the user's yes to cautious-mode drawbacks |
| Reusing cutoffs after switching model family | Recalibrate; the script drops to cautious mode |
| Questions without definitions or examples | Put them in reference; the model knows nothing of the domain |
| Starting a new setup when one already exists | Check memory and *.decisions.json first (step 1) |
| Writing files before agreeing where they live, or into storage that disappears | Settle a lasting project folder first; temporary storage only after the user agrees to download the files |
| Silent file writes or sends | Say what, where and why (and how) each time |
References
- references/new-setup.md - setting up a new use case, step by step
- references/questions.md - writing questions and reference text
- references/setup-file.md - the setup file and routing rules
- references/calibration.md - labels, cutoffs, cautious mode
- references/privacy.md - the privacy check and keeping it current
- references/providers.md - providers, models, families, policy pages
- references/advanced.md - common patterns; links to TypeSafe docs
Out of scope
- Field extraction. Some decision APIs also pull out fields or text spans
(Perplexity's
locatequestion). That overlaps with scoring but is a different job; this skill does not cover it. - Images and
boxquestions. Not in this version; see the stub in references/advanced.md. - Other wire formats. Vercel's
/v1/evaluateand Levanto Sage differ; sample converters are in scripts/adapters/README.md.
More patterns (screen first, companion yes/no, large code lists in two steps): references/advanced.md.
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.

