← 返回 Skills 市场
265
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install x-env
功能描述
x-env is x-cmd's environment and package management module for installing and managing third-party software, programming language runtimes, and command-line...
安全使用建议
This skill appears to do what it says: manage runtimes and CLI tools via x-cmd. Before installing: prefer the Homebrew option (signed bottle) or the manual-download+review path. Do not run the `curl ... | sh` auto-install in environments with sensitive secrets or production systems. If you must use the manual script path, download the script first, inspect it, and verify SHA256 checksums match published values. Always consent explicitly before letting the agent perform installation, and avoid auto-install in CI/production or on machines holding credentials. If you want higher assurance, ask for the actual installer script or binaries (or the repository contents) so they can be reviewed before installation — that additional information would raise confidence from medium to high.
功能分析
Type: OpenClaw Skill
Name: x-env
Version: 1.0.0
The skill provides environment and package management capabilities via x-cmd, which inherently involves downloading and executing remote code. A primary indicator is the inclusion of a high-risk installation method (`curl | sh`) targeting `https://get.x-cmd.com` within `data/install.md`. While the documentation in `SKILL.md` and `data/install.md` is transparent about risks and provides guidelines for the agent to obtain user consent and prefer signed installation methods (Homebrew), the core functionality of managing and executing arbitrary third-party runtimes and tools remains a high-risk capability.
能力评估
Purpose & Capability
The name, description, and runtime instructions all describe an x-cmd 'x env' module for installing/managing runtimes and CLI tools. Requesting no credentials, requiring the x-cmd loader, and providing package-management commands are coherent with the stated purpose.
Instruction Scope
SKILL.md limits actions to package-management tasks (use/try/upgrade/list/which/etc.) and instructs the agent to source the x-cmd loader. The included agent usage guidance explicitly requires user consent before installing; it does not ask the agent to read unrelated files or exfiltrate data. However, the install instructions do instruct downloading and running remote install scripts (see data/install.md), which expands the runtime scope beyond local-only operations.
Install Mechanism
There is no install spec for the skill itself, but data/install.md documents three install options: Homebrew (recommended, low risk), manual download+review (medium), and an auto-install via `curl -fsSL https://get.x-cmd.com | sh` (high risk). The presence of a curl|sh auto-install path — and a note that checksum verification may happen after initial script execution — is a supply-chain/scripting risk and should be avoided in sensitive environments.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. That is proportionate for a package-manager helper. The install document's network interactions (downloads from get.x-cmd.com / GitHub releases) are expected for installation.
Persistence & Privilege
The skill is not always-enabled and does not request elevated privileges. Install actions are user-local (~/.x-cmd.root/) which is reasonable. The agent guidance allows automatic installation only with explicit user consent; still, installing and sourcing x-cmd will change the user's shell environment and add persistent files under the home directory.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install x-env - 安装完成后,直接呼叫该 Skill 的名称或使用
/x-env触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of x-env: environment and package management module for x-cmd.
- Supports installing, upgrading, and managing runtimes (node, python, go, bun, java, rust) and CLI tools (jq, yq, fzf, himalaya, claude-code).
- Provides commands for temporary (`try`) and permanent (`use`) software installation, version switching, cleanup, and listing.
- Allows managing multiple software versions, removing unused packages, and viewing installation paths or dependencies.
- Compatible with POSIX shells.
元数据
常见问题
Environment & Package Manager 是什么?
x-env is x-cmd's environment and package management module for installing and managing third-party software, programming language runtimes, and command-line... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 265 次。
如何安装 Environment & Package Manager?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install x-env」即可一键安装,无需额外配置。
Environment & Package Manager 是免费的吗?
是的,Environment & Package Manager 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Environment & Package Manager 支持哪些平台?
Environment & Package Manager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Environment & Package Manager?
由 lunrenyi(@lunrenyi)开发并维护,当前版本 v1.0.0。
推荐 Skills