Agent skill
qry-search
Web search using qry, a terminal-native agent-first search CLI that routes queries through pluggable adapters and always outputs JSON. Use this skill whenever you need to search the web for documentation, APIs, error messages, package info, changelogs, or any current information. Triggers on "search the web", "look up", "find docs for", "what's the latest version of", "check if X exists", or whenever current information is needed. Prefer this over ddgr or other search tools when qry is available.
Install this agent skill to your Project
npx add-skill https://github.com/justEstif/dotfiles/tree/main/pi/.pi/agent/skills/qry-search
SKILL.md
qry Search Skill
qry routes search queries through pluggable adapter binaries and always outputs JSON.
Check availability
qry --agent-info # prints tool description + your current config as JSON
If qry is not found, install it and at least one adapter:
# Install qry
mise use -g go:github.com/justestif/qry@latest && mise reshim
# Install an adapter (no API key required)
mise use -g go:github.com/justestif/qry/adapters/ddg-scrape@latest && mise reshim
See the qry README for all available adapters and config.
Core usage
# Basic search
qry "your query here"
# Limit results (default from config, usually 5–10)
qry --num 5 "your query"
# Force a specific adapter (bypass routing)
qry --adapter ddg-scrape "your query"
# Merge results from all pool adapters
qry --mode merge "your query"
Output format
first mode (default) — array of results:
[
{ "title": "...", "url": "https://...", "snippet": "..." }
]
merge mode — object with results (and optional warnings):
{
"results": [{ "title": "...", "url": "https://...", "snippet": "..." }],
"warnings": ["brave-api failed: rate_limited — results may be incomplete"]
}
Tips
- Be specific —
"python requests post json body example"beats"python http" - Version lookups —
"numpy latest release site:pypi.org" - Error messages — wrap in quotes:
qry '"ModuleNotFoundError: No module named X"' - Docs —
"site:docs.python.org pathlib"gives cleaner results - After searching — fetch the most relevant URL for full content:
curl -s <url> | cat - Partial failures in merge mode are non-fatal — results from successful adapters are returned alongside warnings
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
philosophy-software-design
Apply "A Philosophy of Software Design" (John Ousterhout) principles to code review and architectural design. Dual mode — reviews existing code for design quality AND advises on new module/API/abstraction design. Use when reviewing code, refactoring modules, designing APIs or abstractions, discussing architecture decisions, or when explicitly asked to apply software design principles. Triggers on code reviews, refactoring tasks, module/API design, architecture discussions, and explicit requests like "review software design", "check design quality", "apply philosophy of software design", "review design complexity", "check module depth".
defuddle
Extract clean markdown content from web pages using Defuddle CLI, removing clutter and navigation to save tokens. Use instead of curl, or WebFetch when the user provides a URL to read or analyze, for online documentation, articles, blog posts, or any standard web page.
zellij-subagents
run and coordinate multiple pi subagents in parallel using zellij panes.
mvp-doc
Create an MVP (Minimum Viable Product) document for a new project idea. Covers What, Why, How, and Competition through a collaborative conversation. Use when the user wants to define, scope, or brainstorm an MVP, or says things like "I have a project idea", "let's define an MVP", "help me scope a project".
philosophy-software-design
Apply "A Philosophy of Software Design" (John Ousterhout) principles to code review and architectural design. Dual mode — reviews existing code for design quality AND advises on new module/API/abstraction design. Use when reviewing code, refactoring modules, designing APIs or abstractions, discussing architecture decisions, or when explicitly asked to apply software design principles. Triggers on code reviews, refactoring tasks, module/API design, architecture discussions, and explicit requests like "review software design", "check design quality", "apply philosophy of software design", "review design complexity", "check module depth".
qry-search
Web search using qry, a terminal-native agent-first search CLI that routes queries through pluggable adapters and always outputs JSON. Use this skill whenever you need to search the web for documentation, APIs, error messages, package info, changelogs, or any current information. Triggers on "search the web", "look up", "find docs for", "what's the latest version of", "check if X exists", or whenever current information is needed. Prefer this over ddgr or other search tools when qry is available.
Didn't find tool you were looking for?