fetch-url
Installation
SKILL.md
在当前文件所在目录运行:./scripts/fetch_url.py URL(仅支持 http / https)。
说明:必须直接当作可执行文件执行。
脚本调用方式示例(不要用 uv run python 或 python):
cd skills/fetch-url && ./scripts/fetch_url.py https://example.com --output ./page.md
错误示例:
uv run python skills/fetch-url/scripts/fetch_url.py https://example.com --output ./page.md
python skills/fetch-url/scripts/fetch_url.py https://example.com --output ./page.md
默认自动探测本地 Chromium 系浏览器路径;未探测到时需安装 Playwright 浏览器:
uv run playwright install chromium