Skip to content
Security
Skill

/bias-fairness-assessment

Assess an AI model, feature, or dataset for bias and fairness across groups — representational and allocative harms, disparate performance, and skewed refusals — using appropriate fairness metrics, and recommend mitigations. Use when evaluating whether an AI system treats people

From plugin
awesome-claude-security
6111 skills17 agents13 commands1 MCP
Install
$ npx -y skills add jassics/awesome-claude-security --skill bias-fairness-assessment --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/bias-fairness-assessment

Context preview

The summary Claude sees to decide when to auto-load this skill.

Assess an AI model, feature, or dataset for bias and fairness across groups — representational and allocative harms, disparate performance, and skewed refusals — using appropriate fairness metrics, and recommend mitigations. Use when evaluating whether an AI system treats people

SKILL.md

bias-fairness-assessment.SKILL.md
name: bias-fairness-assessment
description: >-
  Assess an AI model, feature, or dataset for bias and fairness across groups —
  representational and allocative harms, disparate performance, and skewed
  refusals — using appropriate fairness metrics, and recommend mitigations. Use
  when evaluating whether an AI system treats people equitably.

Goal

A fairness assessment that identifies where the system performs or behaves disparately across groups, quantifies it with suitable metrics, and proposes mitigations — distinguishing the *type* of harm.

Frame the harm type first

  • **Allocative** — the system influences resource/opportunity decisions (hiring,

lending, housing, moderation, healthcare). Fairness of *outcomes* matters most.

  • **Representational** — the system depicts/describes groups (stereotyping,

erasure, demeaning content, quality-of-service gaps). Fairness of *treatment*.

Steps

1. **Identify groups and context** — protected/sensitive attributes relevant to the use case and jurisdiction; note intersectional groups. Define what "fair" means *here* (it's context-dependent and metrics can conflict). 2. **Choose metrics** to match the harm:

  • Allocative: demographic parity, equalized odds, equal opportunity, predictive

parity, calibration — pick by which error is most harmful; they trade off.

  • Representational/generative: disparate refusal rate, sentiment/toxicity skew,

stereotype rate, quality (accuracy/helpfulness) parity across groups. 3. **Measure** on a representative, consented dataset (watch for unrepresentative or skewed data — that's itself a finding). Report gaps with confidence. 4. **Diagnose sources** — data imbalance, label bias, proxy features, objective mismatch, feedback loops. 5. **Recommend mitigations** — data/representation fixes, reweighting/constraints, threshold adjustment, post-processing, human review, scope limits — and note residual disparity and metric trade-offs.

Output

A fairness report: harm type · groups · metric · measured disparity · likely source · mitigation · residual/trade-off. Use `security-reporting`; visualize gaps with `security-diagramming:infographic`.

Notes

There is no single "fair" — metrics conflict and the right choice depends on which error harms people most in this context. State the chosen definition and why. Beware proxies: removing a protected attribute doesn't remove bias carried by correlated features.

Read more
Ships withawesome-claude-security

A Claude Code plugin marketplace for the full cybersecurity & GenAI-security lifecycle — from recon and threat modeling to detection engineering, GRC, and CISO-level strategy. A pentester knows which OWASP test bends a broken-access-control endpoint.

Get the whole plugin

Other skills on awesome-claude-security.