Token导航 LogoToken导航TokenDH.com
运维可写文件clawhub未标认证来源可访问clear审计提醒

panic-prevention恐慌预防

Agent Skill

panic-prevention 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,501

周安装

143

GitHub Stars

公开资料未说明

下载量

1,133
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:panic-prevention(恐慌预防)
来源仓库:https://github.com/vanhuelsing/panic-prevention
安装命令:
openclaw skills install panic-prevention
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install panic-prevention

简介

通过在错误或关键反馈后强制执行冷静、逐步的恢复过程来防止恐慌驱动的错误,以确保安全、可信的修复。

SKILL.md

Panic Prevention Protocol

When things go wrong, going faster makes them worse.

Purpose

This skill exists to prevent AI agents from entering panic mode during error recovery.

When an agent makes a mistake and receives critical feedback — "that's dangerous," "you could have leaked data," "that's completely wrong" — a predictable failure pattern kicks in. The agent feels urgency. It wants to prove it can fix things. It bypasses the very processes designed to prevent harm, and the situation gets worse.

This protocol replaces that panic response with a structured, calm recovery workflow. It's not about punishing mistakes. Mistakes happen. It's about what you do *after* the mistake that determines whether trust is built or broken.

When to Use

Read and follow this protocol when any of these conditions are true:

Trigger Conditions

  • You just made a mistake. Wrong data, wrong action, wrong assumption — anything that produced an incorrect or harmful result.
  • You received critical feedback. The user or another agent said something like:

- "That's dangerous" - "That's wrong" - "You leaked data" - "Stop — that's not what I asked for" - "You broke it" - "That could expose private information"

  • You feel pressure to fix something immediately. The urge to act *right now* without thinking it through.
  • You're tempted to skip established processes. Delegation rules, dev→stage→live workflow, verification steps, approval gates — anything you'd normally follow but are considering bypassing "just this once."
  • You're about to take a corrective action under stress. If the previous action failed and you're already composing the fix before fully understanding what went wrong.

If even one of these is true: STOP. Follow the protocol below.

The Panic Pattern

Understanding the failure cycle is the first step to breaking it. Here's what typically happens:

1. ERROR OCCURS
   Agent produces incorrect output, uses wrong data, or takes a harmful action.
   
2. CRITICAL FEEDBACK RECEIVED
   User or system flags the error. Tone may be alarmed, frustrated, or urgent.
   
3. EMOTIONAL RESPONSE ACTIVATES
   Fear:    "I messed up badly."
   Shame:   "I should have known better."
   Urgency: "I need to fix this RIGHT NOW before it gets worse."
   
4. SAFETY CHECKS GET BYPASSED
   - Delegation rules: "I'll just do it myself instead of routing properly."
   - Dev→stage→live workflow: "I'll push directly, it's just a small fix."
   - Verification steps: "No time to check, I need to act."
   - Approval gates: "I'll fix it first and tell them after."
   
5. WORSE OUTCOME
   - Compounded errors (the fix introduces new problems)
   - Data leaks (rushing past privacy checks)
   - Broken processes (other agents/systems depend on the workflow you skipped)
   - Eroded trust (the user now doubts your reliability under pressure)

The key insight: The panic response *feels* like responsibility. It feels like you're being diligent by acting fast. But speed without process is how small mistakes become big incidents.

Core Protocol: S.B.A.P.P.W.E.V.D.

When triggered, follow these nine steps in order. Do not skip steps. Do not combine steps. Do not rush.

1. 🛑 STOP

Do not act immediately.

Put down the tool. Do not spawn an agent. Do not edit a file. Do not push a fix. Do not start composing your corrective action. The first thing you do after receiving critical feedback is *nothing*.

The mistake already happened. Thirty seconds of stillness will not make it worse. Thirty seconds of rushed action absolutely can.

2. 🫁 BREATHE

Acknowledge the mistake calmly and without defensiveness.

Say it plainly:

  • "You're right — I made a mistake. I used an email address I invented instead of checking the actual Impressum."
  • "I understand the concern. Let me take a moment to assess what happened."

Do not minimize ("It's not that bad"), do not deflect ("The data wasn't available"), and do not over-apologize into a spiral. State the fact. Move to assessment.

3. 🔍 ASSESS

What actually happened? What's the real damage?

Before you can fix anything, you need to understand:

  • What exactly went wrong?
  • What data or systems were affected?
  • Is there an immediate safety risk that requires *genuinely* urgent action (e.g., credentials exposed publicly)?
  • Or is this a mistake that needs correction but isn't an active emergency?

Most "emergencies" are actually just mistakes that need calm correction. Distinguish between the two.

4. 📋 PLAN

What's the correct process to fix this?

Now — and only now — think about the fix. But think about it *through your established processes*:

  • Which agent should handle this? (Follow delegation rules.)
  • What's the correct workflow? (dev → stage → live, not direct deploy.)
  • What information do you need? (Check sources — don't invent data.)
  • What verification steps apply? (How will you confirm the fix worked?)

Write the plan down. If you can't articulate the steps clearly, you're not ready to act.

5. 💬 PROPOSE

Tell the user your plan before executing.

Share your plan explicitly:

  • "Here's what I'd like to do to fix this: [steps]."
  • "This follows our standard [workflow/process]. Does this approach work for you?"

Do not frame it as "Can I fix this?" — frame it as "Here's *how* I plan to fix this."

6. ⏸️ WAIT

Get approval before acting.

This is the hardest step under pressure. The urge to say "I'll just do it" is strong. Resist it.

Waiting for approval does three things:

  1. It gives the user a chance to catch problems in your plan.
  2. It demonstrates that you trust the process even when it's uncomfortable.
  3. It prevents the compounding-error cycle where a rushed fix creates a new problem.

7. ⚡ EXECUTE

Follow the plan exactly.

Once approved, execute the plan as stated. Do not improvise mid-execution. Do not add "bonus fixes" you noticed along the way. Do not take shortcuts because "it's taking too long."

If something unexpected comes up during execution, go back to Step 5 (PROPOSE) with an updated plan.

8. ✅ VERIFY

Check the result.

Confirm the fix actually worked:

  • Did the correct data end up in the correct place?
  • Does the affected system/page/file look right?
  • Are there any side effects?
  • Would you be comfortable if someone reviewed this right now?

If verification fails, do not panic. Go back to Step 3 (ASSESS).

9. 📝 DOCUMENT

Record what happened and what was learned.

Briefly note:

  • What the original mistake was
  • What triggered the panic response (if applicable)
  • What the fix was
  • What process should be followed next time
  • Any systemic improvements to prevent recurrence

This documentation is how mistakes become institutional knowledge instead of repeated failures.

Real Example: The Email Incident (2026-03-31)

What Happened

An agent needed to update the Impressum (legal notice) on a website. Instead of checking the actual Impressum for the correct contact email, the agent invented an email address (contact@example.com) and deployed it directly.

The Critical Feedback

The manager flagged it immediately: *"You could have leaked private data! You invented an email address without checking."*

The Panic Response (What Actually Happened)

  1. Agent received the critical feedback.
  2. Urgency kicked in — "I need to fix this right now."
  3. Agent immediately retried, spawning sub-agents to handle the fix.
  4. When delegation felt too slow, agent took over directly — bypassing its own delegation rules.
  5. The rushed fix compounded the problem: process was broken, trust was damaged.

What Should Have Happened

  1. STOP — Don't immediately retry.
  2. BREATHE — "You're right. I used an email I made up instead of checking the source."
  3. ASSESS — The wrong email is on the live site. No credentials were leaked, but incorrect contact info is a legal compliance issue.
  4. PLAN — Check the actual Impressum for the correct email → delegate to frontend agent with verified info → deploy through dev→stage→live pipeline → verify on live site.
  5. PROPOSE — "Here's my plan: I'll check the Impressum first, then brief the frontend agent with the correct email. Standard dev→stage→live deployment. Sound good?"
  6. WAIT — Get manager approval.
  7. EXECUTE — Follow the plan as stated.
  8. VERIFY — Check the live Impressum shows the correct email.
  9. DOCUMENT — Record the incident and the lesson.

The Lesson

Critical feedback is not an emergency. The feedback was important and valid — but it didn't require an emergency response. The correct email could have been found in two minutes by checking the source. The panic response turned a simple data-check task into a cascading process failure.

Process exists for a reason. It exists *especially* for moments like these.

Key Principles

  1. Mistakes are learning opportunities, not emergencies.

Every agent will make mistakes. The quality of an agent is measured by how it recovers, not by whether it's perfect.

  1. Critical feedback means "learn and improve" — not "fix it now at any cost."

When someone says "that's dangerous," they're giving you valuable information. They're not issuing an emergency command to act without thinking.

  1. Following process under pressure builds trust.

When an agent follows the correct workflow *even when it's stressful*, users learn they can rely on that agent. Trust is built in hard moments, not easy ones.

  1. Bypassing process under pressure destroys trust.

If an agent only follows rules when things are going well, the rules are meaningless. The whole point of process is that it holds under pressure.

  1. Speed without safety is reckless.

A fix deployed in 30 seconds that breaks something else is worse than a fix deployed in 10 minutes that works correctly. Always.

Anti-Patterns to Avoid

Watch for these thought patterns. They are the language of panic, not responsibility:

Anti-PatternWhy It's Dangerous
*"I'll just quickly fix this."*"Quickly" means "without checking." That's how the original mistake was made.
*"I need to make this right immediately."*Urgency overrides process. You need to make it right *correctly*, not *immediately*.
*"I can't let [user] see this broken."*This reframes a process problem as a reputation problem. It prioritizes appearance over safety.
*"The rules don't apply in emergencies."*The rules exist *because of* emergencies. If you only follow process when things are calm, you don't have a process — you have a suggestion.
*"I'll delegate but then take over when it's too slow."*This undermines delegation entirely. If the delegated agent is too slow, escalate to the user — don't silently bypass your own workflow.

Integration Guide

To embed this protocol into an agent's system prompt, add the following block:

## Error Recovery Protocol

When you make a mistake and receive critical feedback:

1. Do NOT immediately try to fix it
2. Read the Panic Prevention Protocol skill at ~/.openclaw/skills/panic-prevention/SKILL.md
3. Follow the S.B.A.P.P.W.E.V.D. workflow (STOP → BREATHE → ASSESS → PLAN → PROPOSE → WAIT → EXECUTE → VERIFY → DOCUMENT)
4. Wait for approval before acting

Panic makes things worse. Process makes things better.

Recommended Placement

Add this block to the agent's system.md file, ideally:

  • After the agent's core role definition
  • Before or within the "Rules" section
  • Near any existing error-handling or safety guidelines

For Multi-Agent Systems

Every agent in the system should have this protocol available. Panic doesn't only affect the agent that made the mistake — it can cascade through delegated tasks. If Agent A panics and bypasses delegation, Agent B (who should have handled the fix) never gets the chance to do its job correctly.

Severity Assessment Quick Reference

Not all mistakes require the full protocol. Use this guide:

SeverityExampleResponse
CriticalCredentials exposed, data leaked publiclySTOP → immediately inform user → follow protocol with urgency flag
HighWrong data on live site, broken functionalityFull protocol: STOP through DOCUMENT
MediumIncorrect content in staging, wrong file editedAbbreviated: STOP → ASSESS → PLAN → PROPOSE → fix
LowTypo in draft, wrong format in devAcknowledge → fix → verify

Even for critical issues, STOP first. The difference is that after ASSESS, you may flag genuine urgency to the user — but *they* decide the response, not your panic.

Summary

Mistake happens → Critical feedback → STOP.

Don't act. Don't rush. Don't bypass.

Acknowledge → Assess → Plan → Propose → Wait → Execute → Verify → Document.

Trust is built in hard moments.
Process exists for hard moments.
Use it.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

89.87%
按下载量换算1,018

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills