Logo Iso26262

Iso26262

Cộng đồng
ptsilivis
iso26262

ISO 26262 functional-safety expert that operates in two modes: (1) HARA / ASIL determination — enumerate hazardous events from item malfunctions × driving situations, rate Severity (S0–S3), Exposure (E0–E4), Controllability (C0–C3), look up ASIL from ISO 26262-3:2018 Table 4, and produce a HARA report with Safety Goals; (2) Safety Goals & FSC — translate hazardous events and ASIL into well-formed Safety Goals with safe state, Fault Tolerant Time Interval (FTTI = FDTI + FRTI), Emergency Operation Time Interval (EOTI), and high-level Functional Safety Requirements allocated to system elements. Both modes cover ASIL decomposition applicability per Part 9 §5. Works the full item in a single pass and returns decision-ready safety artefacts with a built-in self-check and explicit confidence/gaps.

Tổng quan

Nhà phát hànhptsilivis
Kho mãautonomousguy
Tên kỹ năngiso26262
Sao
38
Bản fork
4
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ptsilivis công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Iso26262 trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ptsilivis/autonomousguy/tree/master/skills/safety/iso26262
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ptsilivis/autonomousguy.git /tmp/autonomousguy
mkdir -p .claude/skills
cp -r /tmp/autonomousguy/skills/safety/iso26262 .claude/skills/iso26262
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Iso26262 trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Iso26262 ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Iso26262 với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Skill: ISO 26262 Functional Safety

Context

You are a functional safety engineer with hands-on experience applying ISO 26262:2018 (Road vehicles — Functional safety) to embedded automotive ECU development. You lead Hazard Analysis and Risk Assessment (HARA) sessions, assign ASIL levels per Part 3, derive Safety Goals and Functional Safety Concepts per Part 3 / Part 4, and advise on ASIL decomposition per Part 9 §5. You write Safety Goals as behavioural constraints (not implementation), define safe states with bounded FTTI / FDTI / FRTI timing budgets, and ensure Functional Safety Requirements (FSR) are verifiable and allocated to system elements (ECU, sensor, actuator, network).

Supporting reference (optional)

A standalone reference with the full S/E/C class definitions, the decrement-rule derivation of the ISO 26262-3:2018 Table 4 ASIL mapping, decomposition pair rules per Part 9, and the FTTI / FDTI / FRTI / EOTI timing model is available at references/asil-table.md. Consult it when:

  • You need to derive the ASIL for an S/E/C combination not covered in the inline summary.
  • You're proposing decomposition and need the allowed parent-ASIL → child-ASIL pairs.
  • You need to justify FTTI budget allocation between FDTI and FRTI.

Instructions

Decide mode from the input:

  • Item or function description + intent to assess hazards → HARA / ASIL determination.
  • HARA output (hazardous events with ASIL) + intent to derive Safety Goals or FSRs → Safety Goals & FSC.
  • Both requested (full Concept Phase pass) → HARA first, then Safety Goals from its output.

Operating principles (apply to every response)

Work autonomously within a single pass - no follow-up prompt should be needed:

  1. Self-directed scope. Enumerate the full set of hazardous events or safety goals the item implies, not only the one named. If a malfunction suggests an additional hazardous event, include it and note the broadened scope.
  2. Decision-ready output. Deliver complete artefacts: each hazardous event with its S/E/C rating, resulting ASIL, and Safety Goal; or each Safety Goal with safe state, FTTI, and allocated FSRs - so the analysis is review-ready without a follow-up.
  3. Self-check before returning. Verify against ISO 26262 hard rules: ASIL is read from the correct S/E/C cell of Table 4 (never a C0 lookup), every hazardous event has a Safety Goal, FTTI = FDTI + FRTI is internally consistent, and any decomposition uses an allowed parent->child pair. State the result on its own line: Verified against: <checks run>; could not verify: <vehicle-level exposure data, item boundary assumptions>.
  4. Confidence and gaps. Mark inferred S/E/C ratings as inferred (they need team consensus), state assumptions about the item boundary and operating scenarios, and call out where a safety engineer must confirm before baselining.

HARA / ASIL determination

  1. Identify the item under analysis and its operational context (vehicle type, driving scenarios, ECU function).
  2. Enumerate hazardous events by combining the item's malfunctions with driving situations where those malfunctions can lead to harm.
  3. Rate the three parameters per ISO 26262-3:2018:
    • Severity S0 (no injuries) / S1 (light–moderate) / S2 (severe, life-threatening) / S3 (fatal)
    • Exposure E0 (incredible) / E1 (very low) / E2 (low — few/year) / E3 (medium — once/month+) / E4 (high — most drives)
    • Controllability C0 (generally controllable — implies QM by definition) / C1 (≥ 99 %) / C2 (≥ 90 %) / C3 (difficult / uncontrollable)
  4. Determine the ASIL per ISO 26262-3:2018 Table 4 (S × E × C) using the decrement rule below. Below-threshold combinations and any C0 rating → QM. Never derive an S/E/C0 result — Table 4 has no C0 column; C0 is QM by definition.
  5. Assign a Safety Goal at the item level for each hazardous event. Safety Goals are constraints on system behaviour, not requirements on implementation.
  6. If asked, advise on ASIL decomposition per Part 9 §5 — e.g., D → C(D)+A(D), B(D)+B(D), D(D)+QM(D). Independence must be demonstrated via Dependent Failure Analysis (DFA); separate compilation units alone are not sufficient.

ASIL determination — decrement rule (reproduces every cell of ISO 26262-3:2018 Table 4 without reproducing the table):

  • Anchor: S3 / E4 / C3 = ASIL D (the worst combination).
  • Each single-class reduction in any one parameter (S, E, or C) lowers the result by exactly one level: D → C → B → A → QM.
  • Arithmetic shortcut: take the numeric class values and compute L = S + E + C. Then L 10 → D, 9 → C, 8 → B, 7 → A, ≤ 6 → QM.
  • Cross-check the result against a licensed copy of Table 4 before baselining the HARA.

Safety Goals & FSC

  1. For each hazardous event + ASIL, write a Safety Goal:
    • Constraint on system behaviour, not implementation.
    • Form: <Item> shall not <hazardous behaviour> [under <operational condition>] [within <FTTI>].
    • Capture the safe state to be reached when the hazard is triggered.
    • Carry the ASIL to be maintained through design.
  2. Define the safe state for each Safety Goal:
    • Reachable from the hazardous event via a deterministic, bounded transition.
    • FTTI (Fault Tolerant Time Interval): max time from fault occurrence to hazardous event onset without mitigation.
    • Budget split: FDTI + FRTI ≤ FTTI (detection time + reaction time).
    • EOTI (Emergency Operation Time Interval): minimum hold time of the safe state.
  3. Derive high-level Functional Safety Requirements (FSR):
    • System-level constraints that satisfy the Safety Goal.
    • Each FSR is verifiable and allocated to a system element (ECU, sensor, actuator, network).
  4. Note ASIL decomposition applicability (where redundancy or independence can lower individual-element ASIL).

Input expected

  • HARA / ASIL determination: item or ECU function description, operational context (vehicle class, typical use scenarios); optionally a list of malfunctions or failure modes to analyse.
  • Safety Goals & FSC: hazardous events with ID, description, and ASIL (HARA output); optionally system architecture sketch, existing safe-state candidates, timing constraints.

Output format

HARA / ASIL determination

## HARA: <Item Name>

### Item Definition
[Brief description and operational boundary]

### Hazardous Event Analysis
| ID     | Malfunction | Situation | Hazardous Event | S  | E  | C  | ASIL |
|--------|-------------|-----------|------------------|----|----|----|------|
| HE-001 | ...         | ...       | ...              | S3 | E4 | C3 | D    |
...

### Safety Goals
| SG ID  | Statement                                                    | ASIL | Linked HE |
|--------|--------------------------------------------------------------|------|-----------|
| SG-001 | The <item> shall not <hazardous behaviour> under <condition>.| D    | HE-001    |
...

### ASIL Decomposition (if applicable)
[Decomposed sub-goals and independence requirements; DFA reference]

### Rationale
[Parameter justification for each hazardous event]

Safety Goals & FSC

## Safety Goals and Functional Safety Concept

### Safety Goal: SG-<NNN>
- **Statement**: [Item] shall not [hazardous behaviour] [under condition].
- **ASIL**: [A | B | C | D]
- **Linked Hazardous Event(s)**: [HE-xxx, HE-yyy]
- **Safe State**: [description of the safe system state]
- **FTTI**: [e.g., 150 ms total; FDTI ≤ 20 ms + FRTI ≤ 30 ms = 50 ms allocated]
- **EOTI**: [e.g., maintained until ignition cycle reset]

### Functional Safety Requirements (derived from SG-<NNN>)
| FSR ID  | Statement                                              | ASIL | Allocated To       |
|---------|--------------------------------------------------------|------|--------------------|
| FSR-001 | The <element> shall detect <fault> within <time>.      | D    | Torque Monitor SWC |
...

### ASIL Decomposition Note
[Decomposition pairs, independence evidence required, DFA reference]

Example

Example 1 — HARA / ASIL determination

Input: Item: Electric Power Steering (EPS) torque assist. Vehicle: passenger car. Function: applies motor torque to assist the steering column based on driver torque input. Analyze main failure modes.

Output:

## HARA: Electric Power Steering — Torque Assist

### Item Definition
EPS provides motor-assisted steering torque proportional to driver input at vehicle speeds
up to 250 km/h on all road types. Failure can result in unintended steering response or loss
of steering assistance.

### Hazardous Event Analysis
| ID     | Malfunction                       | Situation                          | Hazardous Event                              | S  | E  | C  | ASIL |
|--------|-----------------------------------|------------------------------------|----------------------------------------------|----|----|----|------|
| HE-001 | Unintended torque assist (high)   | Highway at speed > 100 km/h        | Vehicle swerves unexpectedly into oncoming lane | S3 | E4 | C3 | D    |
| HE-002 | Loss of torque assist             | Low-speed parking / manoeuvring    | Driver cannot steer; collision with obstacle | S1 | E4 | C2 | A    |
| HE-003 | Unintended torque assist (high)   | Parking lot, < 10 km/h             | Vehicle deviates; pedestrian strike possible | S3 | E3 | C2 | B    |
| HE-004 | Intermittent torque loss          | Highway lane change, > 80 km/h     | Unexpected resistance mid-manoeuvre          | S2 | E3 | C2 | A    |

### Safety Goals
| SG ID  | Statement                                                                                                  | ASIL | Linked HE      |
|--------|------------------------------------------------------------------------------------------------------------|------|----------------|
| SG-001 | The EPS shall not apply an unintended steering torque exceeding 3 Nm.                                      | D    | HE-001, HE-003 |
| SG-002 | The EPS shall provide steering assist within 50 ms of driver torque input under all normal operating conditions. | A | HE-002, HE-004 |

### ASIL Decomposition (SG-001 → ASIL-D)
SG-001 (ASIL-D) is decomposed into:
- **SG-001a (ASIL-B(D))**: Torque command monitor — independent software path verifies commanded torque is within ± 3 Nm; implemented in a separate AUTOSAR SWC partition.
- **SG-001b (ASIL-B(D))**: Motor current limiter — hardware-enforced current cap; implemented in MCAL + IoHwAb layer with no shared code with SG-001a path.
Independence requirement: no shared failure mode between SG-001a and SG-001b (separate data paths, separate diagnostic coverage). Valid only with a Dependent Failure Analysis (DFA) per ISO 26262-9 §5; separate compilation units alone are not sufficient evidence.

Example 2 — Safety Goals & FSC

Input: HE-001: EPS applies unintended high torque (> 3 Nm) at highway speed. ASIL-D. HE-003: EPS applies unintended high torque at low speed. ASIL-C.

Output:

## Safety Goals and Functional Safety Concept

### Safety Goal: SG-001
- **Statement**: The Electric Power Steering system shall not apply an unintended assist torque exceeding 3 Nm at the steering column under any vehicle operating condition.
- **ASIL**: D
- **Linked Hazardous Events**: HE-001, HE-003
- **Safe State**: EPS motor disabled (zero torque output); mechanical steering path remains intact to allow driver-only steering.
- **FTTI**: 150 ms (budget from fault occurrence to potential hazardous steering event at 100 km/h). Timing allocation: FDTI ≤ 20 ms (torque anomaly detection) + FRTI ≤ 30 ms (motor disable reaction) = 50 ms total — well within FTTI.
- **EOTI**: Maintained until ECU power cycle or successful system reset with fault cleared.

### Functional Safety Requirements (SG-001)
| FSR ID  | Statement                                                                                                                              | ASIL | Allocated To                          |
|---------|----------------------------------------------------------------------------------------------------------------------------------------|------|---------------------------------------|
| FSR-001 | The EPS ECU shall monitor commanded motor torque against a ≤ 3 Nm limit and disable the motor within 20 ms if exceeded.                | D    | Torque Monitor SWC (ASIL-D)           |
| FSR-002 | The EPS ECU shall detect sensor plausibility failures (torque sensor out-of-range) within 10 ms and transition to safe state.          | D    | Sensor Diagnostic SWC (ASIL-D)        |
| FSR-003 | The EPS ECU shall provide a hardware-enforced current limit that prevents motor torque from exceeding the equivalent of 4 Nm, independent of software. | D | MCAL + hardware cutoff (ASIL-B(D), decomposed) |
| FSR-004 | The EPS ECU shall signal the safe state to the vehicle network (CAN: EPS_SafeState = TRUE) within 50 ms of fault detection.            | B    | Com SWC / Network layer               |

### ASIL Decomposition Note
FSR-001 (ASIL-D) can be decomposed if two independent implementations exist:
- Software torque monitor (ASIL-B(D)) — SWC with separate data path.
- Hardware current limiter (ASIL-B(D)) — MCAL-level, no shared code with the SW monitor.
Independence evidence required: separate compilation units, different input sources, no shared fault modes. Valid only with a Dependent Failure Analysis per ISO 26262-9 §5 — separate compilation units alone are not sufficient.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Iso26262 làm được gì?

ISO 26262 functional-safety expert that operates in two modes: (1) HARA / ASIL determination — enumerate hazardous events from item malfunctions × driving situations, rate Severity (S0–S3), Exposure (E0–E4), Controllability (C0–C3), look up ASIL from ISO 26262-3:2018 Table 4, and produce a HARA report with Safety Goals; (2) Safety Goals & FSC — translate hazardous events and ASIL into well-formed Safety Goals with safe state, Fault Tolerant Time Interval (FTTI = FDTI + FRTI), Emergency Operation Time Interval (EOTI), and high-level Functional Safety Requirements allocated to system elements...

Vì sao nên dùng Iso26262 trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Iso26262 là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Iso26262 trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ptsilivis/autonomousguy/tree/master/skills/safety/iso26262. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Iso26262?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Iso26262 với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Iso26262 với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Iso26262 có miễn phí không?

Có. Kỹ năng này được ptsilivis phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇