跳到正文
cccskills
免费在 GitHub 公开

foundations-safety-engineering

Analyzes hazards in systems or AI agents: STPA, guardrails, safety cases, incident analysis. Use when an agent can take actions or send payments.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(12)

  • SKILL.md6.3 KB
  • agents/openai.yaml323 B
  • assets/templates/safety-traceability.md858 B
  • data/sources.json9.9 KB
  • references/agent-stpa-payments.md8.1 KB
  • references/assurance-and-boundaries.md2.3 KB
  • references/cast-incident-analysis.md4.1 KB
  • references/completed-example.md2.3 KB
  • references/safety-cases.md5.0 KB
  • references/safety-ii-and-stamp.md2.8 KB
  • references/standards-map.md2.2 KB
  • references/stpa-analysis.md1.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Safety Engineering Foundations

Derive constraints that prevent unacceptable losses, including losses from interactions between functioning components. Scope the analysis to the requested system and decision; analysis does not authorize external actions.

When to use

Use when a task asks what could go wrong with a system or agent, which guardrails an agent that can take real actions (payments, deletes, deploys, messages) needs, for a hazard analysis or STPA, for a safety case for an AI system, or for an incident analysis that goes beyond one root cause.

For failure rates, repair/availability models, FMEA, and fault-tree probabilities, use reliability theory. For proving specified model properties, use formal methods. Operational incident response and security hardening remain with their existing owners.

Quick Reference

  • Put guardrails at the mutation boundary. A prompt instruction feeds the planner's process model. It does not constrain the system.
  • Name the depth. A reversible, low-impact change gets a single hazard row. Irreversible actions, money movement or delegated authority get full STPA. A decision-maker who must accept residual risk gets a safety case.
  • Freeze the losses first. A human fixes the losses and hazards before an LLM drafts any STPA or FMEA; the LLM drafts scenarios and constraints only, and a human reviews each. The same rule applies to a property in formal methods.
  • Pick the method by cause. Use STPA when the loss can come from control-structure, process-model or software/agent interaction hazards. Use FMEA when failure modes of enumerable components with a parts list drive the loss. Use both when a regulator requires FMEA and the system has autonomy. STPA gives no probabilities. Details: Safety-II and STAMP.
  • Layers are not independent. Do not count Swiss-cheese layers as multiplying protection unless their failures are shown to be uncorrelated; layers that share a model, prompt channel or credential fail together. The model is a communication aid, not a probability model.
  • Decide risk acceptance before controls. State severity and reversibility, name the accepting authority, and record residual hazards; reduce risk as far as reasonably practicable (ALARP) before adding controls. No numeric thresholds here.
  • Standards are pointers. Name SOTIF, ISO/PAS 8800 or UL 4600 only through the standards map, and never as evidence of conformance.

Workflow

  1. Define system boundary, stakeholders, lifecycle phase, unacceptable losses, and environmental assumptions. Separate an accident/loss from a hazardous system state. Invert each hazard into a system-level constraint (H → SC). Past about seven to ten system-level hazards, group them and refine later (STPA Handbook rule of thumb).
  2. Model controllers, controlled processes, control actions, feedback, and process-model assumptions. Include humans and interacting controllers when relevant.
  3. Read STPA analysis and examine each action in four categories: omission, unsafe provision, timing/order, and inappropriate duration where applicable.
  4. For each unsafe control action (UCA), identify context and hazard; invert it into a controller constraint, make it testable, and assign an owner. Explore stale/missing feedback, flawed process models, conflicting commands, and unsafe execution paths, including functioning components.
  5. Fill the traceability worksheet. Read assurance and boundaries before making completion or safety claims. Use the synthetic examples (rollback, payment agent) as illustrations, not risk estimates.
  6. If an argued case is required, structure it with safety cases. For a past incident, run CAST instead of steps 3–4.

Completion criteria

Every analyzed UCA links to a hazard and loss, a constraint, and planned or observed verification. Record excluded scenarios, unknowns, residual hazards, owners, and review triggers. A scenario with no test evidence remains a proposed mitigation.

Do not equate uptime with safety, assign fabricated event probabilities, or describe an STPA diagram as proof. This skill provides analysis and assurance structure; it does not certify compliance, establish acceptable risk, or grant approval authority. Respect authorization already supplied and identify any specific additional action requiring authorization without creating universal approval loops.

Navigation

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.

中文简介正在准备中。当前显示原文说明。

vasilyu1983/AI-Agents-public1012026年10月16日 更新

Configures and hardens Claude Code and Codex MCP servers. Use when connecting databases, APIs, SaaS, building servers, or serving a clearance-filtered knowledge base.

中文简介正在准备中。当前显示原文说明。

vasilyu1983/AI-Agents-public1012026年10月16日 更新

Owns instruction files: AGENTS.md, CLAUDE.md, personal and repo rules. Use when writing, pruning, auditing them, sharing rules across Claude and Codex, or fixing ignored rules.

中文简介正在准备中。当前显示原文说明。

vasilyu1983/AI-Agents-public1012026年10月16日 更新

Creates and audits agent skills: SKILL.md, references, scripts, runtime metadata. Use when writing, validating, or security-reviewing a skill, or fixing truncated skill listings.

中文简介正在准备中。当前显示原文说明。

vasilyu1983/AI-Agents-public1012026年10月16日 更新

Adds per-skill learnings loops for dated patterns, mistakes, and domain facts. Use when wiring skill memory, consolidation, or drift audits.

中文简介正在准备中。当前显示原文说明。

vasilyu1983/AI-Agents-public1012026年10月16日 更新

Chooses subagent, team, workflow, or debate and launches it on Claude Code or Codex. Use when delegating, running agent review boards, or installing shared agents.

中文简介正在准备中。当前显示原文说明。

vasilyu1983/AI-Agents-public1012026年10月16日 更新

查看 vasilyu1983 的全部技能

报告此技能的问题