← Back to Skills Marketplace
265
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install x-env
Description
x-env is x-cmd's environment and package management module for installing and managing third-party software, programming language runtimes, and command-line...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install x-env - After installation, invoke the skill by name or use
/x-env - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 265 downloads so far.
How do I install Environment & Package Manager?
Run "/install x-env" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Environment & Package Manager free?
Yes, Environment & Package Manager is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Environment & Package Manager support?
Environment & Package Manager is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Environment & Package Manager?
It is built and maintained by lunrenyi (@lunrenyi); the current version is v1.0.0.
More Skills