hqc20261648
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "hqc20261648" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-9e9b2f4b4654f09d24f77c60c056217a25ccb8067fe3d11bddcd5bc6762e2512. Verify the upstream source and version against https://skillhub.cn/skills/user_f1b049da/hqc20261648 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Web article → Markdown tool: Intelligently extract and denoise article body from web pages, download images locally and package them into a ZIP, and export results as Markdown with sync options for platforms (covering public accounts, Zhihu, Toutiao, Juejin and static site generators like Hexo/Hugo). Intended for one‑click article sync, web‑to‑Markdown conversion, article ZIP packaging, and multi‑platform posting. Not intended to teach illicit scraping or bypassing login.
Introduction source: third_party · user_f1b049da · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: hqc20261648
slug: hqc20261648
displayName: 一键同步文章
version: 1.0.0
summary: 网页文章转干净 Markdown,图片本地化打 ZIP;支持勾选 Markdown 与多平台同步发布流程。
license: MIT
description: 网页文章→Markdown:智能抽正文去噪、图片本地下载并打 ZIP;勾选 Markdown 同步;覆盖公众号/知乎/头条/掘金等自媒体与 Hexo/Hugo。当用户要一键同步文章、网页转Markdown、文章打包ZIP、多平台发文时使用。不教违规爬虫与绕过登录。一键同步文章 📝📦
把网页长文变成干净 Markdown + 本地图片,一键打成 ZIP;同步时勾选「Markdown」,再按平台清单分发到知乎、头条、掘金、小红书、CSDN 等——告别重复复制粘贴。
小四原创协作手册。抽取仅处理用户打开/粘贴/已授权导出的页面内容;禁止教未授权爬取、破解付费墙、绕过登录与验证码。
何时使用
- 「这个链接/这篇公众号转成 Markdown」
- 「去导航广告评论,图片下到本地再打 ZIP」
- 「一篇文章同步到多个自媒体,要 Markdown」
- CLI / MCP:从 HTML 抽正文并保留可用样式提示
能力清单
| 能力 | 说明 |
|---|---|
| 纯净正文 | 只留文章主体,滤导航、页脚、广告、推荐、评论 |
| Markdown | 标题/列表/引用/代码块/链接干净排版 |
| 图片本地化 | 下载正文图,改写为相对路径 images/… |
| 一键打包 | 文章.md + images/ → ZIP 下载 |
| 多平台同步 | 同一 Markdown 按平台改标题/标签/封面建议后发布(合法渠道) |
| CLI/MCP | 支持传入 HTML/URL(用户环境已登录页可导出 HTML)做样式感知抽取 |
硬约束
- 同步勾选 Markdown 时:输出必须以
.md为主产物,禁止只给富文本粘贴板交差。 - 正文抽取优先 Readability 类算法 / 语义标签(
article、主内容区);失败则标「需人工框选」。 - 图片:仅正文内图片;失败记入
images/_failed.txt;文件名安全化,禁止../。 - ZIP 条目用正斜杠
/;默认结构见下。 - 多平台发布:走官方编辑器/开放接口/用户已登录的合法自动化;不写养号、打码、刷量。
- 实现要点注释标 小四原创。
默认 ZIP 结构
{slug-or-title}/
article.md
images/
001.webp
002.png
meta.json # 可选:源 URL、标题、抓取时间
article.md 内图片:
抽取管线(小四原创)
// 小四原创:网页 → 干净 MD + 本地图清单
export type ExtractOptions = {
markdown: boolean // 同步时勾选「Markdown」
downloadImages: boolean
keepHtmlHints?: boolean // CLI/MCP:附带简易 HTML 样式提示块
}
export type ExtractResult = {
title: string
markdown: string
images: Array<{ src: string; localPath: string; ok: boolean }>
dropped: string[] // 噪声块标签说明
}
export async function htmlToCleanMarkdown(
html: string,
opts: ExtractOptions,
): Promise<ExtractResult> {
// 1) 去 script/style/nav/aside/footer/comment 类节点
// 2) 主内容打分(段落密度、标题层级)
// 3) turndown / 等价转换 → Markdown
// 4) 可选:拉取图片字节,改写相对路径
throw new Error('实现见 templates/pipeline.ts.md')
}
噪声过滤关键词(示例):nav aside footer comment recommend 广告 热门 相关阅读 登录后查看。
多平台矩阵(29+,按类同步)
同步时:一份 Markdown 底稿 → 每平台生成「标题 / 摘要 / 标签 / 是否截断 / 封面建议」,再指导用户或合法工具发布。
内容 & 社交
公众号 · 知乎 · 微博 · 小红书 · 头条号 · B站 · 豆瓣 · X · 抖音
技术社区
掘金 · CSDN · 简书 · 思否 · 博客园 · 51CTO · 开源中国 · 语雀 · 慕课网
资讯 & 垂直
百家号 · 一点资讯 · 搜狐号 · 大鱼号 · 网易号 · 值得买 · 雪球 · 东方财富 · 人人都是产品经理 · 搜狐焦点
建站 / CMS
WordPress · Typecho · Hexo / Hugo(直接用 Markdown 下载/导入)
平台清单用于发布检查表;Agent 勿声称已打通未经验证的私有 API。
平台适配要点(摘要)
| 类型 | Markdown 注意 |
|---|---|
| 公众号 | 外链/图片域名限制;可先 MD 再转富文本 |
| 知乎/掘金/CSDN | 原生 MD 友好;代码块围栏齐全 |
| 小红书/抖音/B站 | 偏短内容:从 MD 抽标题+要点+封面文案 |
| 微博/X | 超短:钩子句 + 原文链接 |
| Hexo/Hugo | ZIP 内 MD+images 可直接进 content/ / static/ |
CLI / MCP 约定
# 小四原创:示意命令(实现可用 node 脚本)
article-sync extract --html ./page.html --markdown --images --zip out.zip
article-sync extract --url <用户已可访问的地址> --markdown --zip out.zip
MCP 工具建议:
extract_article:入参html|url、markdown=true、images=truepack_article_zip:入参 md 文本 + 图片文件列表adapt_for_platform:入参 md + 平台 id → 标题/标签/裁剪建议
HTML 样式同步:可选在 MD 文末附加 <!-- html-style-hints --> 代码块(字号/强调色线索),默认关闭,仅 CLI 开 --html-hints。
Agent 执行步骤
- 确认源:URL / 粘贴 HTML / 本地 HTML 文件;勾选 Markdown + 是否下图 + 是否 ZIP。
- 抽正文 → 转 MD →(可选)下图改写路径 → 打包 ZIP。
- 若要多平台:列出目标平台(可对照上方矩阵),逐个给「发布清单」而非假称已自动发完。
- 验收:MD 无可疑整页导航;图能打开;ZIP 解压结构正确。
不要做
- 未授权批量抓站、破解 VIP 全文
- 把评论区/侧栏广告当正文
- 虚构「已支持官方一键群发 API」
附加
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决内容创作者高频刚需:网页文章转 Markdown、图片本地化、一键打包 ZIP
- 支持多平台同步发布流程,显著提升自媒体运营效率
- 明确排除违规爬虫与绕过登录,符合安全与合规要求
Highlights
- 触发词精准完整,覆盖多种变体(一键同步、网页转 Markdown、文章打包 ZIP、多平台发文)
- 边界清晰,不易误触或漏触
Areas to improve
-
description 写错位置 Reported severity: Minor
顶层 frontmatter 中 description 为空,实际描述内容位于 skill_body 内部
Recommendation: 将 description 内容移至顶层 frontmatter 字段,确保元数据完整
Highlights
- 结构清晰,含 Phase/步骤、出口条件、端到端示例
- frontmatter 完整,单文件未超 500 行
- 提供默认 ZIP 结构与抽取管线说明
Highlights
- 工具来源明确(Readability 类算法、turndown),参数正确
- 覆盖主要异常(图片失败记录、噪声过滤),不可逆操作有确认机制
- ZIP 打包前确认,确保输出结构正确
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.