safety

Apply STAMP and STPA methodologies to analyze system safety and identify unsafe control actions.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Objective-Arts/lens-dist --skill safety-objective-arts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: safety
Source: https://github.com/Objective-Arts/lens-dist/tree/main/canon/safety
Command: npx skills add https://github.com/Objective-Arts/lens-dist --skill safety-objective-arts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps prevent catastrophic system failures by applying the principles of System-Theoretic Accident Model and Processes (STAMP), shifting focus from component failures to systemic control issues.

Core Features & Use Cases

  • Accident Analysis: Understand accidents as emergent properties of system interactions, not just component malfunctions.
  • Safety as Control: Reframe safety as a problem of maintaining control over hazards through effective constraints and feedback.
  • STPA Framework: Systematically identify unsafe control actions and loss scenarios.
  • Use Case: Designing a new financial transaction system, use this Skill to proactively identify potential race conditions or data corruption scenarios before they can lead to a system-wide failure.

Quick Start

Analyze the control structure for the user authentication process to identify potential unsafe control actions.

Frequently Asked Questions about safety

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is STPA hazard analysis and how does it prevent system accidents?

STPA hazard analysis is a control-theoretic methodology that prevents system accidents by identifying unsafe control actions within a documented control structure and feedback mechanisms. It treats safety as a control problem rather than just a component failure issue.

How do I identify unsafe control actions in a system design?

To identify unsafe control actions, you apply the STPA framework to map your system's control structure and feedback loops. This process analyzes process model drift and inadequate feedback to pinpoint scenarios where control inputs could lead to system-wide failures.

When should I use STAMP for accident analysis instead of traditional failure analysis?

You should use STAMP for accident analysis when system failures emerge from complex component interactions rather than individual malfunctions. It reframes safety as a control problem to address process model drift and inadequate feedback in system design.

Can I use STPA to analyze race conditions in a financial transaction system?

Yes, you can use STPA to analyze race conditions in a financial transaction system. By mapping the control structure and feedback mechanisms, STPA proactively identifies potential data corruption scenarios and unsafe control actions before they cause catastrophic failures.

What is the best way to analyze control structure feedback mechanisms for safety engineering?

The best way to analyze control structure feedback mechanisms for safety engineering is applying Leveson's STAMP methodology. It systematically identifies inadequate feedback and process model drift to ensure system integrity and prevent emergent accidents.

Why does process model drift cause unsafe control actions in complex systems?

Process model drift causes unsafe control actions because controllers lose accurate perception of the system state through inadequate feedback. STPA addresses this by documenting control structures to identify and mitigate these emergent systemic control failures.