تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

distil

بواسطة mikel

Web & Frontend Development
578التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Fetch web pages as clean Markdown and search the web via the distil.net proxy.

الوصف

ما الذي تفعله هذه المهارة

Distil converts web pages to clean Markdown via a proxy, reducing token consumption by 60–80% compared to raw HTML. Agents get consistent access to web fetch, search, screenshots, and rendered pages without managing headers or URL construction manually.

Stripping HTML boilerplate before it hits the LLM context window cuts token costs significantly, making web-augmented agents practical at scale.

متى تستخدمها

  • Fetching API documentation as Markdown for an agent to read
  • Searching the web for current information during a research task
  • Capturing screenshots of web pages for visual inspection
  • Reading JavaScript-rendered single-page apps that require execution
  • Bypassing cache to get the freshest version of a frequently updated page

مثال على سير العمل

الإدخال

User asks: 'What are the latest Go error handling best practices?'

الوكيل
  1. 1

    Constructs the search URL using DISTIL_PROXY_URL and the encoded query string

  2. 2

    Sends a GET request with X-Distil-Key and Accept: text/markdown headers

  3. 3

    Receives web search results as clean Markdown

  4. 4

    Parses the Markdown to extract relevant sources and summaries

  5. 5

    Returns a synthesized answer with source links to the user

الإخراج

A summary of current Go error handling best practices drawn from live web search results, with source links

المتطلبات

  • DISTIL_API_KEY environment variable
  • distil.net account (free, requires email verification at distil.net)

التثبيت

clawhub install mikel/distil

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط