deciding-with-confidence
БесплатноЗапускает вложенные скриптыНе проверенRoutes, triages, flags and rates a piece of text with a probability for every option: which department or queue a ticket goes to, which intent a message…
от oaustegard★ 425 звёзд на GitHubОб этом скилле
Deciding with confidence
scripts/decide.py takes an OpenAI Decisions API request (input plus
questions of type predicate, choice or score) and returns its response
shape: a probability per option, the chosen value or score, and confidence.
Claude Haiku 5.5 answers. Its logits are not exposed, so the distribution is
estimated: a sample states a probability per option, and the result is
temperature-scaled from a labelled eval.
The default is one sample at low effort: one call, the answer, and the
probability that call stated. That confidence is weaker than a pooled one,
because nothing checks it. When the confidence will gate an action, run
--stack: three parallel samples, each under a different angle (plain,
literal, sceptic) and option order, averaged. Their disagreement lowers
confidence and shows up in diagnostics.agreement.
Every sample answers each question with a cue first: the few words of the
evidence that decide it, quoted. Quoting before committing to probabilities
was worth more than any other prompt change tested.
Measured 2026-11-11 through the cli transport at low effort, on four
labelled sets: 104 short banking-intent, guardrail and severity items; the
held-out half of two life-science sets (77 whole research articles, 289
labelled questions, and 204 article sections, 1,457); and the 2,000 test
decisions of the public Typed Decisions benchmark, sent as System One
requests. Jev, TypeSafe's purpose-built decision model, is scored on the same
items, or taken from the benchmark's card:
| short items | whole articles | sections | Typed Decisions | |
|---|---|---|---|---|
| one sample (default) | 0.856 | 0.969 | 0.870 | 0.741 |
--stack |
0.894 | 0.962 | 0.906 | 0.7465 |
| Jev | 0.894 | 0.972 | 0.894 | 0.727 |
| one sample without the cue | 0.827 | 0.931 | 0.857 | — |
Among the 43 general models the Typed Decisions card scores zero-shot, the
stack would rank 10th and one sample 13th; Jev is 18th. The life-science labels come from Sonnet 5.5 and
Opus 5.5 agreeing, which may favour Haiku, and half of the short items were
used to choose the prompt. The stack's main value is its agreement signal:
answers its three samples agreed on were 83% to 98% right, split ones 52% to
73%. One sample costs $0.0005 to $0.0024 a request at list price, the stack
three times that; a stacked request took a median 8.8 s through the CLI, where
Jev answers in under a second. references/method.md has the full tables.
When NOT to use this skill
| Situation | Use instead |
|---|---|
| The label set is too large to list in a prompt (a taxonomy, hundreds of tags) | hallucinating-labels |
| The answer needs reasoning, multi-step work or a written explanation | a normal Claude call; this skill forbids explanation |
| You need extracted fields or free-form JSON | structured outputs on the Messages API |
A real decision model is reachable (OpenAI /v1/decisions, Strands Decider, Jev) and latency matters |
that model: 0.1–0.3 s against ~0.7–4 s here |
| Picking which Claude tier runs a subagent | agent-routing |
| The evidence is an image | not supported; the transports send text only |
Abandon a run when diagnostics.agreement is below 1 on most of a batch: the
questions or option descriptions are ambiguous, and more samples will not fix
them. Rewrite the options (distinct, observable criteria) before sampling more.
Procedure
Write the request as JSON in the OpenAI shape. Give every question a unique
name. Options needdescriptions that say when each applies; add anotherchoice when the set is not exhaustive. Scorelevelsgo lowest first. When the evidence is a file on disk (a paper, a log, a transcript), give"input_file": "path"in place of"input": the script or the subagent reads it, and you do not write the document out again. When the evidence is this conversation, give"input_transcript": true(or{"last_turns": 20, "max_chars": 60000}): the script reads the transcript Claude Code keeps on disk for the session, renders the last turns with tool calls clipped, and redacts secrets. The file can trail the turn in progress, so do not ask it about a tool result from this same turn.{"input": "I was charged twice for my order.", "questions": [ {"type": "choice", "name": "department", "instructions": "Which department should handle this?", "choices": [{"value": "billing", "description": "Payments, invoices, refunds."}, {"value": "shipping", "description": "Delivery and tracking."}, {"value": "other", "description": "Anything else."}]}, {"type": "predicate", "name": "angry", "instructions": "Is the customer expressing anger?"}, {"type": "score", "name": "severity", "instructions": "How severe is this?", "levels": [{"label": "Cosmetic", "description": "No lost functionality."}, {"label": "Workaround", "description": "F
Установить deciding-with-confidence в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл deciding-with-confidence?
Routes, triages, flags and rates a piece of text with a probability for every option: which department or queue a ticket goes to, which intent a message expresses, whether a yes/no condition holds (is this tool call grounded, should the agent ask first, is the customer angry), and how severe or urgent it is on a rubric, each with a calibrated confidence. Runs Claude Haiku in the request and response shapes of OpenAI's Decisions API, or of TypeSafe's System One API (Jev's), for when no purpose-built decision model is at hand. Use for "route this ticket", "triage these", "classify with a confidence", "give me a probability that", "rate the severity", "score against this rubric", guardrail checks before a tool call, "a Decisions API without OpenAI", or a stand-in for Jev.
Как установить скилл deciding-with-confidence?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deciding-with-confidence запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic