wenqu-publish

wenqu-publish is a skill for Claude Code from gogoingai/wenqu-skills. It costs 107 tokens per session (1,194 once invoked), scanned A, original, MIT.

A skill for turning a Chinese draft into a version ready to publish. It cleans writing notes, prepares title and summary options, handles cover-image preparation, and creates a separate publishing folder.

In plain words
What is it for?
Use it when preparing an article, report, tutorial, project introduction, or other Chinese material for release.
Why use it?
It removes internal drafting marks and gathers the pieces needed for publication in one output. It can also work in a reduced mode when the draft was not created by the related writing workflow.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool; mentions Claude Code; built for openclaw.

Part of the wenqu-skills plugin — 6 skills shipped together

Good fit Use it when preparing an article, report, tutorial, project introduction, or other Chinese material for release.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gogoingai/wenqu-skills/wenqu-publish
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gogoingai/wenqu-skills --skill wenqu-publish
Clone the repo
git clone --depth 1 https://github.com/gogoingai/wenqu-skills

Made for: Claude Code.

Or install wenqu-skills, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wenqu-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/gogoingai/wenqu-skills/wenqu-publish/github.svg)](https://agentmods.dev/skills/gogoingai/wenqu-skills/wenqu-publish)
Your own site
<a href="https://agentmods.dev/skills/gogoingai/wenqu-skills/wenqu-publish"><img src="https://agentmods.dev/badge/skills/gogoingai/wenqu-skills/wenqu-publish/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wenqu-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/gogoingai/wenqu-skills/wenqu-publish"><img src="https://agentmods.dev/badge/skills/gogoingai/wenqu-skills/wenqu-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,194 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00107 $0.01194
Opus 5 $0.00053 $0.00597
Sonnet 5 $0.00021 $0.00239
Haiku 4.5 $0.00011 $0.00119

Measured 12d ago against content hash 665f460c1431, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

wenqu-publish scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

wenqu-publish/SKILL.md · 77 lines

What it actually says

文章发布 Skill

📦 项目仓库与源码:https://github.com/gogoingai/wenqu-skills

用户输入工具

当本技能需要用户确认选择、补充必要信息或授权有副作用的操作时:

  1. 优先使用当前运行时提供的原生用户输入工具,例如 AskUserQuestionrequest_user_inputclarifyask_user 或等价能力。
  2. 若没有此类工具,使用带编号或字母选项的文本问答。
  3. 同一决策阶段中彼此独立的问题可合并提问;后一个问题依赖前一回答时,按优先级逐个问。
  4. 已由用户当前指令、调用方或文章偏好提供的信息,不重复询问。
  5. 文中出现的具体工具名均为示例;应替换为当前运行时的等价能力。

工具等价说明(非 Claude Code 环境)

本文档里的 Skill 是 Claude Code 的工具名。在没有该工具的 agent 上运行本技能时:

  • Skill 工具(调用 wenqu-image 生成封面)→ 没有跨技能调用机制就直接 Read wenqu-imageSKILL.mdreferences/ 文件,照其内联执行

触发识别

用户信号 说明
"发布这篇文章"、"生成发布版"、"准备发布"、"导出发布版" 进入「发布流程」

调用前提:文章通常已经通过 wenqu-write 走过完整写作流程(有对应的 wenqu-skills/{文件名}/ 存储)。若没有该存储(用户直接拿一篇现成 Markdown 要求发布),走「降级模式」(见 references/workflow.md)。


发布流程

→ 查 references/workflow.md(完整步骤:定位存储 → 就绪检查 → 清洗正文 → 标题 → 简介 → 封面图 → 写入产物 → 记版本)

核心动作概览:

  1. 读取本篇 wenqu-skills/{文件名}/references/changelog.md 确定当前草稿版本号
  2. 检查全文是否还有未处理的配图占位、未生成的画图提示,用 AskUserQuestion 确认是否要先补齐
  3. 清洗正文:去掉项目生成标识引用块、去掉所有 # 画图提示 代码块(只保留图片本身)
  4. AskUserQuestion 确认标题(→ references/title-summary.md
  5. AskUserQuestion 确认约 100 字的简介(→ references/title-summary.md
  6. Skill 工具调用 wenqu-image 生成封面图(→ references/cover-prompt.md 的专属规范,不同于文中说明性配图)
  7. 产物写入 {项目根目录}/wenqu-skills/{文件名}/publish/v{N}/,不覆盖历史发布版本。发布版正文保留原标题层级不变(原 H1 仍为 H1、原 H2 仍为 H2,不降级、不删改任何原标题);选定的发布标题、简介、封面图只进 meta.md,不插入正文顶部、不替换原文 H1;发布版文件名沿用文章文件名({文件名}.md
  8. references/changelog.md 追加一行发布记录

依赖

  • wenqu-write 的存储结构(wenqu-skills/{文件名}/)——非必需但强烈推荐,缺失时降级为仅清洗当前文件
  • wenqu-image(可选但推荐):生成封面图;未安装时跳过封面,仅产出清洗后的正文、标题、简介,并告知用户手动配图

自动发布扩展点

当前版本只写本地文件,不做任何网络推送。references/auto-publish.md 是预留的扩展说明文档,记录了未来接入公众号、掘金、个人博客等平台自动发布时的接口约定与注意事项,目前是占位文档。

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 77 lines · 107 tokens per session scan A 665f460c1431

Subscribe to this mod's changes

wenqu-publish is a skill published in the GitHub repository gogoingai/wenqu-skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 107 tokens to every session and 1,194 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.