Skip to content
Back to skills

Risk Management Specialist

ASecurity

Medical device risk management per ISO 14971: risk analysis, evaluation, control, residual risk and post-production review. Use when you have a hazard register (CSV/JSON) to check for unacceptable or unreduced risks, need a P x S or FMEA RPN rating, or are planning an ISO 14971 risk file.

  • 1,271 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 29, 2026
ai-agentspythongobashtestingsecuritydocumentation

Works with

  • cli

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add borghei/Claude-Skills --skill risk-management-specialist --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Risk Management Specialist?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Risk Management Specialist
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/borghei-risk-management-specialist/badge)](https://www.skillsdirectory.com/skills/borghei-risk-management-specialist)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: risk-management-specialist
description: >
  Medical device risk management per ISO 14971: risk analysis, evaluation,
  control, residual risk and post-production review. Use when you have a hazard
  register (CSV/JSON) to check for unacceptable or unreduced risks, need a
  P x S or FMEA RPN rating, or are planning an ISO 14971 risk file.
license: MIT + Commons Clause
metadata:
  version: 1.1.0
  author: borghei
  category: compliance
  domain: risk-management
  updated: 2026-06-15
  tags: [iso-14971, risk-analysis, fmea, risk-register, medical-device]
---
# Risk Management Specialist

ISO 14971:2019 risk management implementation throughout the medical device lifecycle — planning, hazard analysis, risk evaluation, risk control, residual-risk assessment, and post-production monitoring — extended for AI/ML, cybersecurity (IEC 81001-5-1), supply chain, and cross-framework alignment (NIST CSF, DORA, NIS2).

## Core Capabilities

- **Risk management planning** — scope, 5x5 acceptability matrix, RACI, verification and post-production planning
- **Risk analysis & evaluation** — hazard identification across 9 categories, P1-P5 / S1-S5 estimation, ALARP, benefit-risk triggers
- **Risk control** — priority hierarchy (inherent safety → protective measures → information for safety), verification methods, residual-risk evaluation
- **Post-production monitoring** — information sources, review triggers, RM-file update procedures, periodic review
- **Extended domains** — AI/ML risk (bias, drift, adversarial inputs), health-software cybersecurity, supply chain risk, cross-framework mapping

## When to Use

- Implementing ISO 14971:2019 across the device lifecycle
- Building a hazard analysis / risk register using FMEA, FTA, HAZOP, or Use Error Analysis
- Evaluating residual risk and demonstrating ALARP or benefit-risk acceptability
- Extending risk management to AI/ML devices, cybersecurity, or supply chain
- Setting up post-production risk monitoring and Risk Management File update triggers

## Clarify First

Before running the risk assessment, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

- **Device and intended use:** what it is and its use context (drives the hazard categories and benefit-risk analysis).
- **Lifecycle stage:** planning, hazard analysis, risk control, or post-production (picks the workflow).
- **Acceptability criteria:** the 5x5 matrix thresholds and ALARP definition (determines the risk-evaluation outcomes).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

## Quick Start

```bash
# Check a hazard register (CSV or JSON): flags High/Unacceptable risk and Medium risk with no ALARP rationale
python3 scripts/risk_matrix_calculator.py assets/flawed_register.csv

# Same, machine-readable
python3 scripts/risk_matrix_calculator.py assets/flawed_register.csv --format json

# FMEA register (severity, occurrence, detection per row; severity 1-10)
python3 scripts/risk_matrix_calculator.py assets/fmea_register.json

# One rating: P x S (1-5 each) or FMEA S/O/D (1-10 each)
python3 scripts/risk_matrix_calculator.py --probability 3 --severity 4
python3 scripts/risk_matrix_calculator.py --fmea --severity 8 --occurrence 4 --detection 3

# Show the matrix or the scales
python3 scripts/risk_matrix_calculator.py --show-matrix
python3 scripts/risk_matrix_calculator.py --list-criteria
```

Register columns (case-insensitive): `id`, `hazard`, `probability`, `severity`, optional `residual_probability`,
`residual_severity`, `controls`; or `severity`, `occurrence`, `detection` for FMEA rows. When residual
values are given, residual risk is the one evaluated. Missing ratings are reported as unscored, never as zero.

Real output (`assets/flawed_register.csv`):

```
Read 5 hazard row(s) from assets/flawed_register.csv; scored 5, unscored 0.
Levels: High 2, Low 1, Medium 1, Unacceptable 1
- [H1] initial risk Unacceptable: H1 (Infusion over-delivery from unit error): P4 x S5 = Unacceptable
    fix: Add or strengthen a risk control (inherent safety first), record residual P/S, and re-evaluate; design change is mandatory
...
FIX 4 finding(s)
```

## Exit Codes

| Code | Meaning |
|------|---------|
| 0 | No findings (single rating: Low/Medium, or RPN of 100 or less) |
| 1 | Findings: High/Unacceptable risk, Medium risk without controls, RPN over 100, or an invalid rating in a row |
| 2 | Unusable input: missing/empty file, no recognised columns, bad JSON, rating out of range |

## Limits

The 5x5 matrix, the probability/severity wording and the RPN bands (50/100/200) are an illustrative
common-practice template, an internal heuristic. ISO 14971 prescribes no matrix: use the acceptability
criteria in your own Risk Management Plan, and edit the tables at the top of the script to match.
RPN alone is a weak ranking; do not rely on detection to lower a high-severity risk.

## References

Load the reference that matches the task — keep this file lean and pull detail on demand:

- **[references/risk-process.md](references/risk-process.md)** — full ISO 14971 process: planning, analysis, evaluation, control, and post-production workflows; 5x5 acceptability matrix; probability/severity criteria; hazard checklist; and the decision frameworks. Read when executing any lifecycle stage.
- **[references/risk-analysis-methods.md](references/risk-analysis-methods.md)** — FMEA, FTA, HAZOP, Use Error Analysis, and software hazard analysis methods. Read when choosing and applying a hazard-analysis technique.
- **[references/iso14971-implementation-guide.md](references/iso14971-implementation-guide.md)** — complete ISO 14971:2019 implementation framework with templates. Read for clause-level implementation detail.
- **[references/templates-and-tools.md](references/templates-and-tools.md)** — Hazard Analysis / FMEA worksheets, Risk Management Report template, full `risk_matrix_calculator.py` flag reference, troubleshooting table, and success criteria. Read when documenting assessments or diagnosing tool issues.
- **[references/extended-risk-domains.md](references/extended-risk-domains.md)** — AI/ML risk categories and methodology, IEC 81001-5-1 cybersecurity integration, supply chain risk, post-market monitoring automation, combined safety-security FMEA, and NIST CSF / DORA / NIS2 cross-framework mapping. Read for connected, software, or AI-enabled devices.

## Scope & Limitations

**In Scope:**
- ISO 14971:2019 risk management process implementation (planning, analysis, evaluation, control, residual risk, production/post-production)
- 5x5 risk matrix calculation and FMEA RPN scoring
- Hazard analysis methodology guidance (FMEA, FTA, HAZOP, Use Error Analysis, PHA)
- Risk control hierarchy application and verification planning
- Benefit-risk analysis framework
- Post-production risk monitoring and risk file update triggers
- AI/ML-specific risk management extensions (model bias, drift, adversarial inputs)
- Cybersecurity risk integration per IEC 81001-5-1
- Supply chain risk assessment methodology
- Cross-framework risk mapping (ISO 14971, NIST CSF, DORA, NIS2)

**Out of Scope:**
- Clinical investigation design or execution (risk management informs clinical strategy but does not execute studies)
- Software hazard analysis per IEC 62304 (the skill references software risk but detailed software lifecycle management requires IEC 62304 expertise)
- Biocompatibility testing or ISO 10993 evaluation (the skill identifies biological hazards but does not execute biocompatibility testing)
- Cybersecurity penetration testing or vulnerability scanning (use infrastructure-compliance-auditor for technical security testing)
- CAPA root cause analysis execution (use capa-officer for 5-Why, Fishbone, FTA, FMEA-based root cause investigation)
- Regulatory submission of risk management files (use regulatory-affairs-head for submission strategy and packaging)

## Integration Points

| Skill | Integration |
|-------|------------|
| [quality-manager-qms-iso13485](../quality-manager-qms-iso13485/) | Risk management (Clause 7.1) integrates with QMS product realization planning; risk file is part of the Design History File |
| [capa-officer](../capa-officer/) | Post-market risk signals may trigger CAPA; CAPA root cause analysis methods (FMEA, FTA) overlap with risk analysis techniques |
| [regulatory-affairs-head](../regulatory-affairs-head/) | Risk management file is required for FDA submissions and EU MDR Technical Documentation; benefit-risk analysis supports clinical evaluation |
| [quality-documentation-manager](../quality-documentation-manager/) | Risk management file and records must be controlled per document control procedures (Clause 4.2) |
| [fda-consultant-specialist](../fda-consultant-specialist/) | FDA cybersecurity guidance (2025 update) requires integration of security risks into ISO 14971 processes for premarket submissions |
| [infrastructure-compliance-auditor](../infrastructure-compliance-auditor/) | Technical security controls validated by the infrastructure auditor serve as risk mitigations for cybersecurity threats in the risk assessment |
| [nist-csf-specialist](../nist-csf-specialist/) | NIST CSF risk assessment (ID.RA) maps to ISO 14971 hazard identification and risk estimation; unified risk register possible |

Files in this skill

  • SKILL.md40.5 KB
  • references/iso14971-implementation-guide.md14.1 KB
  • references/risk-analysis-methods.md13 KB
  • scripts/risk_matrix_calculator.py13.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.