← 返回 Skills 市场
41
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install id-tool
功能描述
Display user and group identity information. Shows real and effective user ID, group ID, and supplementary groups for the current process.
使用说明 (SKILL.md)
ID - User Identity Display
Print user and group identity information including UID (user ID), GID (group ID), and all supplementary group memberships. Essential for permission debugging and understanding process security context.
Usage
id-tool [options] [username]
Without arguments, shows information for the current user. Specify a username to query another user's identity details.
Options
-u: Show only effective user ID-g: Show only effective group ID-G: Show all supplementary group IDs-n: Display names instead of numeric IDs
Examples
# Show full identity
id-tool
# Show user ID only
id-tool -u
# Show all groups for user
id-tool -G www-data
安全使用建议
The skill appears to aim to replicate the Unix `id` command, but the included script is a minimal implementation and does not match the SKILL.md (no option parsing, no username argument handling, no supplementary groups). This is likely a quality/incompleteness issue rather than malicious code — the script only reads local user/group info via pwd/grp. Before installing or using it: (1) review the scripts/id.py source (you already have it) and confirm it does what you expect, (2) if you need full `id`-like behavior, either update the script or run the system `id` binary instead, and (3) run the script in a safe environment if you want to observe runtime behavior. If the mismatch between documentation and code worries you, treat the skill as untrusted until the maintainer fixes the docs or the implementation.
功能分析
Type: OpenClaw Skill
Name: id-tool
Version: 1.0.0
The id-tool skill is a simple utility designed to display user and group identity information, similar to the standard Unix 'id' command. The implementation in scripts/id.py uses standard Python libraries (os, pwd, grp) to retrieve and print the current UID and GID, and contains no malicious logic, data exfiltration, or suspicious instructions.
能力评估
Purpose & Capability
The README and description claim feature parity with a typical `id` utility (options -u/-g/-G/-n and an optional username). The shipped script (scripts/id.py) only prints the current UID and GID with names and does not implement option parsing, username lookup, or supplementary group listing. This is a functional mismatch between claimed capability and actual code.
Instruction Scope
SKILL.md's runtime instructions remain within the expected scope (display local identity info) and do not direct network exfiltration or access to unrelated system paths. The code uses pwd and grp to resolve names (reads system user/group databases), which is expected for this purpose. However, the docs instruct behaviors the code does not perform.
Install Mechanism
No install spec or third-party downloads; the skill is instruction/code-only and does not write or fetch external artifacts. Low install risk.
Credentials
The skill requests no environment variables, credentials, or config paths. The script only uses standard library calls to query local user/group info — proportional to the stated purpose.
Persistence & Privilege
The skill does not request persistent presence (always:false), does not modify other skills or system-wide settings, and has no elevated privileges indicated.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install id-tool - 安装完成后,直接呼叫该 Skill 的名称或使用
/id-tool触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Id Tool 是什么?
Display user and group identity information. Shows real and effective user ID, group ID, and supplementary groups for the current process. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。
如何安装 Id Tool?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install id-tool」即可一键安装,无需额外配置。
Id Tool 是免费的吗?
是的,Id Tool 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Id Tool 支持哪些平台?
Id Tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Id Tool?
由 BIN(@dinghaibin)开发并维护,当前版本 v1.0.0。
推荐 Skills