Skip to content
Skillpedia
Agents48k Β· #5443

pi-web-search

What it does

This tool allows the AI to search the internet for current information, download web pages, PDFs, YouTube, or GitHub content.

When to use it

  • βœ“When you need recent news or up-to-date information.
  • βœ“To download and read PDF documents or articles from websites.
  • βœ“To get the content from YouTube videos or GitHub repositories.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pi-web-search/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pi-web-search/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œSearch the web for 'latest advancements in solar energy' and give me a summary with sources.”

5 new skills a week. 1 minute to read.

How it works

The AI uses a special tool to look for information online. It can search multiple sites, download files, and even extract text from videos.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Web Search

When to Use

  • Use when a Pi Agent task needs current web information, page fetches, PDFs, YouTube, or GitHub content.
  • Use when Pi should use its own web-access package instead of another agent browser tool.

The pi-web-access package is installed globally. Zero-config via Exa MCP (no API key), with fallback Exa β†’ Perplexity β†’ Gemini.

CRITICAL: always pass workflow: "none"

Every web_search call MUST include workflow: "none". This skips the interactive browser curator popup (the user does not want it opening). No exceptions β€” single query or batched queries, always set workflow: "none".

web_search({ queries: ["query 1", "query 2"], workflow: "none" })

Tools

  • web_search β€” search the web; returns synthesized answers with citations. Can be called many times per turn. Always pass workflow: "none".
  • code_search β€” zero-key Exa code-context. Use for library/API/code lookups instead of generic web_search.
  • fetch_content β€” fetch URL(s) β†’ markdown; handles PDFs, YouTube, GitHub.
  • get_search_content β€” big pages (>30k chars) are truncated in responses but stored in full; call this to pull the rest on demand so they don't blow context.

fetch_content specifics

  • GitHub URLs are cloned, not scraped β€” you get real files + a local path to explore with read/bash (private repos need the gh CLI). Use this for dev work.
  • PDFs β†’ auto-extracted to markdown in ~/Downloads/, readable in sections (text-only, no OCR).
  • YouTube/video β†’ full raw transcripts + frame extraction. Needs a GEMINI_API_KEY (not zero-config); frame extraction also needs ffmpeg/yt-dlp.

Routing β€” match the user's phrasing

Always use the web_search tool. These counts are HARD MINIMUMS β€” count your queries before answering and do not stop short:

  • "web search" β†’ at least 2 queries, varied keywords/angles, then synthesize.
  • "extensive web research" β†’ at least 4 queries, totally different keywords and angles.
  • "deep research" β†’ at least 8 queries, totally different keywords and angles, run across 2–3 successive batches (refine angles after each batch), to learn as much as possible about the topic.

A single batched web_search call counts each query in queries[] toward the total. If your first batch is under the minimum, fire another batch before synthesizing.

Fallback / alternative: DeepAPI web search

If the Exa β†’ Perplexity β†’ Gemini chain fails, or you need ranked results with URLs:

test -n "$DEEPAPI_API_KEY" || { echo "DEEPAPI_API_KEY is not set"; exit 1; }
curl -s --max-time 60 "https://deepapi.co/v1/search/web" \
  -H "Authorization: Bearer $DEEPAPI_API_KEY" -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"query": "your search terms", "maxResults": 5, "maxCostUsd": "0.05"}'

Results are in .output (title, url, snippet per item). Query under 500 chars. Full details: deepapi skill.

Limitations

  • Adapted from davidondrej/skills; verify local paths, tools, credentials, and agent features before acting.
  • For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
FAQ

What happens if a webpage is too long?

If a webpage is very long, the AI might only show a part of it. You can ask it to fetch the rest if you need it.

How does the AI handle PDFs and videos?

For PDFs, the AI extracts the text and saves it. For videos, it can get the full transcript (what was said) and, with extra setup, even extract images.

Do I need to set anything up?

Usually not. The tool is set up to work automatically in most cases, but some advanced features might require specific access keys.

Details

Original description by the author

Give Pi Agents a safe web-search and fetch workflow using the installed pi-web-access package.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#5443
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills