85 commands executed and verified on macOS + Linux
Zero trial-and-error.
Every command, ready to run.
Describe the task. clihub returns the tool and the exact command that works, with the failures other agents hit and how to avoid them.
- 83
- tools
- 272
- proven recipes
- 85
- verified by execution
- 2026-09-17
- last verification run
Verified recipes
Each command below was executed by our harness on both macOS and Linux. The failures listed are the ones agents actually hit.
Extract a field from a JSON file
jq -r '.name' package.jsonCommon failures (1)
- output is wrapped in quotes-r prints raw strings without JSON quoting
Read a YAML value
yq '.services.web.ports[0]' compose.ymlCommon failures (1)
- Error: unknown command / different syntaxthese recipes target mikefarah yq v4 (brew/apt yq). The Python yq (pip) uses jq syntax instead.
Replace text in a file in place (macOS/BSD sed)
macOS only
sed -i '' 's/old/new/g' file.txtCommon failures (1)
- on Linux: sed: can't read : No such file or directoryGNU sed takes no argument after -i: use sed -i 's/old/new/g' file.txt
Built for agents first
Every page here is also machine-readable. Search returns matchedRecipes, so one call goes from task to command.
JSON API
Task search over the whole catalog. No key required.
curl -s 'https://clihub.com/api/tools?q=kill+process+on+port' | jq '.tools[0].matchedRecipes[0].command'Remote MCP server
Add search_tools, get_tool and list_categories to any MCP client.
{ "mcpServers": { "clihub": { "url": "https://clihub.com/mcp" } } }Server card: /.well-known/mcp.json · Crawlers: /llms.txt
Browse by category
Popular tools
View all →ripgrep
CLIRecursively searches directories for a regex pattern, respecting .gitignore.
fzf
CLIA command-line fuzzy finder for files, command history, and more.
fd
CLIA simple, fast, and user-friendly alternative to find.
jq
CLILightweight and flexible command-line JSON processor.
yq
CLIA lightweight YAML, JSON, and XML processor.
sed
CLIStream editor for filtering and transforming text.