harm-anticipation

harm-anticipation is a skill for Claude Code from Owl-Listener/ai-design-skills. It costs 17 tokens per session (1,613 once invoked), scanned A, original, MIT.

A structured review method for finding ways an AI product could hurt people before release. It considers direct, indirect, large-scale, missed-response, and gradual harms.

In plain words
What is it for?
Use it to review who could be harmed, how likely each risk is, and which mitigations should be tested.
Why use it?
It helps teams notice misuse and unintended consequences before they become incidents, and turn concerns into specific safeguards.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-alignment-reasoning plugin — 8 skills, 3 commands shipped together

Good fit Use it to review who could be harmed, how likely each risk is, and which mitigations should be tested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/owl-listener/ai-design-skills/harm-anticipation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Owl-Listener/ai-design-skills --skill harm-anticipation
Clone the repo
git clone --depth 1 https://github.com/Owl-Listener/ai-design-skills

Made for: Claude Code.

Or install ai-alignment-reasoning, the plugin that ships this one along with the rest of its 8 skills, 3 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for harm-anticipation

README.md
[![agentmods](https://agentmods.dev/badge/skills/owl-listener/ai-design-skills/harm-anticipation/github.svg)](https://agentmods.dev/skills/owl-listener/ai-design-skills/harm-anticipation)
Your own site
<a href="https://agentmods.dev/skills/owl-listener/ai-design-skills/harm-anticipation"><img src="https://agentmods.dev/badge/skills/owl-listener/ai-design-skills/harm-anticipation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for harm-anticipation

Your own site · 80×15
<a href="https://agentmods.dev/skills/owl-listener/ai-design-skills/harm-anticipation"><img src="https://agentmods.dev/badge/skills/owl-listener/ai-design-skills/harm-anticipation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,613 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.01613
Opus 5 $0.00009 $0.00807
Sonnet 5 $0.00003 $0.00323
Haiku 4.5 $0.00002 $0.00161

Measured 13d ago against content hash 8a3fd86b1022, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

harm-anticipation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude-plugin/ai-alignment-reasoning/skills/harm-anticipation/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Harm Anticipation

Harm anticipation is systematically thinking through how an AI product could cause harm — before it does. Preventive design, not reactive crisis management.

The work is unglamorous and easy to skip. Done well, it produces specific testable mitigations. Done badly, it produces a doc nobody reads.

Categories of AI harm

  • Direct harm: the AI outputs something harmful — dangerous advice, discriminatory content, privacy violations
  • Facilitated harm: the AI helps a user do something harmful, even if the AI's output itself is benign
  • Emergent harm: harmful patterns from scale or interaction effects, not from any single output
  • Omission harm: the AI fails to act when it should — not flagging a crisis, not escalating
  • Erosion harm: gradual negative effects — dependency, deskilling, manipulation, trust erosion

Structured anticipation

Work through each harm category with five lenses:

  1. Who could be harmed? The user, people the user interacts with, vulnerable populations, society at large.
  2. How could they be harmed? Physical, emotional, financial, reputational, privacy, autonomy.
  3. What's the likelihood? Common use case vs. edge case vs. adversarial attack.
  4. What's the severity? Inconvenience vs. distress vs. irreversible damage.
  5. What's the detectability? Obvious and immediate vs. subtle and delayed.

Misuse scenarios

Think like an adversary:

  • How would someone deliberately misuse this feature?
  • What's the easiest way to extract harmful output?
  • Could this be used to manipulate, deceive, or coerce?
  • What if the user lies about their intent?
  • What happens at scale, automated?

Unintended consequences

Think second-order:

  • What happens at millions of users?
  • What skills do users lose by relying on this?
  • Could this create unfair advantages or disadvantages?
  • What power dynamics shift?
  • What becomes possible that wasn't before — for better and worse?

Decision rules

  • Score by frequency × severity, not severity alone. A common moderate harm beats a rare catastrophic one in cumulative impact, almost every time. Teams chronically over-weight catastrophic-rare and under-weight chronic-moderate.
  • Each harm needs a falsifiable test. "If the AI does X to user type Y, the system should Z." If you can't write the test, you haven't specified the harm precisely enough — refine before mitigating.
  • Mitigate at the lowest layer that works. Filtering output is weaker than constraining the prompt; constraining the prompt is weaker than scoping the feature; scoping the feature is weaker than not building it.
  • Re-anticipate after each scale jump. Harms at 1k users differ from 100k differ from 10M. The same checklist gives different answers at each tier.
  • Vulnerable users define the floor, not the ceiling. If the worst-off user is well-served, others will be too. Designing for the median user with edge-case patches is the wrong shape.
  • Prefer reversible mitigations during the discovery phase. Lock-in early and you'll be scared to revisit assumptions.

Read the full file on GitHub · 109 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 109 lines · 17 tokens per session scan A 8a3fd86b1022

Subscribe to this mod's changes

harm-anticipation is a skill published in the GitHub repository Owl-Listener/ai-design-skills (173 stars, last pushed 3mo ago), licensed MIT. It adds 17 tokens to every session and 1,613 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens