Chuyển đến nội dung
Skillpedia
Agent48k · #5443

pi-web-search

Skill này làm gì

Công cụ này cho phép AI tìm kiếm thông tin trên internet, tải các trang web, PDF, nội dung YouTube hoặc GitHub.

Khi nào nên dùng

  • ✓Khi bạn cần tin tức mới hoặc thông tin cập nhật.
  • ✓Khi tải và đọc tài liệu PDF hoặc bài viết từ các website.
  • ✓Khi lấy nội dung video YouTube hoặc kho GitHub.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pi-web-search/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm trên web về “những tiến bộ mới nhất trong năng lượng mặt trời” và tóm tắt kèm nguồn cho tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

AI dùng một công cụ đặc biệt để tìm thông tin trực tuyến. Nó có thể tìm kiếm trên nhiều trang, tải tệp và thậm chí trích xuất văn bản từ video.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.
Câu hỏi thường gặp

Điều gì xảy ra nếu một trang web quá dài?

Nếu trang web rất dài, AI có thể chỉ hiển thị một phần. Bạn có thể yêu cầu nó tải phần còn lại nếu cần.

AI xử lý PDF và video như thế nào?

Với PDF, AI trích xuất văn bản và lưu lại. Với video, nó có thể lấy bản chép lời đầy đủ (những gì được nói) và, khi cài thêm, thậm chí trích xuất hình ảnh.

Tôi có cần thiết lập gì không?

Thường thì không. Công cụ được thiết lập để tự hoạt động trong hầu hết trường hợp, nhưng một số tính năng nâng cao có thể cần khóa truy cập cụ thể.

Chi tiết

Mô tả gốc của tác giả

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

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5443
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự