Index of every page on this site: llms.txt
All skills
oaustegard avatar

/deciding-with-confidence

@b9eb735
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/oaustegard/claude-skills/deciding-with-confidence

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈331 tokens on demand. Your agent reads this file only when SKILL.md points to it.

deciding-with-confidence

Answers yes/no, multiple-choice and rubric-score questions about a piece of text with a probability for every option and a calibrated confidence, in the request and response shapes of OpenAI's Decisions API. Claude Haiku 5.5 does the judging; the skill estimates the probabilities that a purpose-built decision model would read off its logits.

echo '{"input": "I was charged twice.", "questions": [{"type": "choice", "name": "dept",
  "instructions": "Which department?", "choices": [{"value": "billing"}, {"value": "shipping"}]}]}' \
  | python3 scripts/decide.py run -

It runs through the Anthropic API (pip install anthropic and a key), the claude CLI, Amazon Bedrock, or parallel subagents inside Claude Code: the deciding-with-confidence plugin installs a decider agent pinned to Haiku 5.5 alongside the skill. On a 104-item eval it reached 0.846 accuracy against 0.894 for a purpose-built decision model, with matching calibration error. Its wrong answers come at low confidence, so thresholding on confidence and on agreement between samples catches most of them. See SKILL.md for the procedure and references/method.md for the measurements.

assets/eval.jsonl includes 64 items from the banking77 test split (PolyAI, CC-BY-4.0); each item names its source.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning5d3 checks · Risk SAFE
  • Gen Agent Trust Hub5d

    This skill provides a tool to perform text classification and rubric scoring with confidence estimation using the Claude Haiku model. It supports multiple transport methods including direct API calls, the Claude CLI, and Amazon Bedrock. It includes features to read session transcripts and local files for analysis, with built-in redaction of sensitive secrets (keys, tokens) and uses structured delimiters to mitigate indirect prompt injection.

  • Socket5d

    No alerts

  • Snyk5d

    Risk: MEDIUM · 1 issue

Signed by skilld at b9eb735. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago
metadata
{
  "version": "0.4.0"
}

README badge

README badge for oaustegard/claude-skills/deciding-with-confidence