← 返回 Skills 市场
30
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install umask-tool
功能描述
Set or display file creation permission mask. Use for controlling default file permissions on new files and directories.
使用说明 (SKILL.md)
Umask - Permission Mask Utility
Set the file mode creation mask which determines default permissions for newly created files and directories. The mask subtracts permissions from the default 666 (files) or 777 (directories).
Usage
umask-tool [options] [mask]
Examples
# Show current mask
umask-tool
# Set restrictive mask (files: 600, dirs: 700)
umask-tool 077
# Set permissive mask (files: 644, dirs: 755)
umask-tool 022
安全使用建议
Review before installing. The skill’s description is reasonable, but the included script appears unsafe or incomplete for a permission-control utility because it always sets a permissive mask instead of honoring the requested value.
功能分析
Type: OpenClaw Skill
Name: umask-tool
Version: 1.0.0
The skill bundle provides a simple utility to display the system's current umask. While the documentation in SKILL.md suggests the tool can also set the mask, the implementation in scripts/umask.py only retrieves and prints the current mask using os.umask(0). The code is non-malicious and lacks any high-risk behaviors or indicators of compromise.
能力评估
Purpose & Capability
The SKILL.md says the tool can set or display a requested file-creation mask, but the included Python helper ignores arguments and always calls os.umask(0), which is not the documented behavior.
Instruction Scope
The written instructions are limited to displaying or changing umask values and do not contain prompt-control, exfiltration, or unrelated tool-use instructions.
Install Mechanism
There is no install spec, dependency installation, remote download, or hidden setup mechanism shown in the artifacts.
Credentials
Changing umask is the stated purpose, but the helper specifically sets a fully permissive 000 mask without parsing the user-requested value or restoring the prior mask.
Persistence & Privilege
No credentials, privilege escalation, startup hooks, background workers, or durable persistence mechanisms are present; the main issue is the process-local umask mutation in the helper script.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install umask-tool - 安装完成后,直接呼叫该 Skill 的名称或使用
/umask-tool触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Umask Tool 是什么?
Set or display file creation permission mask. Use for controlling default file permissions on new files and directories. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 30 次。
如何安装 Umask Tool?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install umask-tool」即可一键安装,无需额外配置。
Umask Tool 是免费的吗?
是的,Umask Tool 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Umask Tool 支持哪些平台?
Umask Tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Umask Tool?
由 BIN(@dinghaibin)开发并维护,当前版本 v1.0.0。
推荐 Skills