stpa-overview

Guide System Theoretic Process Analysis to identify hazards, unsafe control actions, and causal loss scenarios in complex control systems.

130|8|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/sandgardenhq/sgai --skill stpa-overview
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stpa-overview
Source: https://github.com/sandgardenhq/sgai/tree/main/cmd/sgai/skel/.sgai/skills/stpa/stpa-overview
Command: npx skills add https://github.com/sandgardenhq/sgai --skill stpa-overview

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Teams struggle to run consistent, thorough safety analyses across complex control systems. This Skill structures a complete STPA workflow so you can systematically define losses and hazards, model control structures, identify unsafe control actions, and derive loss scenarios with actionable mitigations.

Core Features & Use Cases

  • Four-Step STPA Workflow: Orchestrates purpose definition, control structure modeling, UCA identification, and loss scenario analysis.
  • Interactive Questioning: Asks one question at a time, captures answers, and records findings in project documentation.
  • Cross-Domain Coverage: Applies to software, physical, and AI-driven control systems using control-feedback loop modeling.
  • Use Case: Analyze an autonomous drone’s flight controller to enumerate hazards (e.g., loss of altitude control), map unsafe control actions for throttle and navigation commands, and document causal scenarios with mitigations.

Quick Start

Start an STPA session and guide me step by step to document losses, hazards, constraints, the control structure, UCAs, and loss scenarios for my system.

Frequently Asked Questions about stpa-overview

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

FAQPage Schema
How do I perform STPA hazard analysis for a complex control system?

STPA hazard analysis follows a four-step workflow: define losses and hazards, model the control structure, identify unsafe control actions, and derive causal loss scenarios with actionable mitigations. This systematic process ensures thorough safety assessment for complex control systems.

What is STPA and when do I need it for safety engineering?

STPA is a System Theoretic Process Analysis method for identifying hazards in complex control systems. You need STPA for safety engineering when analyzing software-intensive, physical, or AI-driven systems where control-feedback loops and operational constraints must be modeled and assessed.

How do I identify unsafe control actions in AI-driven systems?

You identify unsafe control actions by modeling the system's control-feedback structure and evaluating where commands could cause hazards. For AI-driven systems, STPA maps operational constraints and assesses how control actions could lead to unsafe scenarios and losses.

Does STPA work for physical systems and software-intensive control loops?

Yes, STPA works for physical systems and software-intensive control loops. The method applies cross-domain by modeling control-feedback loops and operational constraints to identify hazards and unsafe control actions in software-intensive, physical, and AI-driven systems.

What's the best way to document loss scenarios and safety constraints?

The best way to document loss scenarios and safety constraints is through a structured STPA workflow that records findings in project files. This involves iteratively documenting losses, hazards, constraints, unsafe control actions, and causal loss scenarios with actionable mitigations.