heikeji-aiwash-publish

Performs a one-stop workflow for public account articles: fetching → tech-style rewriting → de-AI/de-hallucination self-check → originality check → publish to drafts. Combines heikeji-rewrite (tech style), wikitoarticle (de-AI/de-hallucination), and heikeji-auto-publish (checks and publishing). Triggered when a user supplies a public account link and requests phrases like “de-AI publish,” “de-AI rewrite and publish,” or “tech-style de-hallucination publish.”

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 "heikeji-aiwash-publish" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-fdf1e995071e18709526e5f2698889041ea0962be107ff4b077b886b5045399d. Verify the upstream source and version against https://skillhub.cn/skills/user_49271746/heikeji-aiwash-publish 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

Performs a one-stop workflow for public account articles: fetching → tech-style rewriting → de-AI/de-hallucination self-check → originality check → publish to drafts. Combines heikeji-rewrite (tech style), wikitoarticle (de-AI/de-hallucination), and heikeji-auto-publish (checks and publishing). Triggered when a user supplies a public account link and requests phrases like “de-AI publish,” “de-AI rewrite and publish,” or “tech-style de-hallucination publish.”

0 Downloads

Introduction source: third_party · user_49271746 · 1.3.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Translation pending; see source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: heikeji-aiwash-publish
displayName: 自媒体爆文自动撰写发布
slug: heikeji-aiwash-publish
version: 1.3.1
description: 公众号文章「抓取 → 科技风格重写 → 去AI味/去幻觉自检 → 原创度校验 → 发布草稿箱」一站式组合 skill。合并 heikeji-rewrite(科技风格)+ wikitoarticle(去AI味去幻觉)+ heikeji-auto-publish(校验与发布)。当用户给出公众号链接并要求"去AI味黑科技发布""去AI味重写并发布""科技风格去幻觉发公众号"时触发。
trigger: [去AI味黑科技发布, 去AI味重写并发布, 科技去幻觉发布, 去AI味发公众号, 重写去AI味, heikeji-aiwash, 黑科技去AI味发布]
agent_created: true

去AI味黑科技发布(组合 Skill)

把一篇公众号文章,自动走完五步并产出可发布的草稿箱文章:

抓取(URL) → 科技风格重写 → 去AI味/去幻觉自检 → 原创度校验 → 发布草稿箱

收到用户给的 mp.weixin.qq.com 链接后,直接执行,不要先问"要不要重写"。


Step 0:确认输入

  • 必填:一个 https://mp.weixin.qq.com/s/xxx 文章链接。
  • 选填:目标字数
    • 用户没说 → 默认重写后与原文中文字数 ±5% 持平。
    • 用户明确说了(如"1000字左右""不少于1000字""字数加点")→ 以用户要求为准,长度校验会 FAIL 属预期,只盯 2-gram / 3-gram。校验时 --len-tol 9999 跳过长度,只看 2-gram / 3-gram。

Step 1:抓取(fetch)

路径 A:本工作区已有 gzh-monitor(推荐,最稳)

把链接写进投喂入口,跑抓取脚本:

# 1) 写入链接
echo "https://mp.weixin.qq.com/s/xxx" > gzh-monitor/inbox/links.txt
# 2) 抓取(需联网,关沙箱)
cd gzh-monitor && unset NODE_OPTIONS
"<managed-python>" process_inbox.py

抓取后读:

  • 正文:gzh-monitor/articles/<key>/original.txt
  • 配图:gzh-monitor/articles/<key>/img_1.jpg …
  • 图文布局:gzh-monitor/articles/<key>/img_layout.txt —— 抓取脚本按原文图文交错顺序生成,每行是正文片段或 [IMG N] 标记,记录第 N 张图在原文里"插在哪段之后"。
  • <key> 与图片清单在 gzh-monitor/out/manifest.json 的 new[] 里。

路径 B:通用独立抓取(无 gzh-monitor 时)

用本 skill 自带便携脚本(纯标准库,兼容经典 js_content 与 cgiDataNew 短讯模板):

mkdir -p <outdir>
"<managed-python>" "<skill>/scripts/fetch_article.py" "<url>" "<outdir>"

产出 <outdir>/original.txt + <outdir>/img_1.jpg … + <outdir>/img_layout.txt,并打印标题、图片数、布局项数。

配图对齐硬约束(防图不对题,必须全过)

抓取后先读 img_layout.txt,这是配图位置的唯一真相来源。

  • 张数对齐:重写文里的配图张数 必须等于 原文张数(img_layout.txt 里 [IMG N] 的数量)。原文有 N 张,你就插 N 张;不多插、不漏插、不自己加图。
  • 位置对齐:[IMG N] 在布局里出现在"某段之后",重写时 ./img_N.jpg 就插在对应话题段落之后,保持同样的先后顺序。不要挪动、不要前后颠倒。
  • 首图即封面:cover: ./img_1.jpg(原文首图)。只有当原文完全没有图(无 img_*.jpg)时才走"无图生成封面"分支。
  • 防图不对题:每张图下方写一句与该段强相关的说明(caption),讲清图里是什么(如"iOS 27 锁屏通知新样式")。图配错了段、或图与旁边文字无关,一律重排。
  • 无图分支:原文无任何 img_*.jpg 才触发——
    1. 用本 skill 自带的 scripts/generate_cover_prompt.py 生成 prompt:
      "<managed-python>" "<skill>/scripts/generate_cover_prompt.py" "<标题>" "<关键词>" --save cover_prompt.txt
    2. 把生成的英文 prompt 交给 ImageGen 工具,生成 cover.jpg(比例 16:9),保存到文章目录。
    3. rewrite.md frontmatter 里 cover: ./cover.jpg,正文不强行插图(无原图可对齐)。

outdir 建议用 gzh-monitor/articles/<key>/ 或当前工作区下的文章目录,方便发布脚本按目录上传配图。


Step 2:科技风格重写 + 去AI味/去幻觉(核心)

读 original.txt,按下面两套规则同时重写,产出 rewrite.md。

2.1 科技风格(短句、情绪化、数据硬核、有观点)

  • 标题公式:{情绪标签} {主角} {核心冲突}! 例:💥 iOS 26.6 RC 和 iOS 27 Beta 4 同时来了,国行 AI 还在缺席
  • 结构:
    开头钩子(1句,情绪化)
    ↓
    ## 叙事性小标题(有悬念/信息量的短句,非功能名词)
      核心事件陈述(2-3句,短句)
      > 关键背景/数据用引用框突出
      **加粗** 关键词(每段≤2处)
    ↓
    ## 叙事性小标题
      数据解读(把数字翻译成人话)
    ↓
    情绪段落(1-2句,强化观点)
    ↓
    结尾金句 / 留一个问号(不升华)
  • 语言规则:每句 15 字内、句号断句;不用"首先/其次/最后""综上所述";数字后加直观类比;每段 ≤3 句;图片在话题切换处自然插入 ![](img_x.jpg)。

2.2 去AI味硬约束(来自 wikitoarticle,必须全过)

  • 完全删除破折号 — –(用句号/逗号/冒号/括号替代)。
  • 禁止 "本质上""值得注意的是""事实上""一方面…另一方面"这类词,直接写事实。
  • 不排比三连,不强行分三组(用自然数量的条目)。
  • 结尾不升华、不总结、不呼吁,留画面或问号。
  • 弯引号 "…" 改直引号 "…";删除聊天机器人伪迹("希望这对你有帮助"之类)。
  • 标题里的情绪标签 💥 是科技风格的一部分,保留(与"删表情"的通用规则冲突时,以科技风格为准)。

2.3 去幻觉硬约束(来自 wikitoarticle,比 AI 味更危险)

  • 所有事实、数字、人物/机构、时间,必须来自原文。不编造、不脑补。
  • 不得出现原文没有的具体数字或引用(如"据 XX 研究""提升 300%")。
  • 用户要求扩写时,超出原文的部分只能是基于原文事实的合理解读 / 个人观点,且观点需明确(如"我认为""我的建议是")。
  • 自检三类易幻觉内容:
    • 数字错误(对比原文数据)
    • 实体发明(出现原文没有的人/地/机构)
    • 最高级断言("最""第一""唯一"等无法验证的表述)→ 删或加限定

2.4 输出格式(带 frontmatter + 引流 footer)

---
need_open_comment: true
only_fans_can_comment: false
title: 💥 {科技标题}
author: 黑科技
cover: ./img_1.jpg
---

{重写正文,含 ## 小标题、> 引用框、**加粗**、![配图](./img_x.jpg),配图张数与位置严格对齐 img_layout.txt}

---

> 应兄弟们要求,建了个粉丝福利群,以后有一手微信版本测试名额、其他福利等,好东西丢群里。加群:nqq138(备注:黑科技)
  • 有原文配图:cover 指向第一张原文配图 ./img_1.jpg(不要主动用 ImageGen 替换原文图)。
  • 无原文配图:用 scripts/generate_cover_prompt.py 生成 prompt,再调用 ImageGen 生成 cover.jpg,cover: ./cover.jpg。
  • 配图张数/位置对齐:按 img_layout.txt 顺序,在对应话题段落之后放 ./img_N.jpg,张数一致、顺序一致。
  • 看图写图注(硬性):不要只看 img_layout.txt 的文字描述,必须逐张打开 img_1.jpg ~ img_N.jpg,确认图片真实内容后再写图注。图注必须准确描述图中是什么,禁止为配合段落主题而歪曲图片(例如图明明是通知中心却写成音量滑块)。如果图片内容和所在段落主题不完全一致,图注要老老实实写图片真实内容,正文再自然带过。
  • footer 固定保留,不可漏、不可改词。正文与 footer 之间用 --- 分隔。

Step 3:原创度校验

运行校验脚本(与 rewrite.md、original.txt 同目录或给绝对路径):

"<managed-python>" "<heikeji-auto-publish>/scripts/check_originality.py" \
  rewrite.md original.txt --2gram 30 --3gram 30 --len-tol <长度容差>
  • <长度容差>:默认 5(±5%);用户要求扩写("字数加点""扩写到1000字"等)时填 9999,跳过长度校验、只看重复率。
  • 硬指标:2-gram < 30% 且 3-gram < 30%,否则 FAIL。
  • FAIL 处理:看输出里的「重叠 2-gram 清单」,定向替换软重叠词—— 苹果→这公司/厂商、系统→这版、功能→特性、推送→发出、迭代→更新、 正式→定稿、版本→这代 等,重跑直到通过。
  • 强制技术词(iPhone / iOS / Beta / RC / 780元 等)必然重叠,属正常,不用管。

Step 4:发布到公众号草稿箱

cd <文章目录> && unset NODE_OPTIONS
"<managed-python>" "<heikeji-auto-publish>/scripts/publish_to_wechat.py" \
  rewrite.md <WECHAT_APP_SECRET>
  • WECHAT_APP_SECRET:从环境变量读,或用户给。脚本自动 SSH 上传 md + 配图到服务器并调 wenyan 发草稿箱。
  • frontmatter 必须含 need_open_comment: true + only_fans_can_comment: false(脚本会补,但若文件以 --- 开头已正确包裹则无需补)。
  • 发布成功后告知用户 Media ID,提醒去公众号后台草稿箱审核发布。

预发布自查清单(发布前逐条核对)

  • [ ] 封面已设(有原文图时 cover 指向 ./img_1.jpg;无图时指向 ./cover.jpg)
  • [ ] 配图张数 = 原文张数(数 img_layout.txt 里 [IMG N] 的数量,与重写文插图数一致,不多不少)
  • [ ] 每张图位置对应原文同一话题段落(顺序一致,未挪动/颠倒),且下方有与段落强相关的说明(无图不对题)
  • [ ] 原文无图时正文不强行插图;原文有图时不跳过任何一张
  • [ ] 无破折号、无"本质上/值得注意的是"
  • [ ] 结尾没升华、没总结、没呼吁
  • [ ] 所有数据/实体都能在 original.txt 找到依据(无编造)
  • [ ] 2-gram < 30% 且 3-gram < 30%(长度 FAIL 仅当用户要求扩写时忽略)
  • [ ] footer 引流块保留,群号 nqq138

注意事项

  • 不要开头写"根据您提供的素材…",不要结尾写"希望这篇文章…"。
  • 直接给重写结果,像科技类爆文一样。
  • 发布失败先查服务器连接 / wenyan-cli;本机动态 IP 不可直连,固定走 120.48.80.117。
  • 路径占位符:<managed-python> = C:\Users\Administrator\.workbuddy\binaries\python\versions\3.13.12\python.exe;<heikeji-auto-publish> = C:\Users\Administrator\.workbuddy\skills\heikeji-auto-publish;<skill> = 本 skill 目录。

脚本依赖

  • scripts/fetch_article.py —— 本 skill 自带,纯标准库便携抓取。
  • scripts/generate_cover_prompt.py —— 无配图时生成 ImageGen 封面 prompt。
  • heikeji-auto-publish/scripts/check_originality.py —— 原创度校验(已支持 --len-tol)。
  • heikeji-auto-publish/scripts/publish_to_wechat.py —— SSH 发布到草稿箱。

Current listing version

1.3.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 一站式解决公众号文章抓取、重写、去AI味、原创校验、发布全流程
  • 显著提升自媒体创作者内容生产效率,属高频刚需场景
Trigger Precision88/100

Areas to improve

  • description写错位置 Reported severity: Minor

    顶层 frontmatter 中 description 与 skill_body 内重复

    Recommendation: 建议将 description 统一放在顶层 frontmatter,skill_body 内可省略或改为简要说明

Highlights

  • 触发词覆盖多种用户表达变体,边界清晰,能有效匹配目标场景
Structure and Standards90/100

Highlights

  • Phase 划分清晰(Step 0-4),含详细执行步骤、出口条件、端到端示例
  • frontmatter 完整,文档结构规范易读
Execution Reliability85/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 提及 scripts/fetch_article.py、scripts/generate_cover_prompt.py 等脚本,但未在传入内容中提供这些文件

    Recommendation: 请确保所有被引用的脚本文件(scripts/ 目录下)随 Skill 包一起提交,否则执行时将失败

Highlights

  • 工具来源明确,参数说明详尽,覆盖主要异常处理
  • 不可逆操作有确认机制,执行流程可靠
Evidence Verifiability (mean of the first four)89/100

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.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • mp.weixin.qq.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.