Skip to content
Back to skills

Calibration

ASecurity

Applies decision thresholds for high-confidence inputs or enforces conservative safety margins for low-confidence cases

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
developmentgo

Works with

  • cli

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill calibration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Calibration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Calibration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-calibration/badge)](https://www.skillsdirectory.com/skills/david-li0406-calibration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: calibration
description: Applies decision thresholds for high-confidence inputs or enforces conservative safety margins for low-confidence cases
license: MIT
compatibility: opencode
metadata:
  audience: developers
  workflow: clinical-pipeline
---

## What I do

I apply calibration thresholds that determine how conservatively the pipeline operates. If detection confidence is >= 0.65, I apply standard thresholds (0.65). If confidence < 0.65, I enforce conservative safety margins (0.50) to reduce false positives.

## When to use me

Use this when:

- Skin tone detection is complete and you need to set decision thresholds
- You need to determine whether to use standard or safety calibration
- You're balancing sensitivity vs specificity based on detection confidence

## Key Concepts

- **Standard Calibration**: Threshold = 0.65 for high-confidence inputs
- **Safety Calibration**: Threshold = 0.50 for low-confidence inputs
- **is_low_confidence**: Boolean flag routing to appropriate calibration
- **calibration_complete**: State flag indicating calibration is done

## Source Files

- `services/goap.ts`: Calibration action definitions
- `types.ts`: WorldState interface

## Code Patterns

- Standard-Calibration-Agent: `{ is_low_confidence: false }` preconditions
- Safety-Calibration-Agent: `{ is_low_confidence: true }` preconditions
- Both set `calibration_complete: true` effect

## Operational Constraints

- Safety calibration is MANDATORY for low-confidence cases
- Threshold decisions affect all downstream fairness calculations
- Always log which calibration mode was applied

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…