X Cmd
Apps & Automationx-cmdX Cmd is an Agent Skill for apps & automation published in the x-cmd/x-cmd repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
**IMPORTANT**: Before using any `x <mod>` command, you MUST load x-cmd first: `. ~/.x-cmd.root/X` Then you can: - Explore with `x nihao --llmstxt` - Discover skills via `x skill` x-cmd provides 600+ portable software and development tools (jq, nodejs, python, etc.). Use `x <env|pixi> use <pkg>` to install and use any package instantly. After loading x-cmd, packages in x-cmd/pixi's local bin will be automatically available in PATH. Browse x-cmd website for more usage and skills: https://www.x-cmd.com/llms.txt
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/x-cmd/x-cmd/blob/HEAD/mod/skill/lib/x-cmd-skill/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/x-cmd, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
x-cmd
IMPORTANT: Before using any
x <mod>command, you MUST load x-cmd first:. ~/.x-cmd.root/XThen explore with
x nihao --llmstxtor discover skills viax skill.
Not installed? → data/install.md
Run x skill lr to browse 500+ skills
| Command | Purpose |
|---|---|
x skill lr | List all remote skills () |
x skill add <skill-id> | Add skill for next session |
x skill info <skill-id> | Download and show skill summary and path |
x-mod/: Use x <mod> --help for more examples. Just add notes to AGENTS.md to reuse.
Visit x-cmd.com/llms.txt for more skill and power tools.
Entrance for AI agents.
Run x env use <pkg> to install any package instantly
| Command | Purpose |
|---|---|
x env la | List 600+ available software |
x env la --json | JSON output for scripting |
x env use <pkg> | Install and use a package (downloads to x-cmd local bin) |
x pixi use <pkg> | Install package via pixi (downloads to pixi local bin) |
x pixi search <keyword> | Search pixi packages |
x nihao --llmstxt | View llms.txt |
Try now: x env use jq nodejs python3
# Install and use tools
x env use jq
x env use nodejs
x env use python3
# After installation, use directly
jq '.' file.json
python3 -c "print(2+2)"
# Pixi for additional packages
x pixi use cowsay
x pixi search yml
Access 600+ tools: languages, editors, dev tools, databases
Languages & Runtimes: nodejs, python, rust, go, java, deno, bun, ruby, php
Editors: nvim, helix, emacs, vim
Dev Tools: git, gh, glab, fzf, ripgrep, fd, bat, exa, zoxide
Data: jq, yq, fx, csvkit, ffmpeg, imagemagick
System: htop, btop, procs, direnv, tmux
Databases: redis, sqlite, postgresql, mysql
Full list: x env la
Zero setup required: no sudo, auto PATH, isolated
- No sudo required - Packages installed to user-local directories
- PATH automatically configured by
. ~/.x-cmd.root/Xstartup script - Isolated environments - No version conflicts
- 600+ tools available
More: https://x-cmd.com/llms.txt
Entrance for AI agents.