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.
What this skill does
# 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 | `brewRelated in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.