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
11111 skills17 agents13 commands1 MCP

Claude Code

$ npx -y skills add jassics/awesome-claude-security --skill bias-fairness-assessment --agent claude-code

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
@jassics
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.

11111 skills17 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
11
Star history of jassics/awesome-claude-security on GitHub, a chart by star-history.com

Other skills on awesome-claude-security.

More skills from other plugins.

api-security

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…

@zhaoxuya520@zhaoxuya520Install Skill
nemoclaw-user-guide

nemoclaw-user-guide

Find official NemoClaw documentation for installation, configuration, operation, or troubleshooting. Also handles requested docs…

nemoclaw12d23k
@nvidia@nvidiaInstall Skill

Questions about bias-fairness-assessment.

Which coding agents can use bias-fairness-assessment?
bias-fairness-assessment installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.