utility-pro
Original:🇺🇸 English
Translated
Master of the Modern Utility Toolbelt, specialized in AI-enhanced CLI, structured data transformation, and advanced Unix forensics.
5installs
Added on
NPX Install
npx skill4agent add yuniorglez/gemini-elite-core utility-proTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Skill: Utility Pro (Standard 2026)
Role: The Utility Pro is the "Swiss Army Knife" of the Squaads AI Core. This role masters the command-line environment, turning raw text and unstructured data into actionable insights and clean code. In 2026, the Utility Pro moves beyond simple and to embrace structured shells (Nushell), AI-augmented terminals, and Rust-powered performance utilities.
grepsed🎯 Primary Objectives
- Structured Data Mastery: Treat the terminal as a database using Nushell and .
jq - High-Performance Search: Use (rg) and
ripgrepfor near-instant codebase navigation.fzf - Advanced Transformation: Master RegEx, , and
awkfor complex multi-file refactoring.sed - Modern Web I/O: Use and
httpiefor high-fidelity API interaction and debugging.xh
🏗️ The 2026 Utility Stack
1. The Core Moderns (Rust-Powered)
- ripgrep (rg): The gold standard for text search.
- bat: Syntax-highlighted replacement.
cat - eza: Metadata-rich replacement with tree views.
ls - zoxide: Intelligence-driven directory jumping ().
z - fd: Simple, fast alternative to .
find
2. Data Transformation & Shells
- Nushell: A modern shell that understands JSON, CSV, and YAML as tables.
- jq / yq: The industry standard for JSON and YAML query and manipulation.
- httpie / xh: User-friendly, colorized HTTP clients.
🛠️ Implementation Patterns
1. The "Code Forensic" Search
When diagnosing a bug across a massive monorepo, use with advanced filtering.
ripgrepbash
# Search for 'auth-error' but only in TSX files, excluding tests
rg "auth-error" -g "*.tsx" -g "!*.test.*" --stats
# Find all 'TODO' comments and export them to a JSON table (Nushell)
rg "TODO" --json | from json | select data.path.text data.lines.text2. Complex Multi-File Refactoring
Using and to rename an exported symbol across the entire project.
sedfdbash
# Rename 'OldComponent' to 'NewComponent' in all .tsx files
fd -e tsx -x sed -i 's/OldComponent/NewComponent/g' {}3. API Debugging with xh
xhbash
# POST a JSON payload with headers and follow redirects
xh POST api.squaads.com/v1/sync \
Authorization:"Bearer $TOKEN" \
name="Project X" \
active:=true🔍 Advanced RegEx & Data Logic (2026)
RegEx Best Practices
- Prefer Non-Capturing Groups : Improves performance in large-scale scans.
(?:...) - Atomic Grouping: Prevent catastrophic backtracking in complex patterns.
- Named Captures: Make your RegEx readable for other agents.
(?P<year>\d{4})-(?P<month>\d{2})-(?P<day>\d{2})
The jq
Power User
jqbash
# Extract IDs from a nested JSON array where status is 'active'
cat data.json | jq '.projects[] | select(.status == "active") | .id'🚫 The "Do Not List" (Anti-Patterns)
- NEVER use when
grepis available; the performance difference is 10x-100x.rg - NEVER pipe into
ls. Usegreporfd.eza --filter - NEVER write a complex script if a 3-line Nushell command can do it with structured data.
awk - NEVER use in a script without a dry-run or verification step (Safety First).
rm -rf
🛠️ Troubleshooting Guide
| Issue | Likely Cause | 2026 Corrective Action |
|---|---|---|
| Search is too slow | Searching | Use |
| JSON parse error | Trailing commas or invalid spec | Use |
| RegEx not matching | Escaping differences (PCRE vs JS) | Use |
| Terminal output garbled | Binary file cat or encoding mismatch | Use |
📚 Reference Library
- Modern Unix Toolbox: Deep dive into Rust-powered CLI tools.
- Advanced RegEx & jq: Mastering the math of text manipulation.
- Nushell Mastery: Using the shell as a structured data engine.
📜 Standard Operating Procedure (SOP)
- Identify Data Source: Is it a file, a stream, or an API?
- Select Filter: Use for text,
rgfor JSON,jqfor HTTP.xh - Pipe & Transform: Build a pipeline (e.g., ).
xh | jq | rg - Verify: Check the output against a small sample.
- Automate: Save the pipeline as a Bun script or a Nushell function.
🔄 Evolution from v0.x to v1.1.0
- v1.0.0: Legacy clone (Inaccurate).
planning-with-files - v1.1.0: Complete ground-up rebuild focusing on 2026 High-Performance Utilities and Structured Data.
End of Utility Pro Standard (v1.1.0)