Elite CLI Tools

Elite CLI tooling for efficient shell operations with optimized token usage. Use when executing shell commands, traversing directories, or manipulating files to minimize token consumption and prevent regex escaping errors. Covers fdfind, batcat, sd, sg/ast-grep, jc, gron, yq, difft, tealdeer, and html2text.

Audits

Pass

Install

openclaw skills install elite-tools

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: fdfdfind, batbatcat. On other distros they use their upstream names. Adapt accordingly.

Quick Reference

#ToolReplacesBinaryPrimary Use
1fdfindfdfindFast file discovery
2batcat/lessbatcatFile viewing with syntax highlighting
3sdsedsdIntuitive find & replace
4ast-grepgrep/rgsgAST-based code search & rewrite
5jcawk/cutjcCLI output → JSON
6gronjq (exploration)gronJSON → greppable assignments
7yqsed on YAMLyqYAML/JSON/XML/CSV processor
8difftasticdiffdifftStructural syntax-aware diffs
9tealdeermantldrConcise command examples
10html2textraw HTML parsinghtml2textHTML → clean Markdown

Detailed Tool Guide

For full descriptions, rationale, and extended examples for each tool, read references/tools-deep-dive.md.