Web search

From rcarmo/piclaw · View interactive version

Web search is an AI agent skill from the GitHub repository rcarmo/piclaw. Search the web via SearXNG (or DuckDuckGo fallback) and optionally fetch result pages as raw Markdown content.

How to use this skill

Skill file

Web Search

Use this when you need search results and fetched page content.

If you only need short summaries, use web-search-summary.

Search engine selection

Examples

Search only:

bun /workspace/.pi/skills/web-search/web-search.ts --query "your query"

Fetch top results and convert them to Markdown:

bun /workspace/.pi/skills/web-search/web-search.ts --query "your query" --fetch true --fetch-limit 2

Output shape

The script prints JSON like:

{
  "query": "...",
  "searxUrl": "http://.../search",
  "limit": 5,
  "fetch": true,
  "results": [
    {
      "title": "...",
      "url": "https://...",
      "content": "snippet or fetched markdown"
    }
  ]
}

Failure behaviour

Options

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.