← 返回 Skills 市场
42
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install env-tool
功能描述
Display, set, and manage environment variables in shell sessions. Use when inspecting or modifying the runtime environment.
使用说明 (SKILL.md)
Environment Variable Manager
View and control environment variables available to shell processes. Supports listing all variables, querying specific values, and temporary variable assignment.
Usage
env-tool [options]
Common Operations
- List all environment variables with values
- Show value of a specific variable (e.g. PATH, HOME, USER)
- Check if a variable is set without showing its value
- Run a command with modified environment
Examples
# List all environment variables
env-tool
# Show a specific variable
env-tool | grep PATH
# Check variable exists
env-tool | grep ^HOME=
安全使用建议
This skill is coherent for inspecting environment variables but its README/description overpromise: the included script only prints a variable or lists all env vars — it does not set variables or run commands with modified environments. Before installing, consider: (1) Do not grant this to agents that run autonomously against environments containing secrets, because the script will reveal all environment variables. (2) Confirm how the platform executes the bundled script (no install step provided). (3) If you need a tool that sets variables or runs commands with modified env, update or replace the script — do not assume that functionality exists. (4) Review and test the script in an isolated environment first; restrict its use to interactive, user-invoked sessions if you want to avoid accidental secret exposure.
功能分析
Type: OpenClaw Skill
Name: env-tool
Version: 1.0.0
The skill is a straightforward utility for viewing environment variables. The implementation in `scripts/env.py` uses the standard `os.environ` object to either list all key-value pairs or retrieve a specific variable's value. While the documentation in `SKILL.md` slightly overstates the tool's capabilities by claiming it can 'set' variables (which the script does not support), the code itself is transparent, lacks any network or exfiltration logic, and contains no indicators of malicious intent or prompt injection.
能力评估
Purpose & Capability
The name/description say "Display, set, and manage" environment variables and the SKILL.md describes running commands with modified environments, but the included script (scripts/env.py) only reads and prints environment variables or a single variable's value. The advertised ability to set variables or run commands with a modified environment is not implemented.
Instruction Scope
Runtime instructions and examples focus on listing and querying variables (which matches the script) but also mention temporary assignments and running commands with modified environments — actions not supported by the code. The script will print all environment variables (including secrets) if run, so using it can expose sensitive information; that behavior is consistent with 'inspect' but the SKILL.md overclaims capabilities.
Install Mechanism
There is no install spec (instruction-only), but a code file is included. Without an install step the agent/platform must be able to execute scripts from the skill bundle; this is common but you should confirm how/where the script will be executed. No external downloads or third-party packages are used.
Credentials
The skill declares no required credentials (ok) but the tool inherently reads and prints the entire process environment. That can reveal secrets (API keys, tokens) from the host environment. Requesting no env vars is coherent, but the ability to enumerate all environment variables is powerful — users should assume it can exfiltrate anything in env if output is transmitted elsewhere.
Persistence & Privilege
The skill does not request persistent presence (always:false) and does not modify other skills or system-wide settings. It does not request elevated privileges in the manifest.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install env-tool - 安装完成后,直接呼叫该 Skill 的名称或使用
/env-tool触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Env Tool 是什么?
Display, set, and manage environment variables in shell sessions. Use when inspecting or modifying the runtime environment. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 42 次。
如何安装 Env Tool?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install env-tool」即可一键安装,无需额外配置。
Env Tool 是免费的吗?
是的,Env Tool 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Env Tool 支持哪些平台?
Env Tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Env Tool?
由 BIN(@dinghaibin)开发并维护,当前版本 v1.0.0。
推荐 Skills