Skip to content
Back to skills

Alibi

ASecurity

"Routes Alibi users to the right explanation, confidence,

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

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill alibi --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Alibi?

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

Security grade badge for Alibi
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-alibi/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-alibi)

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: alibi
description: "Routes Alibi users to the right explanation, confidence,
  prototype, or optional-backend workflow and points them to the bundled helpers
  needed to run it."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Alibi

Alibi is a Python library for model explanation, confidence scoring, prototype selection, and explanation persistence.

## When to use this skill

Use this skill when a user asks how to:

- install Alibi or choose extras
- inspect public Alibi APIs
- run a small reproducible Alibi workflow
- decide which explanation family fits a task
- diagnose `MissingDependency`, backend, or predictor-shape issues

## First reads

- `references/workflows.md` for the route map
- `references/optional-dependencies.md` for extras and `MissingDependency` placeholders
- `references/troubleshooting.md` for import, backend, and workflow failures
- `references/repo-provenance.md` when checking staleness or before refresh work
- `references/api-reference.md` for verified constructor signatures and return shapes

## Minimal install and import

- `python -m pip install alibi`
- From a checkout: `python -m pip install -e .`
- Minimal import check: `python -c "import alibi; print(alibi.__version__)"`
- If the import trips over a spaCy / `click` issue, repair the base environment before assuming the package is broken.

## Route map

### `sub-skills/global-tabular-explanations/`
Use for ALE, partial dependence, PD variance, permutation importance, and other global tabular feature-effect workflows.

### `sub-skills/anchors-local-explanations/`
Use for AnchorTabular, AnchorText, and AnchorImage workflows, including text sampling and image segmentation guidance.

### `sub-skills/attribution-and-shap/`
Use for KernelShap, TreeShap, and IntegratedGradients, plus optional SHAP / TensorFlow backend selection.

### `sub-skills/counterfactuals-and-similarity/`
Use for Counterfactual, CEM, CounterfactualProto, CounterfactualRL, and GradientSimilarity workflows.

### `sub-skills/confidence-prototypes-utilities/`
Use for TrustScore, LinearityMeasure, ProtoSelect, and save/load round-trips.

## Helper scripts

- `scripts/core_smoke.py` runs a tiny CPU smoke across the base tabular workflows.
- `scripts/check_optional_backends.py` reports which optional exports are placeholders and which extra enables them.

## What not to do

- Do not treat a `MissingDependency` placeholder as a verified runtime path.
- Do not send users to the source checkout for docs, examples, or notebooks.
- Do not assume optional backends are installed until the helper says so.

Files in this skill

  • SKILL.md2.6 KB
  • references/api-reference.md4 KB
  • references/optional-dependencies.md1.9 KB
  • references/repo-provenance.md1.4 KB
  • references/repo-routing-metadata.json308 B
  • references/troubleshooting.md2.5 KB
  • references/workflows.md2.2 KB
  • scripts/check_optional_backends.py3.2 KB
  • scripts/core_smoke.py2 KB
  • sub-skills/anchors-local-explanations/SKILL.md2.6 KB
  • sub-skills/anchors-local-explanations/references/anchor-text.md1.4 KB
  • sub-skills/anchors-local-explanations/references/api-reference.md1.9 KB
  • sub-skills/anchors-local-explanations/references/troubleshooting.md2.2 KB
  • sub-skills/anchors-local-explanations/references/workflows.md2.2 KB
  • sub-skills/anchors-local-explanations/scripts/check_spacy_model.py1.3 KB
  • sub-skills/anchors-local-explanations/scripts/smoke_anchor_image.py1.4 KB
  • sub-skills/anchors-local-explanations/scripts/smoke_anchor_tabular.py941 B
  • sub-skills/attribution-and-shap/SKILL.md2.3 KB
  • sub-skills/attribution-and-shap/references/api-reference.md1.8 KB
  • sub-skills/attribution-and-shap/references/troubleshooting.md1.9 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.