decide
Skill393 starsChanged 3 months agoMITView on GitHub
Use when the user wants to try BlockRun's free typed-judgment endpoint (POST api.blockrun.ai/v1/decide, served by OpenJev) on their own data from Claude Code — yes/no, labelled choice, or scored-rung questions over a text or JSON state, up to 64 per call. Not an MCP tool: call it with curl from the shell. Covers the request shape, what the confidence number does and does not mean, and why OpenJev is not Jev.
- Reads credentials
- Sends data out
31 other projects use a version of this.
Adopted by
Most recently taken up by
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- brianshepardpss/plugin-studiotheir own version, first seen Oct 2, 2026
- ChenneyZhuang/laya-browser-agenttheir own version, first seen Sep 30, 2026
- Blakeem/aipromptguide-workflowstheir own version, first seen Sep 30, 2026
- ArcticFox2029/chamnantheir own version, first seen Sep 30, 2026
- skyf0xx/gambittheir own version, first seen Sep 30, 2026
Used with
Projects with it also use orient, map and 9 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.
moredipSkillorient
Orient yourself to this codebase by reading the README and documentation
Also in 3 projects that use this
srpadronoSkillmap
Crawls a codebase to discover all user journeys and creates a journey map (journeys.json) with test coverage status. Use when starting UI test coverage work, auditing existing coverage, or exploring a new codebase's user flows.
Also in 3 projects that use this
AnthropicSkillbrief
Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.
Also in 3 projects that use this
MicrosoftSkillreport
Turn an exploration (threads, findings, charts) into a single Markdown report — note, blog post, executive summary, KPI dashboard, slide brief, or multi-section analytical report, with embedded charts.
Also in 3 projects that use this
genomewalkerSkilllearn
Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.
Also in 4 projects that use this
SentrySkillonboard
Onboard a service to sentry-options. Use when integrating a new service, creating schemas, or setting up the multi-repo sentry-options workflow.
Also in 3 projects that use this
Other versions31 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 31
- superset-sh/superset★ 15ksame name
- coreyhaines31/makerskills★ 840same name
- kv0906/pm-kit★ 138same name
- me2resh/agent-decision-record★ 49same name
- alirezarezvani/gaios★ 45same name
- seandavi/lifeos-template★ 43same name
- jesgarram/arete★ 40same name
- skyf0xx/gambit★ 25same name
- wrg32786/aigent-os★ 19same name
- ChenneyZhuang/laya-browser-agent★ 18same name
21 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 repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- blockrun-debugSkill
- blockrun-setupSkill
- blockrunSkill
- blockrun-upgradeSkill
- crypto-dataSkill
- exa-researchSkill
- gentech-blockrunSkill
- image-promptingSkill
- modalSkill
- phoneSkill
- polymarket-tradingSkill
- prediction-marketsSkill
- rpcSkill
- searchSkill
- signal-to-trade-demoSkill
- surfSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 30 edited versions we read keep these.
1
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
- Very specific: line 62
Do not write it to ~/.blockrun/.api-key just to try decide.
- Distinctive: line 134
Every option is scored against the state, and the scores are then divided by their total so they sum to one.
“Common” is measured: kept by at least 6 in 10 of the 30 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
Decide — free typed judgments from Claude Code
POST https://api.blockrun.ai/v1/decide takes a state (a message, a ticket, a
diff, a tool result, a row of data) and up to 64 questions, and returns a typed
answer with a number beside each one. No prose to parse. The backend is
OpenJev, an open-source natural-language-inference model BlockRun hosts.
It is not a BlockRun MCP tool, on purpose: you are already a frontier model,
and for a one-off "is this urgent?" you are the better judge. The endpoint earns
its place when the user wants the same fixed ruler over many items, or is
prototyping a judgment they will later run from a pipeline without a model.
From Claude Code, call it with curl from the shell.
What it is not
- Not paid, not x402. It is free behind a registered API key. There is no
payment header, no wallet path, and it is served by
api.blockrun.ai, not the x402 gateway atblockrun.ai(a POST toblockrun.ai/v1/decideis a 404). - OpenJev is not Jev. Jev is TypeSafe's model. OpenJev is an unaffiliated
open-source NLI cross-encoder (MIT, published by AlexWortega on Hugging Face,
Qwen3.5 4B base). It is not made by the people who make Jev and it is not a
smaller or free tier of it. BlockRun does not sell or resell Jev. There is one
backend, and the
x-blockrun-backendresponse header names it on every call. - No quality comparison exists. BlockRun expects OpenJev to be materially weaker than Jev, has not benchmarked the two, and will not put a number on the gap. Do not invent one. The model authors' own zero-shot NLI figures, with attribution and a read date, are at https://blockrun.ai/openjev.
Getting a key without changing how the MCP pays
Keys are minted at https://user.blockrun.ai/dashboard/keys (brk_live_…,
shown once; registration, not a card).
For experiments, export the key in the shell and leave the MCP server alone:
export BLOCKRUN_API_KEY=brk_live_…Do not write it to ~/.blockrun/.api-key just to try decide. The MCP
server reads that file at startup and a present key moves every paid tool
from wallet mode to account billing — the same switch BLOCKRUN_API_KEY in the
MCP server's own config makes. That is fine if the user wants account billing
(see the blockrun-setup skill); it is a surprise if they only wanted a free
judgment. If the MCP is already on account billing, the same key works for both.
Request
curl -sS -X POST https://api.blockrun.ai/v1/decide \
-H "authorization: Bearer $BLOCKRUN_API_KEY" \
-H "content-type: application/json" \
-D /dev/stderr \
-d '{
"state": "Help! My payouts have been failing for 3 days.",
"questions": {
"is_urgent": { "type": "noul", "instructions": "Does this convey urgency?" },
"department": { "type": "choice", "instructions": "Which team should handle this?",
"criteria": { "billing": "Payments, refunds",
"technical": "Bugs, outages" } },
"frustration": { "type": "score", "instructions": "How frustrated is the customer?",
"criteria": ["Calm", "Frustrated", "Very angry"] }
}
}'-D /dev/stderr shows the response headers (backend, rate-limit) without mixing
them into the JSON on stdout.
| Field | Type | Required | Notes |
state | string | object | array | yes | What to judge. Text and JSON both work. If a fact matters, put it in the state — the model looks nothing up. |
questions | object | yes | Your own id → question. 1 to 64 per call. |
model | string | no | Defaults to openjev, the only backend. Leave it out. |
Three question types, one operation underneath (state = premise, question = hypothesis, answer = how strongly the premise entails it):
| Type | criteria | You get back |
noul | none — it is true or false | one number for how strongly the state supports the claim |
choice | map of label → its meaning, 2 to 255 entries | the top label, plus a share per option |
score | array of rung descriptions in words, 2 to 255 | a weighted position across the rungs, plus the distribution |
instructions — the question itself, in plain language — is required on all three.
Response
{
"model": "openjev",
"answers": {
"is_urgent": { "type": "noul", "noul": 0.986 },
"department": { "type": "choice", "choice": "billing",
"probabilities": { "billing": 0.71, "technical": 0.29 },
"confidence": 0.71 },
"frustration": { "type": "score", "score": 1.42,
"legend": { "0": "Calm", "1": "Frustrated", "2": "Very angry" },
"probabilities": { "0": 0.11, "1": 0.36, "2": 0.53 },
"confidence": 0.53 }
}
}score is the probability-weighted rung index (1.42 sits between
"Frustrated" and "Very angry"); legend maps index → rung text.
Read this before you build a threshold
The confidence on a choice is not the probability the answer is correct.
Every option is scored against the state, and the scores are then divided by their total so they sum to one. That step throws away how strong the scores were:
- three options each scoring 0.1 — the model supporting none of them — come
back as
0.33 / 0.33 / 0.33; - two options scoring 0.9 and 0.85 — both strongly supported — come back as
0.51 / 0.49.
Opposite situations, identical response. The number is a share of the
agreement found — an ordering with a margin. Wide means the model clearly
preferred one option; narrow means it did not. It says nothing about whether
any option fits, and nothing has been fitted against real outcomes the way a
calibrated model's probabilities are. The same applies to score's
probabilities and confidence. A noul is the raw entailment score and is
not normalised — but it is not calibrated either.
Set thresholds by running the user's own labelled examples through the
endpoint and looking at where the errors land, never by reading the number as a
percentage. An agent that gates on confidence > 0.8 as if it were accuracy
will be wrong with no error to tell it so.
Trying it on the user's data — the shape that works
- Build the state with everything the judgment needs: the message, the
records it refers to, the policy that governs it. Fetch with
blockrun_exaorblockrun_searchfirst if a fact is missing;decidecannot look it up. - Ask the independent questions together in one call — one round trip, one rate-limit hit, up to 64 answers.
- Combine with deterministic checks the code already has (amount, account age, "was a refund already issued").
- Route by margin. Act automatically where the margin is wide and the
checks agree; hand narrow cases to a reasoning model —
blockrun_chatwith aclaude-*,o-series or DeepSeek model — or to a person.
A quick evaluation loop from Claude Code: put 20–50 labelled rows in a JSON
file, loop curl over them with jq, and tabulate agreement per question.
That is the only number that should decide whether the endpoint is good enough
for the user's task.
jq -c '.[]' examples.json | while read -r row; do
state=$(jq -c '.state' <<<"$row"); want=$(jq -r '.label' <<<"$row")
got=$(curl -sS -X POST https://api.blockrun.ai/v1/decide \
-H "authorization: Bearer $BLOCKRUN_API_KEY" -H "content-type: application/json" \
-d "{\"state\": $state, \"questions\": {\"q\": {\"type\": \"choice\",
\"instructions\": \"Which team should handle this?\",
\"criteria\": {\"billing\": \"Payments, refunds\", \"technical\": \"Bugs, outages\"}}}}" \
| jq -r '.answers.q.choice')
echo "$want,$got"
done | sort | uniq -cWhat it does not do
It does not write, summarise, or explain — there is no free-text field in the response. It has no memory between calls. Image input exists in the model's v2 checkpoint but the endpoint does not expose it.
Limits and errors
| Status | Meaning | What to do |
| 400 | Body did not match the schema; the response names the field | Fix the field. Common: a choice with criteria as an array, a score with a map, fewer than 2 criteria, more than 64 questions. |
| 401 | Missing or invalid key | BLOCKRUN_API_KEY is unset in this shell, or wrong. Check https://user.blockrun.ai/dashboard/keys. |
| 429 | Per-key hourly limit reached | Wait for the interval the response carries (retry-after). The limit is enforced server-side and reported in the response — read it there; do not assume a number. |
None of these cost anything; nothing here ever does.
Related
- API reference: https://blockrun.ai/docs/api-reference/decide
- OpenJev, with the authors' published figures: https://blockrun.ai/openjev
- Account billing for the whole MCP (if the user wants the key to pay for the
paid tools too):
blockrun-setupskill, "API key" section.
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.

