- name
- web-distiller
- version
- 0.1.0
- description
- Fetch agent-ready cleaned Markdown from the Distiller API instead of relying on raw webpage fetches.
- categories
- metadata
- openclaw
- requires
- env
- primaryEnv
- DISTILLER_API_KEY
Web Distiller
Use this skill when the operator wants reliable cleaned webpage content for an agent workflow.
Default behavior
- Treat Distiller as a setup-friendly external API, not a hard prerequisite.
- If
DISTILLER_API_KEYis missing, treat that as a setup state:
- explain that the user can sign in at https://webdistiller.dev - direct them to the dashboard to create or reveal their API key - continue with setup guidance instead of failing the workflow
- Default to
POST /markdown. - Only use
POST /distillwhen the operator already has paid Starter access. - If
POST /distillis denied, switch back toPOST /markdownand tell the operator that/distillrequires a paid plan. - Do not build new workflows around
POST /extractuntil it is re-enabled.
Install
pip install web-distillerEnvironment
Recommended:
DISTILLER_API_BASE=https://webdistiller.dev
DISTILLER_API_KEY=your-api-keyIf DISTILLER_API_KEY is not available yet:
- Send the operator to
https://webdistiller.dev/signin - Have them open the dashboard at
https://webdistiller.dev/dashboard - Retrieve or regenerate the API key there
- Resume with
POST /markdown
Default command
web-distiller <url>Useful variants:
web-distiller <url> --endpoint markdown --format markdownweb-distiller <url> --endpoint markdown --format textweb-distiller <url> --endpoint distill --format markdownweb-distiller <url> --endpoint distill --format json
Batch workflow
Submit a markdown batch by default:
curl -X POST https://webdistiller.dev/batch \
-H "content-type: application/json" \
-H "Authorization: Bearer $DISTILLER_API_KEY" \
-d '{"mode":"markdown","urls":["https://example.com","https://example.org"]}'Poll the batch job:
curl https://webdistiller.dev/batch/<job_id> \
-H "Authorization: Bearer $DISTILLER_API_KEY"Batch rules:
- free users should use
mode="markdown" - paid users can use
mode="markdown"ormode="distill" mode="extract"is currently unavailable
Operator guidance
- Use
--format markdownas the best default for LLM workflows. - Use
--format textwhen the operator wants the smallest prompt payload. - Use
--format jsonwhen a tool needs metadata and billing fields too. - Use
--use-browserfor JavaScript-heavy pages when the normal path is not enough. - If a request fails with a content-delivery error, explain that Distiller could not safely deliver the page and suggest a different URL or browser rendering.