elite-tools
Elite CLI 工具可通过优化令牌使用来实现高效的 shell 操作。在执行 shell 命令、遍历目录或操作文件时使用,以最大限度地减少令牌消耗并防止正则表达式转义错误。涵盖 fdfind、batcat、sd、sg/ast-grep、jc、gron、yq、difft、tealdeer 和 html2text。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw skills install shop:totalclaw:totalclaw~bezkom-elite-toolscURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~bezkom-elite-tools/file -o bezkom-elite-tools.md## 概述(中文) Elite CLI 工具可通过优化令牌使用来实现高效的 shell 操作。在执行 shell 命令、遍历目录或操作文件时使用,以最大限度地减少令牌消耗并防止正则表达式转义错误。涵盖 fdfind、batcat、sd、sg/ast-grep、jc、gron、yq、difft、tealdeer 和 html2text。 ## 原文 # Elite CLI Tools ## PRIMARY DIRECTIVE Prefer these modern CLI utilities over legacy POSIX tools (`find`, `cat`, `sed`, `grep`, `awk`, `diff`, `man`). They produce cleaner, more structured output and reduce token waste. **Note on binary names:** On Debian/Ubuntu, some binaries are renamed to avoid conflicts: `fd` → `fdfind`, `bat` → `batcat`. On other distros they use their upstream names. Adapt accordingly. ## Quick Reference | # | Tool | Replaces | Binary | Primary Use | |---|------|----------|--------|-------------| | 1 | fd | `find` | `fdfind` | Fast file discovery | | 2 | bat | `cat`/`less` | `batcat` | File viewing with syntax highlighting | | 3 | sd | `sed` | `sd` | Intuitive find & replace | | 4 | ast-grep | `grep`/`rg` | `sg` | AST-based code search & rewrite | | 5 | jc | `awk`/`cut` | `jc` | CLI output → JSON | | 6 | gron | `jq` (exploration) | `gron` | JSON → greppable assignments | | 7 | yq | `sed` on YAML | `yq` | YAML/JSON/XML/CSV processor | | 8 | difftastic | `diff` | `difft` | Structural syntax-aware diffs | | 9 | tealdeer | `man` | `tldr` | Concise command examples | | 10 | html2text | raw HTML parsing | `html2text` | HTML → clean Markdown | ## Detailed Tool Guide For full descriptions, rationale, and extended examples for each tool, read [references/tools-deep-dive.md](references/tools-deep-dive.md).