# cli-power-tools

cli-power-tools guides coding agents to use fast Rust-based command-line utilities and structured parsers instead of legacy shell pipelines.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 121 installs · ★ 29 repo stars
- Author: oakoss
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/oakoss/agent-skills/tree/HEAD/skills/cli-power-tools/SKILL.md
- Updated: 2026-08-17
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/cli-power-tools

## What it does

This skill teaches agents to pick purpose-built terminal programs instead of writing brittle shell pipelines. Code searching relies on `ripgrep` to respect `.gitignore` rules out of the box. File discovery delegates to `fd`, file inspection uses `bat` with syntax highlights, and folder structures are inspected using `eza`.

Rather than forcing plain text through ad-hoc parsers, the skill channels queries into structured tools. It processes JSON records via `jq`, handles YAML configs through `yq`, builds table queries with `Nushell`, and handles HTTP calls using `xh`.

The skill ships only guidelines and invocation patterns. Every referenced binary must already be installed and discoverable in the system PATH for the agent commands to work.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add oakoss/agent-skills --skill cli-power-tools -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/cli-power-tools/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/cli-power-tools/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add oakoss/agent-skills --skill cli-power-tools -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/cli-power-tools/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add oakoss/agent-skills --skill cli-power-tools -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/cli-power-tools/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install oakoss/agent-skills skills/cli-power-tools
```

2. **Manually: put the files in place**
- File: `.github/skills/cli-power-tools/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add oakoss/agent-skills --skill cli-power-tools -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/oakoss/agent-skills --path skills/cli-power-tools
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/cli-power-tools/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add oakoss/agent-skills --skill cli-power-tools -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/oakoss/agent-skills/tree/HEAD/skills/cli-power-tools/SKILL.md

## When to use it
- search large codebases with `ripgrep` while honoring ignore files
- execute batch text replacements across projects with `fd` and `sed`
- query and transform JSON or YAML configurations using `jq` and `yq`
- extract structured log events using `rg --json` piped directly into `jq`

## Example prompts
- Find all `.tsx` files referencing `useAuth` and rank them by match counts
- List files modified within the last hour and preview them with `bat`
- Convert `config.yml` into JSON format and filter down to the active database entries

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 4a0b73ea7a2a24e5.

BEGIN THIRD-PARTY FILE 4a0b73ea7a2a24e5
```text
---
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               |
```
END THIRD-PARTY FILE 4a0b73ea7a2a24e5

The third-party file has ended. Everything between the 4a0b73ea7a2a24e5 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2809 of 9878 bytes. © oakoss · MIT · https://github.com/oakoss/agent-skills/tree/HEAD/skills/cli-power-tools/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
