mcpbeat Sign in

Ops Safety Agent Skill

运维安全详细规范。当涉及系统配置变更、核心服务重启、文件权限修改时激活。要求提供风险评估和回滚方案。

342 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
1027
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/doccker/cc-use-exp --skill ops-safety

The instruction itself

as written by the author

<instructions>

运维安全详细规范

在执行任何可能影响生产环境稳定性的命令前,必须遵循本规范。


🚨 风险分级与评估

| 等级 | 操作类型 | 要求 |

|------|---------|------|

| | 磁盘分区、内核参数修改、全局防火墙变更 | 必须 等待用户二次确认 ⏸️ |

| | 服务重启、关键配置覆盖、权限递归修改 | 必须说明回滚方案并备份原文件 |

| | 日志查看、单文件只读操作、临时目录清理 | 直接执行并报告结果 |


🛡️ 回滚方案模板

任何高/中风险变更必须附带回滚步骤:

  • 备份状态cp config.conf config.conf.bak_$(date +%F)
  • 恢复命令mv config.conf.bak_xxx config.conf && systemctl restart xxx

⚠️ 核心禁止项

  • ❌ 禁止在未确认原文件存在的情况下直接 mvrm
  • ❌ 禁止使用 > 覆盖重要配置文件。必须先 cat 原内容,再生成新内容并备份。
  • ❌ 禁止在故障排除期间修改与故障点无关的“性能优化”参数。

> 📋 本回复遵循:ops-safety - [章节]

</instructions>

How to use it

Copy the folder

Take doccker/cc-use-exp-.gemini-ops-safety from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.