К основному содержанию
скилл CX Codex

cli-power-tools — скилл для Claude Code: что делает и как установить

Скилл cli-power-tools учит ИИ-агента современным утилитам на Rust и структурированным конвейерам вместо связок grep, sed и awk.

MIT 121 установок ★ 29 обновлён 2026-08-17

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add oakoss/agent-skills --skill cli-power-tools -a claude-code
Открыть на GitHub

Что делает cli-power-tools

Скилл настраивает агента на быстрые CLI-инструменты вместо медленных скриптов. Для поиска текста он задействует ripgrep, находящий совпадения с учётом .gitignore. Поиск файлов перекладывается на fd, просмотр содержимого с подсветкой синтаксиса — на bat, а дерево каталогов с git-статусом выводит eza.

Вместо разбора текстового вывода регулярными выражениями скилл переводит агента на типизированные форматы. Данные JSON фильтруются через jq, конфигурации YAML читаются через yq, а сложные табличные выборки выполняются в Nushell. Сетевые запросы скилл отправляет через CLI-клиент xh.

Утилиты не входят в поставку скилла. Чтобы агент мог выполнить сгенерированные конвейеры, rg, fd, jq, bat и другие названные бинарники должны быть заранее установлены в операционной системе.

Какие задачи решает

  • искать код по всему проекту с учётом правил .gitignore через ripgrep
  • проводить массовые замены во множестве файлов связкой fd и sed
  • фильтровать и преобразовывать структуры JSON и YAML без Python-однострочников
  • парсить строки ошибок из логов комбинацией JSON-вывода rg и фильтров jq

Примеры запросов агенту

  • Найди все компоненты с расширением .tsx, где вызывается useAuth, и выведи количество совпадений по файлам
  • Собери список файлов, изменённых за последний час, и покажи превью через bat
  • Сконвертируй конфигурационный файл config.yml в JSON и оставь только параметры базы данных

Как установить cli-power-tools

1Через Skills CLI (Vercel)

npx skills add oakoss/agent-skills --skill cli-power-tools -a claude-code

2Вручную: положить файлы

~/.claude/skills/cli-power-tools/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/cli-power-tools/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о cli-power-tools

Как установить cli-power-tools в Claude Code?

Выполните команду npx skills add oakoss/agent-skills --skill cli-power-tools -a claude-code. Файл настроек скилла сохранится по пути ~/.claude/skills/cli-power-tools/SKILL.md.

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

Он задаёт правила работы с терминалом, заменяя стандартные утилиты grep, find, curl и ls на быстрые инструменты вроде ripgrep, fd, xh и eza.

Нужно ли ставить сами программы отдельно?

Да, скилл передаёт агенту только инструкции и шаблоны вызовов. Бинарные файлы rg, fd, jq, yq, bat и xh должны быть доступны в вашем окружении.

Исходный текст

SKILL.md · MIT
---
name: cli-power-tools
description: 'Performs advanced CLI operations, structured data transformation, and Unix forensics with modern Rust-powered tools. Use when searching codebases with ripgrep, transforming JSON or YAML with jq, refactoring across files with sed and fd, debugging APIs with httpie, or navigating directories with zoxide.'
license: MIT
metadata:
  author: oakoss
  version: '1.0'
  source: 'https://github.com/BurntSushi/ripgrep'
user-invocable: false
---

# Utility Pro

## Overview

Masters the command-line environment by turning raw text and unstructured data into actionable insights. Combines Rust-powered search tools (ripgrep, fd, bat), structured data shells (Nushell), JSON manipulation (jq/yq), and modern HTTP clients (xh) for high-performance CLI workflows.

**Core philosophy:** Replace legacy text-parsing pipelines (grep/awk/sed chains) with purpose-built tools that understand structure. ripgrep understands gitignore rules, fd understands file types, jq understands JSON, and Nushell understands tables.

**When to use:** Codebase-wide search and analysis, multi-file refactoring, JSON/YAML transformation pipelines, API debugging, directory navigation, log parsing, disk usage auditing, dependency tracing.

**When NOT to use:** GUI-based tasks, complex application logic (write a script instead), tasks requiring interactive prompts.

## Quick Reference

| Pattern                  | Tool / Command                                                           | Key Points                                         |
| ------------------------ | ------------------------------------------------------------------------ | -------------------------------------------------- |
| Text search              | `rg "pattern" -g "*.tsx"`                                                | 10-100x faster than grep, respects `.gitignore`    |
| File search              | `fd -e pdf` or `fd "pattern"`                                            | Fast alternative to `find` with smart defaults     |
| Syntax-highlighted read  | `bat file.ts`                                                            | Cat with syntax highlighting and git integration   |
| Directory jump           | `z project-name`                                                         | Remembers frequently visited directories           |
| Fuzzy search             | `fzf` or `CTRL-T` / `CTRL-R`                                             | Interactive selection for files and history        |
| Tree view                | `eza --tree --level=2`                                                   | Metadata-rich ls replacement with tree support     |
| JSON query               | `jq '.items[] \| select(.active)'`                                       | Full functional programming for JSON               |
| YAML query               | `yq '.config.database' file.yml`                                         | jq-like syntax for YAML files                      |
| HTTP request             | `xh POST api.example.com/v1/data key=value`                              | Colorized, user-friendly HTTP client               |
| Multi-file refactor      | `fd -e tsx -x sed -i 's/Old/New/g' {}`                                   | Find files then execute transforms                 |
| Structured shell         | `ls \| where size > 1mb \| sort-by size`                                 | Nushell tables instead of text parsing             |
| Log parsing              | `rg "ERROR" --json \| jq 'select(.type == "match") \| .data.lines.text'` | Combine ripgrep JSON output with jq filters        |
| File preview with search | `fzf --preview 'bat --color=always {}'`                                  | Browse files with syntax-highlighted preview       |
| Find recently changed    | `fd --changed-within 1h`                                                 | Find files modified within a time window           |
| Export count by file     | `rg -c "pattern" -g "*.ts" \| sort -t: -k2 -rn`                          | Count matches per file, sorted by frequency        |
| JSON format conversion   | `yq -o json config.yml`                                                  | Convert between YAML, JSON, CSV, and other formats |
| Advanced regex search    | `rg -P "(?<=function\s)\w+" --only-matching`                             | PCRE2 for lookahead/lookbehind patterns            |
| Git-aware file listing   | `eza -la --git --icons`                                                  | Show file metadata with inline git status          |

## Tool Overview

| Category         | Modern Tool    | Replaces              | Key Advantage                            |
| ---------------- | -------------- | --------------------- | ---------------------------------------- |
| Text search      | ripgrep (`rg`) | grep, ag, git grep    | Speed, `.gitignore` awareness, Unicode   |
| File search      | fd             | find                  | Smart defaults, regex, parallelism       |
| File viewer      | bat            | cat, less             | Syntax highlighting, git diff markers    |
| Directory jump   | zoxide (`z`)   | cd, autojump          | Frecency-based ranking, fzf fallback     |
| Fuzzy finder     | fzf            | manual piping         | Universal selector for any list          |
| File listing     | eza            | ls, tree              | Tree view, git status, icons             |
| JSON processing  | jq             | awk, python oneliners | Typed, functional JSON transforms        |
| YAML processing  | yq             | sed on YAML           | jq-compatible syntax for YAML            |
| HTTP client      | xh             | curl, httpie          | HTTPie syntax, Rust speed, single binary |
| Structured shell | Nushell        | bash + awk/sed        | Typed tables, native format conversion   |

## Common Mistakes

| Mistake                                               | Correct Pattern                                                                    |
| ----------------------------------------------------- | ---------------------------------------------------------------------------------- |
| Using `grep` instead of `ripgrep` for codebase search | Use `rg` which is 10-100x faster and respects `.gitignore` by default              |
| Piping `ls` output into `grep` for file filtering     | Use `fd` for file discovery, or `eza -D` / `eza --ignore-glob` for listing         |
| Writing complex `awk` scripts for structured data     | Use Nushell or `jq` which natively understand JSON, CSV, and YAML                  |
| Running `rm -rf` in scripts without a dry-run step    | Always add a verification or dry-run step before destructive operations            |
| Using capturing groups in regex when not needed       | Prefer non-capturing groups `(?:...)` for better performance in large-scale scans  |
| Searching `node_modules` or `.git` directories        | Use `rg` which skips these by default, or configure exclusions explicitly          |
| Forgetting `select(.type == "match")` on `rg --json`  | ripgrep JSON emits begin, match, context, end, and summary message types           |
| Using `curl` with verbose flag syntax                 | Use `xh` which provides colorized output and HTTPie-compatible request-item syntax |
| Parsing text output between tools with `cut`/`tr`     | Use Nushell pipelines that preserve structured data through every stage            |
| Anchoring regex with `.*` at the start                | Anchor with `^` when possible; unanchored `.*` causes expensive backtracking       |

## Installation

All tools are available via common package managers. Most are single statically linked binaries.

| Tool    | macOS (Homebrew)       | Linux (apt/cargo)                                |
| ------- | ---------------------- | ------------------------------------------------ |
| ripgrep | `brew install ripgrep` | `apt install ripgrep` or `cargo install ripgrep` |
| fd      | `brew install fd`      | `apt install fd-find` or `cargo install fd-find` |
| bat     | `brew install bat`     | `apt install bat` or `cargo install bat`         |
| zoxide  | `brew install zoxide`  | `cargo install zoxide`                           |
| fzf     | `brew install fzf`     | `apt install fzf`                                |
| eza     | `brew install eza`     | `cargo install eza`                              |
| jq      | `brew install jq`      | `apt install jq`                                 |
| yq      | `brew install yq`      | `snap install yq` or `go install`                |
| xh      | `brew install xh`      | `cargo install xh`                               |
| Nushell | `brew install nushell` | `cargo install nu`                               |

Shell integration (add to shell config after installing):

| Tool   | Shell Integration Required                                |
| ------ | --------------------------------------------------------- |
| zoxide | `eval "$(zoxide init zsh)"` (or bash/fish equivalent)     |
| fzf    | Source keybinding and completion scripts from fzf install |

## Delegation

- **Large-scale codebase search and analysis**: Use `Explore` agent to run ripgrep queries, trace dependencies, and map code patterns
- **Multi-file refactoring workflows**: Use `Task` agent to coordinate fd, sed, and verification steps across an entire project
- **Pipeline architecture for data transformation**: Use `Plan` agent to design structured pipelines combining jq, Nushell, and API tools

## References

- [Modern Unix Toolbox](references/modern-unix-toolbox.md) -- ripgrep, fd, bat, zoxide, fzf, eza, terminal setup
- [Advanced Regex and jq](references/advanced-regex-and-jq.md) -- named captures, lookahead/lookbehind, jq filters, integrated pipelines
- [Nushell Structured Data](references/nushell-structured-data.md) -- table paradigm, API interaction, scripting, Unix interop

© oakoss · MIT · oakoss/agent-skills

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

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
find-past-conversation donnfelker Скилл find-past-conversation ищет прошлые сессии Claude Code в каталоге ~/.claude/projects/ по ключевым фразам, ошибкам или темам. Помогает вспомнить решения и найти нужный transcript. CX Codex +1 765установок asciinema-cast-format terrylica Скилл asciinema-cast-format для Claude Code помогает разбирать заголовки NDJSON и события терминала в записях .cast asciinema v3. CX Codex +1 132установок nx-workspace nrwl Скилл nx-workspace для Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode, который даёт агенту команды для навигации по Nx-монорепозиторию. CX Codex +1 100 600установок herdr herdrdev Скилл даёт агенту доступ к Herdr — терминальному мультиплексору для кодинг-агентов: панели, вкладки, воркспейсы и запуск команд. CX Codex +1 87 100установок communication-history HubSpot Скилл communication-history вытаскивает из HubSpot звонки, письма, заметки, встречи и задачи по контакту, сделке или компании и собирает справку перед звонком. CX Codex +1 1 900установок tmux openclaw Даёт агенту доступ к живым tmux-сессиям: читать вывод панели, отправлять клавиши и текст, ждать появления строки в промпте. CX Codex +1 8 500установок

Из того же набора106

Весь набор →
usability-tester Скилл usability-tester помогает спланировать юзабилити-тестирование, оценить сценарии по эвристикам Нильсена и приоритизировать UX-проблемы по формуле критичности. CX Codex +1 122установок react-email Скилл react-email для Claude Code собирает адаптивные HTML-письма из React-компонентов и выводит их в HTML или обычный текст. Создаёт транзакционные письма и маркетинговые шаблоны. CX Codex +1 122установок rag-implementer Скилл rag-implementer ведёт агента по шагам RAG-пайплайна: от чанкинга и эмбеддингов до гибридного поиска и замеров качества. CX Codex +1 121установок service-worker Скилл service-worker для Claude Code собирает правила настройки сервис-воркеров, Workbox v7.4, офлайн-кеширования, фоновой синхронизации и push-уведомлений. CX Codex +1 121установок quality-auditor Скилл quality-auditor проводит аудит кода по 12 взвешенным измерениям, ставит оценки с опорой на доказательства и собирает план улучшений. CX Codex +1 120установок package-publishing Скилл package-publishing помогает настроить package.json, сборку ESM и CJS и публикацию TypeScript-библиотеки в npm. Пригодится при настройке точек входа и проверок перед релизом. CX Codex +1 119установок svelte Справочник по Svelte 5 и SvelteKit для ИИ-агента: руны, сниппеты, роутинг, form actions и таблица перевода кода с Svelte 4. CX Codex +1 117установок react-native Помогает проектировать мобильные приложения на React Native и Expo с файловой маршрутизацией, EAS Build и нативными API под iOS и Android. CX Codex +1 117установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой