Skillpedia
الوكلاء48k · #5443

pi-web-search

ما الذي تفعله

تتيح هذه المهارة للذكاء الاصطناعي البحث في الإنترنت عن معلومات حديثة، وتنزيل صفحات الويب وملفات PDF ومحتوى YouTube وGitHub.

متى تستخدمها

  • ✓عندما تحتاج إلى أخبار حديثة أو معلومات محدّثة.
  • ✓لتنزيل مستندات PDF أو مقالات من المواقع وقراءتها.
  • ✓للحصول على محتوى مقاطع YouTube أو مستودعات GitHub.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pi-web-search/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“ابحث في الويب عن «latest advancements in solar energy» ولخّص لي النتائج مع المصادر.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يستخدم الذكاء الاصطناعي أداة خاصة للبحث عن المعلومات على الإنترنت. يستطيع البحث في مواقع متعددة وتنزيل الملفات، وحتى استخراج النص من مقاطع الفيديو.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من 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.
الأسئلة الشائعة

ماذا يحدث إذا كانت صفحة الويب طويلة جداً؟

إذا كانت الصفحة طويلة جداً، قد يعرض الذكاء الاصطناعي جزءاً منها فقط. يمكنك أن تطلب جلب الباقي إذا احتجته.

كيف يتعامل الذكاء الاصطناعي مع ملفات PDF ومقاطع الفيديو؟

بالنسبة إلى ملفات PDF يستخرج النص ويحفظه. أما مقاطع الفيديو فيمكنه الحصول على النص الكامل لما قيل فيها، ومع إعدادات إضافية يمكنه استخراج الصور أيضاً.

هل أحتاج إلى إعداد شيء؟

عادةً لا. المهارة مُعدّة للعمل تلقائياً في معظم الحالات، لكن بعض الميزات المتقدمة قد تحتاج إلى مفاتيح وصول محددة.

التفاصيل

الوصف الأصلي من المؤلف

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

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#5443
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة