// CLI power tools for AI-assisted development. Use when (1) needing recommendations for CLI tools to install, (2) processing JSON/YAML data with jq/yq, (3) searching code with ripgrep or ast-grep, (4) documenting a CLI tool or multi-tool recipe you've discovered, (5) wanting to learn CLI patterns for data pipelines, or (6) setting up a new project and want CLI recommendations. Supports three modes - init (project scan), document (capture new recipes), and recommend (codebase analysis).
| name | cli-ninja-tools |
| description | CLI power tools for AI-assisted development. Use when (1) needing recommendations for CLI tools to install, (2) processing JSON/YAML data with jq/yq, (3) searching code with ripgrep or ast-grep, (4) documenting a CLI tool or multi-tool recipe you've discovered, (5) wanting to learn CLI patterns for data pipelines, or (6) setting up a new project and want CLI recommendations. Supports three modes - init (project scan), document (capture new recipes), and recommend (codebase analysis). |
Transform terminal workflows with modern CLI utilities optimized for AI-assisted development.
clis/)Per-tool documentation with progressive disclosure:
recipes/)Multi-CLI combinations (2+ tools) for specific use cases:
Categories: github, data-processing, code-analysis, devops, media
When: Setting up new project, after /init
Purpose: Scan project, recommend relevant CLI patterns
python scripts/scan.py to detect CLIs in project configspython scripts/discover.py --missing to find missing Tier 1 toolsrecipes/ matching detected workflowsWhen: User discovers useful CLI pattern or recipe Purpose: Help capture terse, high-quality documentation
For single CLI:
{cli} --help, optionally WebSearch for docsclis/{cli}/quick.md following templateFor recipe (multi-CLI):
recipes/TEMPLATE.mdpython scripts/validate.pyWhen: User explicitly asks for CLI recommendations Purpose: Analyze codebase patterns, recommend tools
python scripts/discover.py for current tool statepython scripts/scan.py for project patternspython scripts/discover.py # Full report
python scripts/discover.py --tier 1 # Essentials only
python scripts/discover.py --missing # What to install
| Tool | Check | Purpose |
|---|---|---|
| jq | jq --version | JSON processing |
| ripgrep | rg --version | Fast code search |
| fd | fd --version | File finder |
| bat | bat --version | Cat with syntax |
| ast-grep | sg --version | AST refactoring |
# Quick check all Tier 1
for cmd in jq rg fd bat sg; do command -v $cmd &>/dev/null && echo "OK $cmd" || echo "MISSING $cmd"; done
# macOS
brew install jq ripgrep fd bat ast-grep
# Ubuntu/Debian
sudo apt install jq ripgrep fd-find bat
cargo install ast-grep --locked
# Windows (Scoop)
scoop install jq ripgrep fd bat ast-grep
jq '.data[].name' response.json # Extract field
jq '.items[] | select(.active)' data.json # Filter
jq -r '.users[] | [.id, .name] | @csv' users.json # To CSV
jq -s '.[0] * .[1]' base.json override.json # Merge
rg 'TODO|FIXME' -A 2 --type py # With context
rg 'pattern' --json | jq 'select(.type=="match")' # Structured output
rg -l 'deprecated' | xargs sd -i 'old' 'new' # Search & replace
gh issue view 123 --json body --jq '.body' # Inline jq
gh pr view 123 --json files --jq '.files[].path' # PR files
gh issue list --json number,title --jq '.[].title' # List issues
When user asks about CLI tools:
clis/{tool}/quick.md for specific tool questionsclis/{tool}/reference.md only for advanced usagerecipes/{category}/*.md for multi-tool workflowsCreate ~/.claude/skills/cli-ninja-local/:
cli-ninja-local/
├── SKILL.md # References this skill
├── recipes/ # Personal recipes
└── clis/ # Personal CLI docs
recipes/TEMPLATE.mdpython scripts/validate.py your-recipe.mdSee recipes/CONTRIBUTING.md for details.