uncertainty-quantification

Community

Calibrate LLM confidence before high-stakes actions

Authorthistleknot
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Uncertainty-quantification helps an agent decide how much to trust LLM outputs and what to do when confidence is not reliable, preventing hallucinations from driving irreversible actions.

Core Features & Use Cases

  • Three-tier sampling protocol: fast, standard, and thorough tiers using semantic entropy, SelfCheckGPT-style consistency checks, and conformal prediction/back-off for high-stakes factuality.
  • Explicit abstain/escalate recommendations: outputs a policy decision (proceed / proceed_with_caveat / abstain / escalate) tied to measurable uncertainty signals.
  • Compatibility with white-box and black-box settings: supports logprob-based methods when available and black-box estimators otherwise.
  • Action gating for agentic systems: reduces risk before writes/deletes/sends/deploys and supports selective retrieval decisions in RAG.

Quick Start

Use uncertainty-quantification to score a draft response, then follow its recommendation to proceed, add caveats, abstain for more evidence, or escalate to a human when the action is irreversible.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: uncertainty-quantification
Download link: https://github.com/thistleknot/skills/archive/main.zip#uncertainty-quantification

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.