Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

modern-cli-tools

БесплатноБез исполняемых скриптовНе проверен

Safe, current usage of ripgrep, fd, bat, eza, fzf, zoxide, sd, jq, yq, hyperfine, delta, bottom, dust, duf, procs, btop, and tldr. Use when selecting or…

shepherdjerredот shepherdjerred★ 85 звёзд на GitHub1 установка в других каталогах

Об этом скилле

Modern CLI Tools

Prefer a tool because its semantics fit the task, not because it is newer. Preserve filenames as data, use machine-readable output, validate empty selections, and never turn filenames into shell source.

Current baseline

Verified 2026-08-03:

Tool Current release Primary use
ripgrep 15.2.0 Recursive text/regex search
fd 10.4.2 Filesystem path search
bat 0.26.1 Syntax-aware file viewing
eza 0.23.5 Interactive directory listing
fzf 0.74.2 Interactive fuzzy selection
zoxide 0.10.0 Frecency directory navigation
sd 1.1.0 Search/replace with regex or fixed strings
jq 1.8.2 JSON filtering/transformation
yq 4.53.3 YAML and structured-data transformation
hyperfine 1.20.0 Reproducible command benchmarking
delta 0.19.2 Git diff/pager rendering
bottom 0.14.7 Terminal process/system monitor (btm)

Read references/releases.md for the 34-page research ledger. Read references/search-files-and-text.md for ripgrep, fd, eza, bat, and sd semantics. Read references/data-benchmarks-and-git.md for jq, yq, hyperfine, and delta. Read references/interactive-and-system-tools.md for fzf, zoxide, bottom/btop, dust, duf, procs, and tldr.

Filename safety

Filenames can contain spaces, newlines, leading dashes, quotes, and shell metacharacters. Prefer:

  • native fd --exec / --exec-batch,
  • argv arrays in the current language/shell,
  • NUL-producing and NUL-consuming options only when every pipeline stage supports them,
  • -- before path operands,
  • machine-readable output instead of parsing decorated tables.

Do not interpolate {} into sh -c. Do not pipe newline-delimited paths into xargs rm, command substitution, or a shell loop that reparses text.

ripgrep

rg 'pattern' src
rg --hidden --glob '!.git/**' 'pattern'
rg --count-matches 'pattern'
rg --multiline --multiline-dotall 'start.*end'
  • rg -c counts matching lines; --count-matches counts occurrences.
  • -U / --multiline permits matches across lines, but dot still excludes newline unless dotall is enabled.
  • -u disables ignore rules but still omits hidden files; -uu includes hidden, and -uuu additionally searches binary data.
  • --no-ignore --hidden searches the working tree, not Git history. Use Git history commands for commit history.

fd

fd --absolute-path 'pattern' root
fd --full-path 'src/.+\.ts$'
fd --changed-within 2d
fd --type d --type empty --exec rmdir -- {}
  • -p means match against the full path, not print an absolute path; use -a / --absolute-path for output.
  • -S +1m selects files at least one decimal megabyte in size, including exactly 1,000,000 bytes; use +1mi for one MiB (1,048,576 bytes) — m/mi are separate decimal/binary units, not aliases.
  • -c is color control; use --changed-within and --changed-before for time filters.
  • Native exec preserves argv and avoids shell injection.

eza and bat

Use eza for interactive display, not as a parser input. -h enables the column header row. --color-scale color-scales age/size fields; it is not a custom-theme loader. Use documented theme or EZA_COLORS configuration.

Use bat for human viewing. In pipelines or scripts, disable decoration/color or use the underlying file directly so control sequences do not become data.

sd

Current sd processes line by line by default. Use -A / --across for cross-line replacements, -F for fixed strings, -p for preview, and -- before operands that can begin with -.

Review replacements before in-place mutation. Regex replacement syntax is not identical to every sed dialect.

jq

jq -e -r '.items[]?.name' input.json
jq --arg name "$NAME" '.name = $name' input.json
jq --argjson config "$CONFIG_JSON" '.config = $config' input.json
  • -r emits strings without JSON quoting.
  • -e makes false/null/no-result affect exit status.
  • --arg passes a string; --argjson parses JSON.
  • Shell-quote jq programs so the shell does not consume $, brackets, or quotes.
  • Slurp loads all inputs; streaming changes the data model. Consider memory before using either on large input.

yq

This skill refers to Mike Farah's Go yq, not the separate Python wrapper with the same name.

yq eval '.services.api.image' compose.yaml
yq eval --inplace '.version = "2"' config.yaml

Treat in-place editing as a local mutation and inspect the diff. Configure input/output format when extension detection is ambiguous. Preserve null and missing-value semantics deliberately; YAML round trips can change representation.

fzf

Fuzzy selection can return no value and can return text beginning with -. Capture the result without word splitting, validate cancellation/empty output, then pass it as one argum

Полный SKILL.md на GitHub

Установить modern-cli-tools в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/data-benchmarks-and-git.mdreferences/interactive-and-system-tools.mdreferences/releases.mdreferences/search-files-and-text.md

FAQ

Что делает скилл modern-cli-tools?

Safe, current usage of ripgrep, fd, bat, eza, fzf, zoxide, sd, jq, yq, hyperfine, delta, bottom, dust, duf, procs, btop, and tldr. Use when selecting or invoking modern Unix CLI tools, especially instead of fragile shell pipelines.

Как установить скилл modern-cli-tools?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл modern-cli-tools запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить modern-cli-tools с