web-search

Search the web via Anthropic and OpenAI official search APIs and fetch page content as Markdown.

Updated Sep 14, 2026
One-click install
npx skills add https://github.com/Suge8/skills --skill web-search-suge8
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: web-search
Source: https://github.com/Suge8/skills/tree/main/web-search
Command: npx skills add https://github.com/Suge8/skills --skill web-search-suge8

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @earendil-works/pi-coding-agent.

What problem does it solve? It gives an AI agent reliable access to current web information—latest facts, official API docs, and exact error messages—by querying official search engines and returning verbatim-verified evidence with source URLs instead of unverified summaries. ## Core Features & Use Cases - Dual-engine evidence search: Runs queries in parallel against Anthropic and OpenAI official web search, merges sources, and marks each quote as verified (✓) or unverified (?) against raw material. - Fast free lookup: A --quick mode via TinyFish returns a result list in about 2 seconds for finding accurate URLs or error text. - URL-to-Markdown fetching: Converts known URLs into clean Markdown body text, with support for llms.txt indexes and .md-suffixed LLM-friendly doc pages. - Use Case: When debugging an unfamiliar error, run a quick search to find the exact error thread, then fetch the official documentation page as Markdown to confirm the fix against the primary source. ## Quick Start Ask the agent to use the web-search skill to search for the latest documentation on a specific API and fetch the official page content.

Frequently Asked Questions about web-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search the web from a coding agent CLI?▼

Run node web.mjs search followed by one or more quoted questions. It queries Anthropic and OpenAI official search in parallel and returns merged evidence with source URLs in about 10-30 seconds.

How to fetch a web page as Markdown from the command line?▼

Use node web.mjs fetch followed by up to 10 http(s) URLs. It converts each page body to Markdown with a default 40000-character limit, adjustable via the --chars option.

What is the difference between search and search --quick?▼

Default search queries Anthropic and OpenAI official search, returning verified evidence with citations but consuming subscription quota. The --quick mode uses TinyFish, takes about 2 seconds, is free, and returns only a result list.

Does web search work without an Anthropic or OpenAI login?▼

Official search requires the pi CLI installed and logged in to at least one provider, since credentials and token refresh are handled by pi. Without login, you can still use --quick and fetch, which only need a TINYFISH_API_KEY.

Why do some quotes show a question mark instead of a checkmark?▼

A checkmark means the quote was found verbatim in the raw search material; a question mark means it was not. If TINYFISH_API_KEY is set, the tool re-fetches cited original pages to recheck unverified quotes.

Can I limit web search results to a specific domain?▼

Yes, pass --site with a domain to restrict results, or --not to exclude domains. Official search cannot combine --site and --not in the same query, while quick mode supports both.