Modern CLI 工具
- 作者仓库星标 0
- 作者仓库 skills-registry
Modern CLI Tools
NEVER USE These Commands
These commands are prohibited. No exceptions, no fallback.
Python:
pip,pip3,pip install,pip freezepython -m venv,virtualenvpython,python3(to run scripts — useuv runinstead)
Node.js:
npm,npm install,npm run,npxyarn
Node Versions:
nvm
Shell:
grep— userg(ripgrep)find— usefd
HTTP:
curl,wget— usexh
Modern Replacements
| Task | Command | Replaces |
|---|---|---|
| Install Python package | uv add <pkg> |
pip install |
| Run Python tool (one-off) | uvx <tool> |
pipx run / pip install + run |
| Run Python script | uv run script.py |
python script.py |
| Run Python tests | uv run pytest |
python -m pytest |
| Sync Python environment | uv sync |
pip install -r requirements.txt |
| Manage Python version | uv python install 3.12 |
pyenv / system python |
| Install Node packages | pnpm install |
npm install / yarn |
| Run Node script | pnpm run <script> |
npm run / yarn |
| Install Node version | fnm install <version> |
nvm install |
| Use Node version | fnm use <version> |
nvm use |
| Search file contents | rg <pattern> |
grep -r |
| Find files | fd <pattern> |
find . -name |
| Make HTTP request | xh GET <url> |
curl / wget |
Tool Not Installed?
Do NOT fall back to the legacy tool. Stop and tell the user to install the modern tool:
| Tool | Official Site |
|---|---|
| uv / uvx | https://github.com/astral-sh/uv |
| pnpm | https://pnpm.io |
| fnm | https://github.com/Schniz/fnm |
ripgrep (rg) |
https://github.com/BurntSushi/ripgrep |
| fd | https://github.com/sharkdp/fd |
| xh | https://github.com/ducaale/xh |
Example message to user:
"
rg(ripgrep) is not installed. Install it from https://github.com/BurntSushi/ripgrep before continuing."
Red Flags — You Are About to Violate This Skill
| Thought | Reality |
|---|---|
| "The tool isn't installed" | Tell the user to install it. Do NOT fall back to legacy tool. |
| "Just this once" | No exceptions. Use the modern tool or stop. |
| "This is a CI/container environment" | Still applies. Notify the user if the tool is unavailable. |
| "The existing script already uses pip/npm" | Tell the user to migrate. Do not propagate legacy tool usage. |
| "It's faster/easier to use grep here" | Use rg. It is faster. |
| "The user didn't ask me to use modern tools" | This skill is always active. It applies regardless. |
<!-- tomevault:4.0:skill_md:2026-05-22 -->Source: atomikpanda/modern-cli-tools — distributed by TomeVault.
- 流狐分类
- 通用
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- macOS · Linux · Windows
- 底层运行要求
- Node.js · Python
- 检测到的文件与系统行为
-
- 只读
- Shell 执行
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 These commands are prohibited. No exceptions, no fallback. Python: pip, pip3, pip install, pip freeze
Task · Command · Replaces Install Python package · uv add <pkg> · pip install Run Python tool (one-off) · uvx <tool> · pipx run / pip install + run
Do NOT fall back to the legacy tool. Stop and tell the user to install the modern tool: Tool · Official Site uv / uvx · https://github.com/astral-sh/uv
Thought · Reality "The tool isn't installed" · Tell the user to install it. Do NOT fall back to legacy tool. "Just this once" · No exceptions. Use the modern tool or stop.
# Modern CLI Tools
## NEVER USE These Commands
These commands are **prohibited**. No exceptions, no fallback.
**Python:**
- `pip`, `pip3`, `pip install`, `pip freeze`
- `python -m venv`, `virtualenv`
- `python`, `python3` (to run scripts — use `uv run` instead)
**Node.js:**
- `npm`, `npm install`, `npm run`, `npx`
- `yarn`
**Node Versions:**
- `nvm`
**Shell:**
- `grep` — use `rg` (ripgrep)
- `find` — use `fd`
**HTTP:**
- `curl`, `wget` — use `xh`
## Modern Replacements
| Task | Command | Replaces |
|------|---------|----------|
| Install Python package | `uv add <pkg>` | pip install |
| Run Python tool (one-off) | `uvx <tool>` | pipx run / pip install + run |
| Run Python script | `uv run script.py` | python script.py |
| Run Python tests | `uv run pytest` | python -m pytest |
| Sync Python environment | `uv sync` | pip install -r requirements.txt |
| Manage Python version | `uv python install 3.12` | pyenv / system python |
| Install Node packages | `pnpm install` | npm install / yarn |
| Run Node script | `pnpm run <script>` | npm run / yarn |
| Install Node version | `fnm install <version>` | nvm install |
| Use Node version | `fnm use <version>` | nvm use |
| Search file contents | `rg <pattern>` | grep -r |
| Find files | `fd <pattern>` | find . -name |
| Make HTTP request | `xh GET <url>` | curl / wget |
## Tool Not Installed?
**Do NOT fall back to the legacy tool.** Stop and tell the user to install the modern tool:
| Tool | Official Site |
|------|--------------|
| uv / uvx | https://github.com/astral-sh/uv |
| pnpm | https://pnpm.io |
| fnm | https://github.com/Schniz/fnm |
| ripgrep (`rg`) | https://github.com/BurntSushi/ripgrep |
| fd | https://github.com/sharkdp/fd |
| xh | https://github.com/ducaale/xh |
Example message to user:
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> NEVER USE These Commands → Modern Replacements → Tool Not Installed? → Red Flags — You Are About to Violate This Skill
要点 -> prohibited · Python · Node.js · Node Versions · Shell · HTTP · Do NOT fall back to the legacy tool.
文件/命令 -> pip · pip3 · pip install · pip freeze · python -m venv · virtualenv · python · python3
内容 SHA-256 -> 286847dcae5d
原文结构
适用与边界
原文中的明确线索
pip、pip3、pip install、pip freeze、python -m venv、virtualenv、python、python3