用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/paulirish/dotfiles --skill distill-page命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | distill-page |
| description | Extract distilled page content as Markdown using Chromium's on-device ML page content annotation. |
This skill extracts high-quality, noise-free Markdown content from a webpage using Chromium's experimental, on-device Machine Learning model annotations (Page.getAnnotatedPageContent).
Unlike generic HTML-to-Markdown parsers (e.g. Turndown) which rely on markup syntax heuristics, this approach uses Chromium's visual ML layout analysis. It automatically identifies semantic roles (such as ARTICLE and MAIN) and excludes sidebars, navigation elements, footers, and popups.
node agents/skills/distill-page/scripts/distill-page.ts [--markdown] <URL>
--markdown: Output as distilled Markdown (recommended). Without this, it outputs the raw decoded protobuf JSON.--base64-stdin: Instead of fetching via Playwright, decode a base64-encoded protobuf payload passed via stdin.# Get markdown representation of page
node agents/skills/distill-page/scripts/distill-page.ts --markdown https://example.com
# Get raw JSON structure of annotated layout tree
node agents/skills/distill-page/scripts/distill-page.ts https://example.com
headless: false) and requires Chromium feature flags:
--enable-dom-distiller--enable-features=OptimizationHints,PageContentAnnotation,OptimizationGuideModelDownloading