con un clic
web-search
// Search the web via SearXNG (or DuckDuckGo fallback) and optionally fetch result pages as raw Markdown content.
// Search the web via SearXNG (or DuckDuckGo fallback) and optionally fetch result pages as raw Markdown content.
Generate a 7-day token usage chart (all chats) and post it to the web UI timeline.
Search via SearXNG (or DuckDuckGo fallback), fetch top results, and return sentence-level summaries plus optional converted page content.
Diagnose and fix issues with the Pibox container environment — tools, paths, mounts, pi configuration.
Reinstall piclaw from workspace source and force-restart the running process. Use after making code changes to piclaw.
Situate yourself by generating a 1-page situation report and maintaining Obsidian-style daily summary notes.
Author Adaptive Cards for the current PiClaw web environment. Use when you need a prompt pattern, supported payload shape, or reusable card templates for structured web interactions.
| name | web-search |
| description | Search the web via SearXNG (or DuckDuckGo fallback) and optionally fetch result pages as raw Markdown content. |
| distribution | public |
Use this when you want search results plus raw fetched page content.
If you only need short summaries rather than full converted page content, use web-search-summary instead.
PICLAW_SEARX_URL is set or --searx-url is passed, uses SearXNG.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
The script prints JSON like:
{
"query": "...",
"searxUrl": "http://.../search",
"limit": 5,
"fetch": true,
"results": [
{
"title": "...",
"url": "https://...",
"content": "snippet or fetched markdown"
}
]
}
--fetch, results[].content is the search-result snippet when available.--fetch, fetched items replace content with converted Markdown.content: "Failed to fetch: ...".--query / --q — required search query--limit — number of search results to return (default 5)--fetch — fetch and convert result pages (true / 1)--fetch-limit — how many results to fetch and convert (default 2)--searx-url — override the SearXNG endpoint (env: PICLAW_SEARX_URL; falls back to DuckDuckGo if unset)--timeout — fetch timeout in milliseconds (default 15000)turndown + linkedom.<article>, <main>, or [role='main'] when present.