Skip to content
Back to skills

Confidence Prototypes Utilities

ASecurity

"Routes Alibi requests for TrustScore, LinearityMeasure,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
businessrustgoapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill confidence-prototypes-utilities --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Confidence Prototypes Utilities?

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

Security grade badge for Confidence Prototypes Utilities
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-confidence-prototypes-utilities/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-confidence-prototypes-utilities)

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: confidence-prototypes-utilities
description: "Routes Alibi requests for TrustScore, LinearityMeasure,
  ProtoSelect, save/load round-trips, and the small shared utilities they rely
  on."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Confidence, Prototypes, and Utilities

Use this sub-skill when a user wants to score prediction confidence, summarize a dataset with prototypes, or save and reload an explainer.

## Trigger phrases

Open this sub-skill when the user mentions:

- TrustScore or trust scores
- LinearityMeasure or linearity measure
- ProtoSelect or prototype selection
- save/load explainer, `load_explainer`, or explanation persistence
- category map, `gen_category_map`, or `save_explainer`

## What this sub-skill owns

- `TrustScore`
- `LinearityMeasure`
- `ProtoSelect`
- `save_explainer` and `load_explainer`
- the shared utility helpers that support those workflows

## What it does not own

- anchors
- SHAP / IntegratedGradients
- counterfactuals or similarity
- any heavier optional-backend family

## Read next

- `references/workflows.md` for the confidence / prototype / persistence flow map
- `references/api-reference.md` for the verified TrustScore, LinearityMeasure, ProtoSelect, and persistence signatures
- `references/saving.md` for save/load behavior and version sensitivity
- `references/troubleshooting.md` for label, range, kernel, and persistence errors
- `scripts/smoke_confidence_prototypes.py` for the bundled CPU smoke

## Typical flow

1. Decide whether the user wants a confidence score, a prototype summary, or a persistence check.
2. Make sure the classifier labels and input shape match the chosen helper.
3. Run the smoke script on iris-sized data to confirm the environment and the API contract.
4. If the user only needs a round-trip or a utility check, keep the example small and deterministic.

## Good fits

- warning flags for classifier predictions
- model linearity around a point
- dataset summarization and prototype selection
- save/load round-trips for explainer objects

## Common failure signals

- TrustScore label count does not match the class structure
- LinearityMeasure cannot infer the feature range or the model type is wrong
- ProtoSelect distance or preprocess settings are incompatible with the data
- a saved explainer cannot be reloaded without passing the original predictor

Files in this skill

  • SKILL.md2.4 KB
  • references/api-reference.md1.5 KB
  • references/saving.md1.2 KB
  • references/troubleshooting.md1.8 KB
  • references/workflows.md2.4 KB
  • scripts/smoke_confidence_prototypes.py1.8 KB

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.