跳到正文
cccskills
免费在 GitHub 公开

ls-wf-risky-operations-safety-approval

Use when risky operations need approval checkpoints, impact review, or guarded execution; hand off sudo, elevated, PTY, or interactive password execution to ls-wf-sudo-tmux-session.

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

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md2.3 KB
  • workflow.yaml3.0 KB

SKILL.md(原文)

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

Use this workflow package to authorize and bound risky operations before they run. Compose ls-system-changes-backup; do not replace its risk, backup, or rollback rules with an informal impact summary.

Primary references: ls/skills/ls-system-changes-backup/SKILL.md and ls/workflows/ls-wf-sudo-tmux-session/SKILL.md.

Required gate sequence

  1. Classify the proposed operation as LOW, MEDIUM, HIGH, or CRITICAL under ls-system-changes-backup. Record likely consequences and the affected users, services, files, and persistent state. Prefer a dry run when supported.
  2. Before changing sensitive configuration or persistent state, create and verify the required backup and record the exact rollback or restore action. If a backup is not applicable or the user declines one, record the reason and residual risk before continuing.
  3. Freeze one approval payload containing the exact command or edit, target, values, risk class, likely consequences, affected scope, backup result, rollback action, and safer manual option when one exists.
  4. Immediately before execution, show that payload and wait for explicit user approval of its exact command or edit, values, and target. A changed command, value, target, scope, or rollback plan invalidates approval and returns to the applicable earlier gate.
  5. Execute only the approved operation. Capture the result and verify the intended state without widening the approved scope.

Privileged or interactive handoff

When the approved operation needs sudo, root/admin elevation, require_escalated, pseudo-terminal/PTY handling, or an interactive password prompt, hand execution to ls-wf-sudo-tmux-session only after all four pre-execution gates pass and the frozen approval payload still matches.

The tmux workflow owns session selection, readiness probes, the user-mediated sudo ready exchange, execution, status, and cancellation. Never collect the password, bypass its probe, or use the handoff to alter the approved command, values, or target.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Guide accessibility reviews for UI, documents, and workflows. Use for WCAG-oriented audits, keyboard review, semantics, contrast, and remediation planning.

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

CruxExperts/LocalSetup62026年10月22日 更新

Use when choosing a LocalSetup Agent-* lane for exploration, research, bounded implementation, or review. Consult the static capability matrix; do not probe account or network availability.

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

CruxExperts/LocalSetup62026年10月22日 更新

Guide agent email inbox workflows with prompt-injection defenses. Use for inbound email processing, webhooks, routing, and safety review.

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

CruxExperts/LocalSetup62026年10月22日 更新

Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.

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

CruxExperts/LocalSetup62026年10月22日 更新

Use for Agent Q signed encrypted file-drop or mail ship and ingest, private registry v2 setup, queue status, and transport maintenance.

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

CruxExperts/LocalSetup62026年10月22日 更新

Inventory wrapper for the alirezarezvani Claude skills bundle. Use when triaging its broad skill catalog and large script surface before any targeted import.

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

CruxExperts/LocalSetup62026年10月22日 更新

查看 CruxExperts 的全部技能

报告此技能的问题