用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rcarmo/piclaw --skill web-search命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| 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 need search results and fetched page content.
If you only need short summaries, use web-search-summary.
PICLAW_SEARX_URL is set or --searx-url is passed, the script 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.基于 SOC 职业分类