distil
由 mikel 提供
Web & Frontend Development简介
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
Constructs the search URL using DISTIL_PROXY_URL and the encoded query string
- 2
Sends a GET request with X-Distil-Key and Accept: text/markdown headers
- 3
Receives web search results as clean Markdown
- 4
Parses the Markdown to extract relevant sources and summaries
- 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运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。