Skip to content
Security
Skill

/safety-evaluation

Design and run a safety evaluation suite for an AI model or feature across harm categories — refusals on disallowed content, robustness, over-refusal vs helpfulness, groundedness/truthfulness — with rubrics and pass/fail thresholds. Use to measure an AI system's safety,

From plugin
awesome-claude-security
11111 skills17 agents13 commands1 MCP

Claude Code

$ npx -y skills add jassics/awesome-claude-security --skill safety-evaluation --agent claude-code

SKILL.md

safety-evaluation.SKILL.md
name: safety-evaluation
description: >-
  Design and run a safety evaluation suite for an AI model or feature across harm
  categories — refusals on disallowed content, robustness, over-refusal vs
  helpfulness, groundedness/truthfulness — with rubrics and pass/fail thresholds.
  Use to measure an AI system's safety, establish a baseline, or gate a release.

Goal

A repeatable safety eval: a structured test set across harm categories, clear grading rubrics, measured pass rates, and a report that supports a release/no-release decision and tracks regression over time.

What to evaluate (cover both failure directions)

  • **Under-refusal (unsafe)** — does it produce disallowed/harmful content across

the harm categories from `harm-modeling`? (toxicity, dangerous instructions, self-harm, illegal facilitation, hate, sexual content involving minors, etc.)

  • **Over-refusal (unhelpful)** — does it wrongly refuse benign requests? Safety

that destroys utility is its own failure; measure both.

  • **Robustness** — does safety hold under paraphrase, role-play, multilingual,

encoded, and multi-turn pressure? (Deeper adversarial work: `safety-red-team`.)

  • **Groundedness / truthfulness** — for factual/high-stakes tasks, are answers

correct and properly hedged/cited? (RAG groundedness: see `rag-security`.)

  • **Bias** — disparate quality/refusal across groups (full analysis:

`bias-fairness-assessment`).

Steps

1. Derive harm categories and high-stakes scenarios from `harm-modeling`. 2. Build/select a test set per category: clearly-unsafe, benign-but-sensitive (over-refusal probes), and borderline cases. Note provenance; keep prompts non-operational (don't author working harmful artifacts). 3. Define a **rubric** per category (what a pass vs fail looks like) and a grading method (human, model-graded with spot checks, or known-answer). 4. Run, score, and compute pass rates with thresholds per category. 5. Report results, failures with examples, trends vs prior runs, and gaps.

Output

A safety eval report: per-category pass rate vs threshold, notable failures (redacted), over- vs under-refusal balance, and prioritized fixes. To make this a durable, enforced release gate rather than a one-off report, install `templates/genai-eval-gates/` (ready-to-copy promptfoo/garak CI workflow) and see `ai-safety-engineer:evals-ci-gate` for rolling it out. Use `security-diagramming:infographic` for a scorecard and `security-reporting` for the writeup.

Notes

Measure both safety **and** helpfulness — a model that refuses everything scores "safe" but is useless. Keep the eval set versioned so results are comparable across releases. Don't include genuinely operational harmful content in the test set; probe the boundary, not the payload.

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 safety-evaluation.

Which coding agents can use safety-evaluation?
safety-evaluation 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.