skill-toutiao-publisher

skill-toutiao-publisher is a skill for Claude Code, Codex from ZJU-REAL/Easel. It costs 153 tokens per session (2,002 once invoked), scanned A, original, Apache-2.0.

A browser automation skill for publishing finished articles to Toutiao, a Chinese online news and content platform. It fills in the title, article, cover, and topics, then either saves a draft or publishes it through the Toutiao creator site.

In plain words
What is it for?
Use it to publish or save drafts of Chinese articles on Toutiao, including their title, images, cover, and topic tags.
Why use it?
It removes the repetitive manual work of logging in and copying a prepared article into one publishing platform.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python skills/shared/scripts/manifest.py record --topic <主题> --layer publish \.

Good fit Use it to publish or save drafts of Chinese articles on Toutiao, including their title, images, cover, and topic tags.

Compare 6 skills from other repositories ↓
About the project

Easel is an open-source content workspace and AI agent for managing social media from trend discovery through planning, content creation, publishing, and performance analysis. It is intended for social media creators and maintains separate account profiles, content projects, platform adaptations, and publishing records. The catalogue skills support these content and publishing workflows.

ZJU-REAL/Easel · 4,450 stars · on GitHub · zju-real.github.io

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ZJU-REAL/Easel
agentmods
npx agentmods add skills/zju-real/easel/skill-toutiao-publisher

Made for: Claude Code, Codex.

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 skill-toutiao-publisher

README.md
[![agentmods](https://agentmods.dev/badge/skills/zju-real/easel/skill-toutiao-publisher/github.svg)](https://agentmods.dev/skills/zju-real/easel/skill-toutiao-publisher)
Your own site
<a href="https://agentmods.dev/skills/zju-real/easel/skill-toutiao-publisher"><img src="https://agentmods.dev/badge/skills/zju-real/easel/skill-toutiao-publisher/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 skill-toutiao-publisher

Your own site · 80×15
<a href="https://agentmods.dev/skills/zju-real/easel/skill-toutiao-publisher"><img src="https://agentmods.dev/badge/skills/zju-real/easel/skill-toutiao-publisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,002 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.00153 $0.02002
Opus 5.5 $0.00061 $0.00801
Sonnet 5.5 $0.00031 $0.00400
Haiku 4.5 $0.00015 $0.00200

Measured 4d ago against content hash 9429467f7cfe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skill-toutiao-publisher 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/toutiao_publish.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/builtin/skill-toutiao-publisher/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

skill-toutiao-publisher(发布层 · 今日头条图文)

把图文内容发布到今日头条(头条号后台 mp.toutiao.com)。 核心脚本:scripts/toutiao_publish.py(CWD=项目根)。平台约束与改版应对见 references/platform-specs.md 与 references/publish-flow.md。


与其他 SKILL 的关系

SKILL 定位
skill-toutiao-publisher(本 SKILL) 头条单平台图文落地发布:登录、填编辑器、封面、话题、存草稿/发布
skill-cross-platform-publish 一稿多发的编排层,按平台约束改写后委派各平台 publisher(含本 SKILL)
skill-content-repurposing 把一个内容改写成多平台原生形态(头条偏资讯/科普长文)
copywriting / article-outline 制作层,生产头条正文;本 SKILL 只负责发出去

输入

  • 必填:正文文件(Markdown 或纯文本)+ 标题(≤30 字)
  • 选填:正文插图(--images,逗号分隔)、封面图、话题标签(≤5 个)、--draft(存草稿)

输出

  • 发布结果 JSON(platform/title/tags/steps/published/url),并留痕到 outputs/_publish/toutiao_<时间戳>.json
  • 真发布成功后建议再跑 skill-publish-log 记录、skill-publish-notify 通知

执行步骤

一、前置:登录头条号(首次或登录态失效时)

python skills/builtin/skill-toutiao-publisher/scripts/toutiao_publish.py --login

浏览器弹窗扫码,登录态持久化在 ~/.easel-browser-profiles/ToutiaoProfile(与小红书/知乎/公众号 publisher 同款方案,后续免登录)。

二、准备内容

正文与标题由制作层产出,落到 outputs/<主题>/(用人类可读主题名,禁 test/xhs 之类泛名)。头条读者偏资讯与科普,正文按"结论先行 + 小标题分段 + 数据说话"组织,细节见 references/platform-specs.md。

插图:头条号正文是 ProseMirror 富文本,本地图片路径塞进 <img src> 会被清掉,必须让脚本走「工具栏图片按钮 → 本地上传」让平台自己传 CDN。因此图片要通过 --images 交给脚本,并在正文里用独占一行的 ![](路径) 决定插图位置;正文里没写占位符的图会追加到末尾(头条自动取正文首图作封面)。

第一段文字…

![](outputs/我的主题/图1.png)

第二段文字…

三、先跑 dry-run(默认,不发布)

python skills/builtin/skill-toutiao-publisher/scripts/toutiao_publish.py \
  --input outputs/主题名/article.md --title "文章标题" --tags "AI,效率工具"

默认 dry-run 只预览计划,不打开浏览器、不向平台写入。头条编辑器本身会自动保存草稿,因此只有明确选择 --draft 或 --exec 才进入编辑器并经过出站检查;没有收到可核实的保存响应时,不把“草稿保存中”当成已存入草稿箱。

四、让用户确认标题与封面

把标题、字数、话题、封面、存草稿 or 直接发布 展示给用户,取得明确确认后才加 --exec。

五、真发布

# 存草稿(推荐先存草稿,登录后台复核后再发)
# 头条号草稿自动保存:--draft = 填完就停,等平台自动存进草稿箱,不点「预览并发布」
python skills/builtin/skill-toutiao-publisher/scripts/toutiao_publish.py \
  --input outputs/主题名/article.md --title "文章标题" \
  --tags "AI,效率工具" --cover outputs/主题名/cover.png --exec --draft

# 带插图直接发布
python skills/builtin/skill-toutiao-publisher/scripts/toutiao_publish.py \
  --input outputs/主题名/article.md --title "文章标题" \
  --images outputs/主题名/图1.png,outputs/主题名/图2.png --exec

# 直接发布
python skills/builtin/skill-toutiao-publisher/scripts/toutiao_publish.py \
  --input outputs/主题名/article.md --title "文章标题" --exec

Read the full file on GitHub · 139 lines

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. 4d ago First seen · 139 lines · 153 tokens per session scan A 9429467f7cfe

Subscribe to this mod's changes

skill-toutiao-publisher is a skill published in the GitHub repository ZJU-REAL/Easel (4,450 stars, last pushed 5d ago), licensed Apache-2.0. It adds 153 tokens to every session and 2,002 once invoked, about $0.0006 per session on Opus 5.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-11-03.

Related

skill-toutiao-publisher compared with skills from other repositories

skill-toutiao-publisher next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skill-toutiao-publisherZJU-REAL/EaselSkill4.5k5d agoApache-2.0A153Claude Code, Codex
paperpodoyi77/1ai-skillsSkill17yesterdayMITA57Claude Code
node-inspect-debuggerHezaoHezao/poirotSkill2603mo agoMITA18Claude Code
redditjssblck/agentsSkill08d agoGPL-3.0A18Claude Code, Codex
playwright-cliIvanCampos/agentsSkill58mo agoMITA74Codex
dingtalk_channel_connectagentscope-ai/QwenPawSkill37k2d agoApache-2.0A69Claude Code, Codex
browseragentscope-ai/QwenPawSkill37k2d agoApache-2.0A35Claude Code, Codex