distil
von mikel
Web & Frontend DevelopmentKurzbeschreibung
Fetch web pages as clean Markdown and search the web via the distil.net proxy.
Beschreibung
Was dieser Skill macht
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.
Wann du ihn einsetzt
- 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
Beispiel-Workflow
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
Voraussetzungen
- DISTIL_API_KEY environment variable
- distil.net account (free, requires email verification at distil.net)
Installation
clawhub install mikel/distilFühre den CLI-Befehl aus oder füge den Prompt in Claude Code, Cursor, Codex oder deinen Coding-Agenten ein.