Openclaw Skills turns raw system failure descriptions into visual, quantitative fault tree analyses with probabilities, importance ranking, and reports.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install skill-fta-analysis
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install skill-fta-analysis using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Fault Tree Analysis (FTA) is an Openclaw Skills workflow for modeling how basic failures combine into higher-level system faults using AND/OR logic. It converts a free-form system failure description into a structured, machine-readable fault tree that can be rendered, validated, and analyzed.
Use this skill when you need to estimate top-event probability, rank the most critical basic events, identify minimum cut sets, and produce a professional HTML report for reliability, safety, and quality reviews. Openclaw Skills keeps the process repeatable whether you start from a conversation, a JSON file, or an imported YAML dataset.
Define the system and top event. Start with a clear description of the system boundary, the failure you want to analyze, and any known component failure probabilities.
Build the fault tree structure. Create a standard JSON dataset with nodes for basic, intermediate, AND, and OR events, then connect them with directed edges.
Validate the model. Check that probabilities are between 0 and 1, that the event relationships make sense, and that the tree is structurally complete.
Render the fault tree. Use the Graphviz-backed visualizer to generate a readable diagram for communication and review.
Run quantitative analysis. Calculate the top-event probability, importance measures, and minimum cut sets to understand where the system is most vulnerable.
Generate the final report. Compile the inputs and analysis results into an HTML report, and optionally export the model to another format for downstream use.
# Ubuntu/Debian
sudo apt-get update && sudo apt-get install -y graphviz
# macOS
brew install graphviz
Make sure Python and the Graphviz executable are available in your PATH.
Prepare an FTA dataset in JSON, or start from YAML if you plan to import an existing model.
If your source data is YAML, convert it to the standard JSON format first.
python scripts/fta_io.py --mode import --input source.yaml --output fta_data.json
python scripts/fta_visualizer.py --input fta_data.json --output fault_tree.png
python scripts/fta_calculator.py --input fta_data.json --output calc_result.json
python scripts/fta_report.py --input fta_data.json --calc-result calc_result.json --output report.html
python scripts/fta_io.py --mode export --input fta_data.json --output export.yaml
| Field | Type | Purpose |
|---|---|---|
name |
string | Human-readable system name |
top_event |
string | Root event ID representing the system-level failure being analyzed |
nodes |
object | Event registry keyed by event ID |
edges |
array | Directed parent-child relationships between events |
| Field | Type | Allowed values / meaning |
|---|---|---|
type |
enum | basic, intermediate, and, or |
name |
string | Event label shown in the tree and report |
probability |
number | Failure probability, expected to stay between 0 and 1 |
description |
string | Optional supporting notes for review and documentation |
edges entries use { from, to } semantics.from points to the parent event or gate.to points to the child event.| File | Purpose |
|---|---|
fault_tree.png |
Graphviz-rendered fault tree visualization |
calc_result.json |
Probability calculation output and analysis results |
report.html |
Shareable HTML report for review and handoff |
export.yaml |
Optional exported model format for interoperability |
name, top_eventid, type, name, probability, descriptionedges relationships between eventsP ≈ λt can be used.P ≈ λt approximation for near-zero failure rates.Loading
An Openclaw Skills workflow that helps you scope, design, and document an ISO14001:2026-aligned environmental management system.

Guides FMEA 2019 workflows with RPN calculation, risk ranking, and mitigation tracking for DFMEA, PFMEA, and SFMEA.

Openclaw Skills turns raw ESG data into validated, standards-aligned reports with charts and PDF/HTML export.

Openclaw Skills' Drawing Diff Analyzer compares 2D engineering drawings with 3D models, detects dimension and outline mismatches, and generates review-ready JSON and Markdown reports.

Openclaw Skills turns a product process flow into a Codex/GB-aligned HACCP plan with hazards, CCPs, limits, actions, and Excel-ready output.

An analytical safety assessment tool designed to identify environmental factors and hazards in manufacturing, laboratory, and warehouse facilities.








































