返回顶部
w

web-distiller

Fetch agent-ready cleaned Markdown from the Distiller API instead of relying on raw webpage fetches.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
100
下载量
0
收藏
概述
安装方式
版本历史

web-distiller

# 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_KEY` is 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 /distill` when the operator already has paid Starter access. - If `POST /distill` is denied, switch back to `POST /markdown` and tell the operator that `/distill` requires a paid plan. - Do not build new workflows around `POST /extract` until it is re-enabled. ## Install ```bash pip install web-distiller ``` ## Environment Recommended: ```env DISTILLER_API_BASE=https://webdistiller.dev DISTILLER_API_KEY=your-api-key ``` If `DISTILLER_API_KEY` is not available yet: 1. Send the operator to `https://webdistiller.dev/signin` 2. Have them open the dashboard at `https://webdistiller.dev/dashboard` 3. Retrieve or regenerate the API key there 4. Resume with `POST /markdown` ## Default command ```bash web-distiller <url> ``` Useful variants: - `web-distiller <url> --endpoint markdown --format markdown` - `web-distiller <url> --endpoint markdown --format text` - `web-distiller <url> --endpoint distill --format markdown` - `web-distiller <url> --endpoint distill --format json` ## Batch workflow Submit a markdown batch by default: ```bash 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: ```bash 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"` or `mode="distill"` - `mode="extract"` is currently unavailable ## Operator guidance - Use `--format markdown` as the best default for LLM workflows. - Use `--format text` when the operator wants the smallest prompt payload. - Use `--format json` when a tool needs metadata and billing fields too. - Use `--use-browser` for 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.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 web-distiller-1776072744 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 web-distiller-1776072744 技能

通过命令行安装

skillhub install web-distiller-1776072744

下载 Zip 包

⬇ 下载 web-distiller v0.1.0

文件大小: 3.98 KB | 发布时间: 2026-4-14 10:50

v0.1.0 最新 2026-4-14 10:50
Initial release of web-distiller v0.1.0

- Fetches cleaned, agent-ready Markdown using the Distiller API instead of raw webpage fetches.
- Guides users through setup if API key is missing, including dashboard and sign-in instructions.
- Defaults to using `POST /markdown`; uses `POST /distill` for paid users and provides fallback guidance.
- Provides install, environment, command-line usage, and batch workflow documentation.
- Offers operator guidance for choosing output formats and handling common errors.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部