Skip to content
Skills Library
AI & agents · Analysis

harm-modeling

/harm-modeling

Systematically enumerate the potential HARMS of an AI system — to users, third parties, vulnerable groups, and society — under normal use, misuse, and malfunction, then rank them and map mitigations. This is the AI-safety analog of threat modeling (which targets attackers). Use when designing or reviewing an AI feature for safety, not security.

Licence
GPL-3.0
Last repository change
07.08.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 07.08.2026, without references to retired models or APIs.

Licence

GPL-3.0, otwarta.

What it does and when to use it

Systematically enumerate the potential HARMS of an AI system — to users, third parties, vulnerable groups, and society — under normal use, misuse, and malfunction, then rank them and map mitigations. This is the AI-safety analog of threat modeling (which targets attackers). Use when designing or reviewing an AI feature for safety, not security.

Original author description

Systematically enumerate the potential HARMS of an AI system — to users, third parties, vulnerable groups, and society — under normal use, misuse, and malfunction, then rank them and map mitigations. This is the AI-safety analog of threat modeling (which targets attackers). Use when designing or reviewing an AI feature for safety, not security.

How it works

SKILL.md has no level-two headings · 46 lines, 286 words

SKILL.md preview
---
name: harm-modeling
description: >-
  Systematically enumerate the potential HARMS of an AI system — to users, third
  parties, vulnerable groups, and society — under normal use, misuse, and
  malfunction, then rank them and map mitigations. This is the AI-safety analog of
  threat modeling (which targets attackers). Use when designing or reviewing an AI
  feature for safety, not security.
---

# Goal

A harm model: who could be harmed, how, under what conditions, how badly, and what
reduces it — the safety counterpart to a security threat model.

# How this differs from threat modeling

- **Threat modeling** (`threat-modeling:stride`) asks *how could an attacker
  compromise the system?* The actor is adversarial.
- **Harm modeling** asks *how could the system harm people even with no attacker?*
  via normal use, foreseeable misuse, malfunction, bias, or over-reliance.
  Use both for a complete picture.

# Steps

1. **Define the system & context** — purpose, users (including vulnerable
   populations: minors, patients, at-risk groups), deployment context, and the
   stakes of the decisions it influences.
2. **Identify stakeholders** — direct users, non-user subjects (people the output
   is *about*), bystanders/third parties, and society at large.
3. **Enumerate harm categories** (see `reference.md`): physical, psychological,
   financial, discrimination/unfairness, privacy/dignity, misinformation,
   manipulation/autonomy, societal/democratic, environmental, and dangerous-
   capability/misuse harms.
4. **For each plausible harm, capture the condition**: normal use, foreseeable
   misuse, malfunction/error (hallucination, failure), distribution shift, or
   feedback effects at scale. Note *who* is harmed and how severe/irreversible.
5. **Rate** severity × likelihood × affected-population (weight irreversible and
   vulnerable-group harms up). Reuse `threat-modeling:risk-rank` scoring.
6. **Map mitigations** — design changes, guardrails, evals, human oversight,
   disclosures, usage policy, monitoring — and note residual harm.

# Output

A harm-model table: stakeholder · harm category · condition · severity ·
likelihood · affected group · mitigation · residual. Plus a top-harms summary and
recommended safeguards. Use `security-reporting` for the writeup and
`security-diagramming` to map harm pathways.

# Notes

Always include foreseeable **misuse** and **malfunction**, not just intended use —
most real-world AI harms come from those. Give extra weight to harms that are
irreversible or fall on people who can't opt out.
Files in this package (2)
  • SKILL.md 3 KB
  • reference.md 3 KB

Versions

The database has no other skills named harm-modeling.

Database snapshot: 13.11.2026 · package version 9c030a2226de (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100ai-threat-model
    Threat model an LLM / RAG / agentic AI system: map prompts, data sources, tools, identities, and trust boundaries, then enumerate AI-specific threats and mitigations. Use when designing or reviewing a GenAI feature's security.
  • 100threat-modeling
    Threat modeling workflow for software systems: scope, data flow diagrams, STRIDE analysis, risk scoring, and turning mitigations into backlog and tests. Use when designing new features, reviewing architecture changes, handling sensitive data, or hardening auth/payment/multi-tenant flows.
  • 100threat-modeling
    Use when designing a system and identifying what could go wrong. Applies STRIDE to a data-flow model, ranks threats by realistic risk, and produces mitigations that are actually built. Trigger on "threat model this", "what could go wrong security-wise", "run stride on this…
  • 100harms-check
    Use when building anything USER-FACING (or with persuasion/retention/cancellation/consent/pricing flows, or that touches vulnerable people) to surface design-level harm the security/privacy/compliance gates miss: dark/deceptive patterns and foreseeable misuse. Assumes the…
  • 100security-threat-model
    Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model. Use when the user asks to threat model a codebase or path, enumerate threats or abuse paths, or perform…
  • 90bias-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 equitably.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.