Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

distil

bởi mikel

Web & Frontend Development
578Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install mikel/distil

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết