← Back to Skills Marketplace
dinghaibin

Umask Tool

by BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
30
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install umask-tool
Description
Set or display file creation permission mask. Use for controlling default file permissions on new files and directories.
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install umask-tool
  3. After installation, invoke the skill by name or use /umask-tool
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug umask-tool
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Umask Tool?

Set or display file creation permission mask. Use for controlling default file permissions on new files and directories. It is an AI Agent Skill for Claude Code / OpenClaw, with 30 downloads so far.

How do I install Umask Tool?

Run "/install umask-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Umask Tool free?

Yes, Umask Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Umask Tool support?

Umask Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Umask Tool?

It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.

💬 Comments