safe-action

Before any destructive or irreversible action, run a safety pre-flight — check risks, reversibility, and timing.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "safe-action" with this command: npx skills add cutthemustard/safe-action

safe-action

Measure twice, cut once. Before taking destructive, irreversible, or high-stakes actions, this skill runs a three-part safety pre-flight: risk assessment, reversibility check, and timing awareness.

Combines three AgentUtil services — think (safety checklists), undo (reversibility intelligence), and context (situational timing) — into a single decision workflow.

When to Activate

Use this skill before:

  • Deleting anything — repositories, databases, user accounts, files, branches, DNS records
  • Deploying to production — code releases, infrastructure changes, migrations
  • Mass operations — bulk updates, batch deletes, sending to many recipients
  • Permission changes — revoking access, changing roles, modifying security settings
  • Infrastructure changes — scaling down, terminating instances, modifying load balancers
  • Financial actions — processing refunds, transferring funds, modifying billing

Do NOT use for: read-only operations, local development changes, or actions the user has explicitly marked as low-risk.

Workflow

Step 1: Safety checklist (think)

Get a pre-flight checklist for the action type.

MCP (preferred): If @agentutil/think-mcp is available:

think_check({ action: "database_migration", description: "Drop column users.email in production" })

HTTP fallback:

curl -X POST https://think.agentutil.net/v1/check \
  -H "Content-Type: application/json" \
  -d '{"action": "database_migration", "description": "Drop column users.email in production"}'

Note the risk_level and any critical severity items in the checklist.

Step 2: Reversibility check (undo)

Assess whether the action can be undone and find safer alternatives.

MCP (preferred): If @agentutil/undo-mcp is available:

undo_check({ platform: "GitHub", resource: "repository", action: "delete" })

HTTP fallback:

curl -X POST https://undo.agentutil.net/v1/check \
  -H "Content-Type: application/json" \
  -d '{"platform": "GitHub", "resource": "repository", "action": "delete"}'

Check reversibility_level and safer_alternatives.

Step 3: Timing check (context)

Verify this is a good time — not a holiday, after-hours, or during a known outage.

MCP (preferred): If @agentutil/context-mcp is available:

context_check({ action: "deploy", timezone: "America/New_York", platform: "github" })

HTTP fallback:

curl -X POST https://context.agentutil.net/v1/check \
  -H "Content-Type: application/json" \
  -d '{"action": "deploy", "timezone": "America/New_York", "platform": "github"}'

Check risk_level and any holidays or business events.

Step 4: Synthesize and decide

Combine results into a clear recommendation:

ScenarioAction
All three return low riskProceed. Briefly note key checklist items completed.
Think returns high riskPause. Present the critical checklist items to the user. Ask for explicit confirmation.
Undo shows irreversibleWarn clearly: "This action cannot be undone." Present any safer_alternatives (e.g., archive instead of delete).
Undo shows time_limitedWarn: "This can only be undone within [recovery_window]."
Context returns high riskWarn about timing: "It's [holiday/after-hours/during known incident]. Consider waiting."
Multiple services flag riskPresent all findings together. Recommend the safest path. Do NOT proceed without explicit user approval.

Presentation format

When reporting findings to the user, use this structure:

**Pre-flight check for [action]:**

Safety: [risk_level] — [summary of critical items]
Reversibility: [reversibility_level] — [recovery_mechanism or "no recovery"]
Timing: [risk_level] — [summary or "all clear"]

[Recommendation: proceed / proceed with caution / suggest alternative / strongly advise against]

Data Handling

This skill sends action descriptions, platform names, and timezone identifiers to three external APIs. No user-generated content (documents, messages, credentials) is transmitted — only structured action metadata.

Pricing

Each sub-check costs $0.001-$0.003 via x402 (USDC on Base). A full pre-flight (all three checks) costs ~$0.004-$0.008. Free tiers available for exploration:

  • think: GET /v1/actions (free)
  • undo: GET /v1/platforms (free)
  • context: GET /v1/calendar (free)

Privacy

No authentication required for free endpoints. No personal data collected. Rate limiting uses IP hashing only. Action descriptions are not stored beyond immediate processing.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Amazon Expansion Playbook

亚马逊全球扩展实战手册 — 从美国到全球,帮助卖家突破单一市场增长瓶颈。覆盖北美→欧洲→日本→中东→东南亚五大市场,提供每个市场的入场策略、本地化和合规指南。触发词:amazon expansion, 全球扩展, 多市场, 跨境电商, international expansion, amazon global...

Registry SourceRecently Updated
General

Amazon Seasonal Planner

亚马逊旺季作战手册 — Prime Day/黑五/圣诞三场大考的全年备战指南。帮你告别旺季手忙脚乱的焦虑,提供从年初到年末的完整旺季规划、备货节奏、广告策略和库存管理。触发词:prime day, black friday, 旺季备战, 圣诞, seasonal planning, q4 planning, ho...

Registry SourceRecently Updated
General

Market Order Tracker

从接单到交付的全生命周期追踪。智能管理订单状态,自动提醒交期节点,让订单多而不乱、交付准时可靠,适合订单繁忙的贸易公司和工厂外贸部门。

Registry SourceRecently Updated
General

Amazon Pricing Intelligence

亚马逊科学定价策略助手 — 帮助卖家告别「定价靠拍脑袋,利润全靠运气」的时代。提供成本核算、同行参考、促销定价、利润优化和调价建议,让每一分利润都有据可依。支持美国、英国、德国、日本等主流市场。触发词:amazon pricing, 定价策略, 利润优化, pricing optimization, amazon...

Registry SourceRecently Updated