lexmount-webfetch
Use Lexmount WebFetch through webfetch-cli for lightweight public page extraction and DOM dump tasks. Prefer this skill when the task needs structured extraction or rendered HTML capture without creating a live remote browser session.
来源信息
- 仓库
- lexmount/webfetch-cli
- 最近来源活动
- 2026年7月15日 08:17
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 0
- 分支
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- lexmount-webfetch
- description
- Use Lexmount WebFetch through webfetch-cli for lightweight public page extraction and DOM dump tasks. Prefer this skill when the task needs structured extraction or rendered HTML capture without creating a live remote browser session.
# Lexmount WebFetch CLI
Use `webfetch-cli` for Lexmount WebFetch extraction and DOM dump tasks.
## Fast Path
Do not run setup checks before every extraction. For ordinary fetch tasks, call the target command directly:
```bash
webfetch-cli extract --url <url>
webfetch-cli dump-dom --url <url>
```
Run checks only when they change the next action:
- First use in a new environment: `webfetch-cli --version` and `webfetch-cli auth status`.
- Missing credentials: `webfetch-cli auth login --open --connect-base-url https://browser.lexmount.cn`, then `webfetch-cli doctor --json`.
- Unexpected command/API failure: `webfetch-cli doctor --json`.
- Unsure installed capability or output shape: `webfetch-cli capabilities --json`.
- Skill file missing or stale: `webfetch-cli skill status`, then `webfetch-cli skill install --force` only if needed.
Never paste API keys into chat.
## Extract
```bash
webfetch-cli extract --url https://example.com
```
Default output is Markdown optimized for agents. It includes page metadata,
extraction quality warnings, and the extracted main text.
Use this for normal structured extraction. The CLI sends:
```json
{"extract":{"url":"https://example.com"}}
```
When debugging, request the full raw API response explicitly:
```bash
webfetch-cli extract --url https://example.com --include-trace --format json-full
webfetch-cli extract --url https://example.com --include-raw-dom --format json-full
```
Use `--format json` for compact structured data and `--format text` for plain text.
## Dump DOM
```bash
webfetch-cli dump-dom --url https://example.com
```
Default output is Markdown with DOM metadata, dump quality warnings, and captured
HTML. Debug fields are hidden unless `--format json-full` is used.
Use this when extraction needs rendered HTML or a reusable DOM snapshot. The CLI sends:
```json
{"url":"https://example.com"}
```
Use optional engine and cleanup hints when needed:
```bash
webfetch-cli dump-dom --url https://example.com --engine lightmount_dcl
webfetch-cli dump-dom --url https://example.com --filter-scripts-styles
```
在 GitHub 查看