Skip to content
Agentmart
Submit a tool

aif360

Use IBM AI Fairness 360 for tabular fairness datasets, metrics, bias mitigation algorithms, sklearn-compatible workflows, subgroup detectors, and explainers.

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-aif360

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use IBM AI Fairness 360 for tabular fairness datasets, metrics, bias mitigation algorithms, sklearn-compatible workflows, subgroup detectors, and explainers.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/aif360

What's inside

Skill name
aif360
Description
Use IBM AI Fairness 360 for tabular fairness datasets, metrics, bias mitigation algorithms, sklearn-compatible workflows, subgroup detectors, and explainers.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
90 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (32)

  • SKILL.md
  • install-data-and-optional-deps.md · references/
  • r-and-mlops-notes.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_aif360_env.py · scripts/
  • SKILL.md · sub-skills/datasets-and-metrics/
  • api-reference.md · sub-skills/datasets-and-metrics/references/
  • data-formats.md · sub-skills/datasets-and-metrics/references/
  • troubleshooting.md · sub-skills/datasets-and-metrics/references/
  • workflows.md · sub-skills/datasets-and-metrics/references/
  • metric_report_smoke.py · sub-skills/datasets-and-metrics/scripts/
  • SKILL.md · sub-skills/detectors-and-explainers/
  • explainer-reference.md · sub-skills/detectors-and-explainers/references/
  • facts-workflow.md · sub-skills/detectors-and-explainers/references/
  • mdss-workflow.md · sub-skills/detectors-and-explainers/references/
  • troubleshooting.md · sub-skills/detectors-and-explainers/references/
  • explainer_smoke.py · sub-skills/detectors-and-explainers/scripts/
  • mdss_smoke.py · sub-skills/detectors-and-explainers/scripts/
  • SKILL.md · sub-skills/mitigation-algorithms/
  • algorithm-selection.md · sub-skills/mitigation-algorithms/references/
  • optional-algorithms.md · sub-skills/mitigation-algorithms/references/
  • troubleshooting.md · sub-skills/mitigation-algorithms/references/
  • workflows.md · sub-skills/mitigation-algorithms/references/
  • reweighing_smoke.py · sub-skills/mitigation-algorithms/scripts/
  • SKILL.md · sub-skills/sklearn-interface/
  • api-reference.md · sub-skills/sklearn-interface/references/
  • optional-estimators.md · sub-skills/sklearn-interface/references/
  • troubleshooting.md · sub-skills/sklearn-interface/references/
  • workflows.md · sub-skills/sklearn-interface/references/
  • sklearn_metric_smoke.py · sub-skills/sklearn-interface/scripts/

SKILL.md (first lines)

# AIF360 Repo Skill

Use this skill when a task involves the AI Fairness 360 (`aif360`) Python
package: fairness datasets, group-fairness metrics, bias-mitigation algorithms,
the preferred `aif360.sklearn` API, MDSS/FACTS subgroup detectors, or metric
explainers.

## Install and smoke-check first

Base package install:

```bash
pip install aif360
python -c "import aif360; print(aif360.__version__)"
```

For local package development, use an editable install in an isolated Python
environment. For optional algorithms, install the smallest named extra that
matches the requested workflow rather than `aif360[all]` by default; read
[install-data-and-optional-deps.md](references/install-data-and-optional-deps.md).

Run the bundled base smoke when importability or optional-warning noise is
unclear:

```bash
python scripts/check_aif360_env.py --json
```

The smoke uses only synthetic in-memory data and does not download benchmark
datasets or require optional extras.

## Route by task

| Task signal | Read |
| --- | --- |
| Legacy `BinaryLabelDataset`, `StructuredDataset`, standard dataset wrappers, `BinaryLabelDatasetMetric`, `ClassificationMetric`, raw-data availability, or protected group dictionaries | [datasets-and-metrics](sub-skills/datasets-and-metrics/SKILL.md) |
| Legacy `aif360.algorithms` preprocessing, inprocessing, postprocessing, deterministic reranking, optional mitigation extras, or before/after metric validation | [mitigation-algorithms](sub-skills/mitigation-algorithms/SKILL.md) |
| Preferred pandas/sklearn API, `aif360.sklearn.datasets.fetch_*`, protected attributes in pandas indexes, sklearn metrics/scorers, sklearn estimators, or `PostProcessingMeta` | [sklearn-interface](sub-skills/sklearn-interface/SKILL.md) |
| MDSS subgroup bias scan, FACTS recourse subgroup reports, `MetricTextExplainer`, or `MetricJSONExplainer` | [detectors-and-explainers](sub-skills/detectors-and-explainers/SKILL.md) |
| Install/import failures, raw dataset files, optional extras, warnings, Python versions, R wrapper, or MLOps sample boundaries | Root references below |

## Core decision points

- **Legacy vs sklearn API**: choose legacy APIs for `BinaryLabelDataset` and
  legacy algorithms; choose `aif360.sklearn` for pandas/sklearn pipelines and
  future-facing DataFrame workflows.
- **Data availability**: AIF360 documents common benchmark datasets, but most
  raw files are not bundled. Do not download data unless the user approves data
  acquisition and terms.
- **Optional extras**: many algorithms are public but extra-gated. Missing
  TensorFlow, fairlearn, torch, cvxpy, BlackBoxAuditing, POT, FACTS, or R/rpy2
  packages are not base-install failures unless the selected workflow needs
  them.
- **Fairness semantics**: always make `favorable_label`, `pos_label`,
  privileged group, unprivileged group, protected attributes, and row alignment
  explicit before interpreting a metric or detector result.
- **Verification status**: this skill verified base CPU package imports and
  synthetic dataset/metric workflows. Optional-extra workflows are documented
  but must be installed and smoke-tested in the user's runtime before claiming
  execution support.

## Root references and scripts

- [repo-provenance.md](references/repo-provenance.md): source snapshot and
  refresh baseline for this generated skill.
- [repo-routing-metadata.json](references/repo-routing-metadata.json): structured
  metadata for repo-skills-router import.
- [install-data-and-optional-deps.md](references/install-data-and-optional-deps.md):
  package install variants, extras, standard dataset data constraints, and
  construction verification status.
- [troubleshooting.md](references/troubleshooting.md): cross-cutting import,
  optional dependency, data, API-family, and workflow recovery guidance.
- [r-and-mlops-notes.md](references/r-and-mlops-notes.md): boundaries for the R
  package wrapper and platform integration samples.
- [check_aif360_env.py](scripts/check_aif360_env.py): safe base environment
  diagnostic helper.

## Quick operating checklist

1. Identify whether the user is using legacy datasets or `aif360.sklearn`.
2. Confirm data source and raw-data/network permissions.
3. Confirm protected attributes, privileged/unprivileged groups, and favorable
   labels.
4. Install only the base package plus selected extras needed by the workflow.
5. Run a bundled synthetic smoke before running real data or optional training.
6. Use metrics or detectors to diagnose bias, then route to mitigation only if
   the user asks to change data/model/predictions.
7. If the current package commit/version differs from [repo-provenance.md](references/repo-provenance.md), refresh this skill before relying on exact API claims.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Cite this page

aif360 skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-aif360 (last updated 2026-10-24)