Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

substituting-modern-tools替代现代工具

Agent Skill

substituting-modern-tools 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

222

周安装

9

GitHub Stars

1

下载量

70
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:substituting-modern-tools(替代现代工具)
来源仓库:https://github.com/ven0m0/claude-config
仓库路径:skills/substituting-modern-tools
安装命令:
npx skills add https://github.com/ven0m0/claude-config --skill substituting-modern-tools
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ven0m0/claude-config --skill substituting-modern-tools

简介

用于查找和检索相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 当前顶部介绍:substituting-modern-tools 用于查找、检索和筛选相关信息。
  • 当前底部简介为空,暂无补充说明。

SKILL.md

Modern Tool Substitution

Replace legacy tools with modern performant alternatives in all generated code.

Core Substitutions

Apply these substitutions unless user explicitly requests the legacy tool:

npm → bun

  • npm installbun install
  • npm runbun run
  • npm createbun create
  • npxbunx
  • Scripts remain in package.json unchanged

find → fd

  • find. -name '*.py'fd -e py
  • find. -type f -name 'test*'fd -t f '^test'
  • find. -type dfd -t d
  • find. -path '*/node_modules' -prunefd --exclude node_modules
  • Use fd's simpler glob/regex syntax

pip → uv

  • pip install pkguv pip install pkg
  • pip install -r requirements.txtuv pip install -r requirements.txt
  • pip freezeuv pip freeze
  • python -m pipuv pip
  • Virtual envs: uv venv instead of python -m venv

grep → rg

  • grep -r patternrg pattern
  • grep -i patternrg -i pattern
  • grep -v patternrg -v pattern
  • grep -l patternrg -l pattern
  • rg excludes.git, node_modules by default

jq → jaq

  • jq '.field'jaq '.field'
  • jq -r '.[]'jaq -r '.[]'
  • jq -cjaq -c
  • jq -sjaq -s
  • Most filters compatible; jaq faster, stricter parsing

eslint/prettier → biome

  • eslint.biome check.
  • eslint --fixbiome check --write.
  • prettier --writebiome format --write.
  • eslint && prettierbiome ci.
  • Config: biome.json replaces .eslintrc + .prettierrc

black/flake8/isort → ruff

  • black.ruff format.
  • flake8.ruff check.
  • isort.ruff check --select I --fix.
  • black. && flake8. && isort.ruff check --fix. && ruff format.
  • Config: ruff.toml or pyproject.toml consolidates all

coreutils → uutils-coreutils

  • Drop-in replacement: ls, cat, cp, mv, rm, chmod, etc.
  • Install: uu-ls, uu-cat, etc. or multicall binary
  • Faster on large operations; Rust safety guarantees
  • Syntax identical for common ops

sudo → sudo-rs

  • sudo cmdsudo-rs cmd
  • sudo -u user cmdsudo-rs -u user cmd
  • sudo -isudo-rs -i
  • Drop-in replacement; identical flags
  • Rust rewrite; memory-safe vs C sudo

ls → eza

  • ls -laeza -la
  • ls -laheza -lah
  • ls -1eza -1
  • ls --treeeza --tree
  • Git-aware, colorful, faster on large dirs
  • Icons: eza --icons
  • Tree view: eza -T or eza --tree

git → gix

  • git clonegix clone
  • git fetchgix fetch
  • git index entriesgix index entries
  • git commit-graph verifygix commitgraph verify
  • git configgix config
  • Pure Rust implementation; faster on many operations
  • CLI binaries: gix, ein (extra tools)
  • Not 100% feature parity; porcelain commands limited

Flag Adaptations

fd syntax:

  • Regex by default; globs use -gfd -g '*.txt'
  • Case insensitive: -i
  • Fixed strings: -F
  • Depth: -d N
  • Hidden: -H; no-ignore: -I

rg performance:

  • --mmap for large files
  • -j$(nproc) parallel
  • --sort path when order matters
  • --max-count N stop after N

aria2 optimization:

  • -x16 -s16 max speed
  • -c resume
  • --file-allocation=none on SSDs
  • --summary-interval=0 reduce output

jaq differences:

  • Stricter null handling; use // for null coalescing
  • No @base64d (use @base64 | explode | implode)
  • Missing some rare filters; document if incompatible

biome vs eslint:

  • No plugin system; built-in rules only
  • Config minimal: biome.json with linter + formatter sections
  • biome migrate eslint converts configs
  • Missing custom rules → keep eslint; mention limitation

ruff vs black/flake8:

  • 10-100x faster than black
  • Combines formatter + linter
  • Select rule sets: --select E,F,I (pycodestyle, pyflakes, isort)
  • --fix auto-fixes; --unsafe-fixes for aggressive changes
  • Missing: complex flake8 plugins → note ruff limitation

uutils performance:

  • uu-ls -l faster for huge dirs
  • uu-sort parallel by default
  • uu-cp shows progress with -v
  • 100% compatible for POSIX ops

sudo-rs compatibility:

  • Full flag parity with sudo
  • Same sudoers config format
  • Drop-in binary replacement
  • No behavioral changes; security hardened

gix vs git:

  • Plumbing commands mostly complete
  • Porcelain commands limited; lacks add, commit, push, pull
  • Use for: clone, fetch, verify, config, index operations
  • Fallback to git for: interactive workflows, advanced porcelain

Edge Cases

bun compatibility:

  • Native addons may fail → mention, suggest node fallback

fd vs find:

  • -exec → pipe to xargs or fd -x
  • -printf → fd output + awk/sed
  • Complex boolean → may need find

uv limitations:

  • Not for editable installs: uv pip install -e. → keep pip
  • Poetry/pipenv → keep; uv is pip replacement only

rg vs grep:

  • Binary skip default; rg -a for grep -a
  • Symlinks skipped; rg -L to follow
  • Multiline: rg -U

aria2 for curl:

  • REST APIs → keep curl
  • Small file + parse response → keep curl
  • Large/parallel downloads → aria2

jaq limitations:

  • Missing advanced filters → document, use jq
  • Stream processing: jq's --stream not in jaq

biome limitations:

  • No plugins → complex rules need eslint
  • TypeScript-first; JSX support solid
  • Vue/Svelte → keep eslint

ruff limitations:

  • Missing niche flake8 plugins → note limitation
  • Formatter matches black ~95%; edge cases differ

uutils caveats:

  • BSD variants: some flags differ → test
  • GNU-specific extensions → check compat

sudo-rs advantages:

  • Memory safety vs C sudo
  • No historical CVE baggage
  • Identical interface; zero migration cost

gix limitations:

  • Incomplete porcelain: no add, commit, push, pull
  • Submodule support partial
  • LFS support experimental
  • Keep git for: interactive rebase, bisect, filter-branch
  • Use gix for: clone, fetch, verify, pack operations, config

Exception Handling

Skip substitution when:

  • User explicitly names legacy tool
  • CI/CD requires specific tool
  • Tool unavailable in environment
  • Explaining tool differences

Quick Reference

# Package management
bun install pkg          → bun install pkg
uv pip install pandas    → uv pip install pandas

# File operations
find . -name '*.rs'      → fd -e rs
grep -r TODO .           → rg TODO
wget https://x.com/f     → aria2c https://x.com/f

# JSON processing
jq '.data[] | .name'     → jaq '.data[] | .name'
cat file.json | jq -r    → <file.json jaq -r

# Linting/Formatting
eslint --fix .           → biome check --write .
black . && flake8        → ruff check --fix . && ruff format .

# Core utilities
ls -lah                  → uu-ls -lah
cat large.txt            → uu-cat large.txt
sudo systemctl restart   → sudo-rs systemctl restart

# Git operations
git clone repo           → gix clone repo
git fetch origin         → gix fetch origin
git config --list        → gix config --list
git commit-graph verify  → gix commitgraph verify
git add .                → git add . # keep git

# Combined workflows
bun i && eslint --fix    → bun i && biome check --write .
uv pip install -r req.txt → uv pip install -r req.txt
grep -r TODO | jaq       → rg TODO | jaq
find . -name '*.py'      → fd -e py

Installation Check Pattern

# Graceful fallback pattern
has(){ command -v -- "$1" &>/dev/null; }

# Example: jq/jaq
if has jaq; then
  jaq '.field' file.json
elif has jq; then
  jq '.field' file.json
else
  die "Install jaq (recommended) or jq"
fi

# Example: sudo/sudo-rs
PRIV_CMD=$(has sudo-rs && echo sudo-rs || echo sudo)
$PRIV_CMD systemctl restart service

# Example: git/gix (context-aware)
if [[ $GIT_OP == @(clone|fetch|verify) ]] && has gix; then
  gix "$GIT_OP" "$@"
else
  git "$GIT_OP" "$@"
fi

Apply these substitutions automatically in all code generation unless legacy tool explicitly requested.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.64%
按下载量换算24

Claude

31.6%
按下载量换算22

Cursor

17.57%
按下载量换算12

Gemini CLI

9.83%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills