stpa-step2-control-structure

Model hierarchical control structures in Graphviz/DOT format for STPA safety analysis.

2|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/ucirello/sgai --skill stpa-step2-control-structure-ucirello
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stpa-step2-control-structure
Source: https://github.com/ucirello/sgai/tree/main/cmd/sgai/skel/.sgai/skills/stpa/stpa-step2-control-structure
Command: npx skills add https://github.com/ucirello/sgai --skill stpa-step2-control-structure-ucirello

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you systematically model the control structure of a system, identifying controllers, control actions, and feedback paths, which is crucial for safety analysis using the STPA methodology.

Core Features & Use Cases

  • Control Structure Modeling: Visually represent hierarchical control relationships.
  • Identify Key Components: Pinpoint controllers, control actions, and feedback loops.
  • Safety Analysis Foundation: Provides a clear model for identifying potential hazards in Step 3 of STPA.
  • Use Case: Analyzing the control flow of an autonomous vehicle's braking system to ensure all commands and feedback are correctly modeled for safety.

Quick Start

Use the stpa-step2-control-structure skill to model the control structure for the provided system description.

Frequently Asked Questions about stpa-step2-control-structure

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

FAQPage Schema
How do I model a control structure for STPA safety analysis?

To model a control structure for STPA safety analysis, you map hierarchical controllers, control actions, and feedback paths to understand system dynamics and identify potential failure points visually.

Can I generate STPA control structure diagrams using Graphviz DOT format?

Yes, you can generate STPA control structure diagrams using Graphviz DOT format to visually represent hierarchical control relationships and system interactions for safety analysis.

What is the best way to identify controllers and feedback loops for risk analysis?

Identifying controllers and feedback loops for risk analysis requires systematically modeling the hierarchical control structure to pinpoint components and their interactions.

Do I need clear system component definitions before building an STPA control structure?

Yes, you need clear definitions of system components and their interactions before building an STPA control structure, as accurate modeling relies on understanding these relationships.

How does control structure modeling prepare my system for Step 3 of STPA?

Control structure modeling prepares your system for Step 3 of STPA by providing a clear visual model of control flows and feedback, which is crucial for identifying potential hazards.