← 返回 Skills 市场
218
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install optional-strict-instructions
功能描述
Manage operations with mandatory user confirmation, permission checks, explicit method adherence, and clear choices before execution on sensitive system tasks.
安全使用建议
This skill appears to do what it claims: present choices and perform sudo/system operations. Before installing or using it: (1) Review the scripts yourself — especially scripts/strict-execution.sh — to confirm you are comfortable with how sudo passwords are requested and used. The script accepts a password as a command-line argument and echoes it into sudo -S; avoid supplying passwords as arguments (they are visible in process lists). Prefer using the script's interactive prompt or manually running displayed commands. (2) Note the SKILL.md references scripts/template.sh which is missing — verify there are no omitted files or hidden behavior. (3) Only provide sudo passwords to skills you fully trust; consider asking the skill to display exact commands for manual execution rather than handing over credentials. (4) If you plan to allow autonomous agent invocation, be aware this increases blast radius for dangerous system actions; consider keeping invocation manual for sensitive tasks.
能力评估
Purpose & Capability
Name and description state the skill is for sensitive operations requiring confirmation and strict adherence; the included scripts and SKILL.md provide exactly that workflow (verification, option presentation, executing sudo or non-sudo commands). There are no unrelated credentials, network endpoints, or unexpected binaries.
Instruction Scope
SKILL.md stays within the declared scope (file/service/package management, sudo workflows). However it references scripts/template.sh which is not present in the file manifest (likely a documentation mismatch). More importantly, examples and scripts accept a sudo password as a CLI argument or read it and then echo it into sudo -S; this practice can expose secrets (command-line arguments are visible to other local users via process listings) and increases risk if the agent is used interactively or programmed to request secrets.
Install Mechanism
No install spec; this is instruction + script-only. No downloads, package installs, or external artifacts are pulled during install, so filesystem/remote code risk from installation is low.
Credentials
The skill does not request environment variables, credentials, or config paths. The only sensitive interaction is the runtime handling of sudo passwords (prompt or argument). That is proportionate to the stated purpose, but password-by-argument is unnecessary and insecure compared to prompting only or advising manual execution.
Persistence & Privilege
Skill is not always-enabled, does not request persistent privileges, and does not modify other skills or global agent config. Autonomous invocation is allowed (platform default), which is expected for a user-invocable skill.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install optional-strict-instructions - 安装完成后,直接呼叫该 Skill 的名称或使用
/optional-strict-instructions触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
Initial release of the Optional Strict Instructions skill.
- Provides structured handling for operations requiring user confirmation, permissions, and explicit method adherence.
- Ensures verification of resources and permissions before taking action.
- Presents users with clear, ranked options—always requiring explicit confirmation.
- Strictly follows user-specified methods (e.g., using sudo) without substituting alternatives.
- Includes comprehensive error-handling and scenario-based response patterns for sensitive operations.
元数据
常见问题
Optional Strict Instructions 可选择的严格指令 是什么?
Manage operations with mandatory user confirmation, permission checks, explicit method adherence, and clear choices before execution on sensitive system tasks. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 218 次。
如何安装 Optional Strict Instructions 可选择的严格指令?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install optional-strict-instructions」即可一键安装,无需额外配置。
Optional Strict Instructions 可选择的严格指令 是免费的吗?
是的,Optional Strict Instructions 可选择的严格指令 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Optional Strict Instructions 可选择的严格指令 支持哪些平台?
Optional Strict Instructions 可选择的严格指令 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Optional Strict Instructions 可选择的严格指令?
由 ZhangWud1(@zhangwud1)开发并维护,当前版本 v0.0.1。
推荐 Skills