Skip to content

ZJU-REAL/Easel / skills/builtin/skill-toutiao-publisher

skill-toutiao-publisher

Verified

今日头条(头条号)图文发布:把已成稿的文章发布到 mp.toutiao.com,支持标题、 封面、话题标签、存草稿与直接发布,走 Playwright 浏览器自动化 + 登录态持久化。 当用户说"发头条""发布到今日头条""头条号发文章""同步到头条""头条存草稿""头条图文发布"时使用。 与 skill-cross-platform-publish 的区别:那个是一稿多发的编排层,本 SKILL 只管头条单平台落地发布; 正文生产交给制作层 SKILL(copywriting / article-outline)。

FileKindSize
EASEL-META.mdmarkdown1.1 KB
SKILL.mdskill md7.0 KB
references/platform-specs.mdmarkdown2.4 KB
references/publish-flow.mdmarkdown8.1 KB
scripts/toutiao_publish.pyscript49.5 KB

EASEL-META.md

View on GitHub
# Easel SKILL 元数据

| 字段 | 值 |
|------|-----|
| **SKILL 名称** | skill-toutiao-publisher |
| **所属层** | publish |
| **来源类型** | 自研(工具封装) |
| **原始来源** | Easel 自研。今日头条(头条号)图文发布,走 `scripts/toutiao_publish.py`(Playwright 浏览器自动化 + ToutiaoProfile 登录态持久化)。 |
| **参考项目** | Playwright(https://playwright.dev/)— 浏览器自动化与登录态持久化;发布脚本结构对齐 `skills/shared/scripts/zhihu_answer.py`(同为"已登录 profile + dry-run 默认 + 出站闸门"的发布方法论) |
| **许可** | 随 Easel 项目许可 |

## 说明

头条号没有面向个人创作者的公开图文发布 API,因此沿用与知乎/小红书/公众号后台一致的方案:持久化浏览器 profile + 复用登录态,在 mp.toutiao.com 编辑器里填内容后发布。

头条号后台改版频繁,脚本对所有关键元素采用**多选择器回退**(标题/正文/发布按钮各 3-5 个候选),改版时的修复路径见 `references/publish-flow.md`。

> 整理时间: 2026-09-15
> 用途: 来源溯源与致谢
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall