cli-wrappers
Use CLI tools instead of MCP to reduce cost. Provides JSON output patterns for gh, mgrep, psql, etc.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
CLI Wrappers Skill
Purpose
Replace MCPs with CLI. ALWAYS use JSON output + jq.
GitHub (gh)
gh pr list --json number,title | jq -c '.[]'
gh pr create --title "feat: X" --body "desc"
gh issue list --json number,title | jq -c '.[]'
Full reference: @references/github-cli.md
Search (mgrep)
mgrep "pattern" src/
mgrep -t py "class" # Python
mgrep -t java "public" # Java
mgrep -t go "func" # Go
mgrep --web "docs query"
Full reference: @references/mgrep.md
Database
psql -t -A -F',' -c "SELECT..."
Benefits
| Tool | Benefit |
|---|---|
| gh pr list | JSON output reduces verbosity significantly |
| psql | CSV format eliminates table formatting overhead |
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-03-11
- Index updated
- 2026-03-11
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!