cli-power-tools

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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cli-power-tools" with this command: npx skills add oakoss/agent-skills/oakoss-agent-skills-cli-power-tools

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

PatternTool / CommandKey Points
Text searchrg "pattern" -g "*.tsx"10-100x faster than grep, respects .gitignore
File searchfd -e pdf or fd "pattern"Fast alternative to find with smart defaults
Syntax-highlighted readbat file.tsCat with syntax highlighting and git integration
Directory jumpz project-nameRemembers frequently visited directories
Fuzzy searchfzf or CTRL-T / CTRL-RInteractive selection for files and history
Tree vieweza --tree --level=2Metadata-rich ls replacement with tree support
JSON queryjq '.items[] | select(.active)'Full functional programming for JSON
YAML queryyq '.config.database' file.ymljq-like syntax for YAML files
HTTP requestxh POST api.example.com/v1/data key=valueColorized, user-friendly HTTP client
Multi-file refactorfd -e tsx -x sed -i 's/Old/New/g' {}Find files then execute transforms
Structured shellls | where size > 1mb | sort-by sizeNushell tables instead of text parsing
Log parsingrg "ERROR" --json | jq 'select(.type == "match") | .data.lines.text'Combine ripgrep JSON output with jq filters
File preview with searchfzf --preview 'bat --color=always {}'Browse files with syntax-highlighted preview
Find recently changedfd --changed-within 1hFind files modified within a time window
Export count by filerg -c "pattern" -g "*.ts" | sort -t: -k2 -rnCount matches per file, sorted by frequency
JSON format conversionyq -o json config.ymlConvert between YAML, JSON, CSV, and other formats
Advanced regex searchrg -P "(?<=function\s)\w+" --only-matchingPCRE2 for lookahead/lookbehind patterns
Git-aware file listingeza -la --git --iconsShow file metadata with inline git status

Tool Overview

CategoryModern ToolReplacesKey Advantage
Text searchripgrep (rg)grep, ag, git grepSpeed, .gitignore awareness, Unicode
File searchfdfindSmart defaults, regex, parallelism
File viewerbatcat, lessSyntax highlighting, git diff markers
Directory jumpzoxide (z)cd, autojumpFrecency-based ranking, fzf fallback
Fuzzy finderfzfmanual pipingUniversal selector for any list
File listingezals, treeTree view, git status, icons
JSON processingjqawk, python onelinersTyped, functional JSON transforms
YAML processingyqsed on YAMLjq-compatible syntax for YAML
HTTP clientxhcurl, httpieHTTPie syntax, Rust speed, single binary
Structured shellNushellbash + awk/sedTyped tables, native format conversion

Common Mistakes

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

Installation

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

ToolmacOS (Homebrew)Linux (apt/cargo)
ripgrepbrew install ripgrepapt install ripgrep or cargo install ripgrep
fdbrew install fdapt install fd-find or cargo install fd-find
batbrew install batapt install bat or cargo install bat
zoxidebrew install zoxidecargo install zoxide
fzfbrew install fzfapt install fzf
ezabrew install ezacargo install eza
jqbrew install jqapt install jq
yqbrew install yqsnap install yq or go install
xhbrew install xhcargo install xh
Nushellbrew install nushellcargo install nu

Shell integration (add to shell config after installing):

ToolShell Integration Required
zoxideeval "$(zoxide init zsh)" (or bash/fish equivalent)
fzfSource 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-cli

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

tanstack-cli

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

typescript-patterns

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

tanstack-devtools

No summary provided by upstream source.

Repository SourceNeeds Review