toutiao-pubilsh

Automation tool for publishing Toutiao micro-posts; automatically generates copy and images and schedules timed publishing, suitable for content creators and operators who need batch or scheduled micro-posts.

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 "toutiao-pubilsh" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c950f68fe1f9e11767964e5eb0dd184e44fdcf25c71689000a89c10022626eaf. Verify the upstream source and version against https://skillhub.cn/skills/user_907df6e5/toutiao-pubilsh 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

Automation tool for publishing Toutiao micro-posts; automatically generates copy and images and schedules timed publishing, suitable for content creators and operators who need batch or scheduled micro-posts.

0 Downloads

Introduction source: third_party · user_907df6e5 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see 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: toutiao-publish
description: 今日头条微头条自动化发布工具,自动生成文案、配图并定时发布
version: 1.0.0
category: 自动化工具
platforms: [Claude, Cursor, OpenCode]
author: skeayi

今日头条微头条自动发布 Skill

自动生成高互动微头条文案,配合图片,定时发布到今日头条账号。

触发条件

当用户说以下内容时,可以激活此 Skill:

  • "帮我发布一条微头条"
  • "自动发头条"
  • "头条自动发布"
  • "今天要发微头条"
  • "toutiao publish"

工作流程

第一步:前置检查

在运行脚本前,确保以下条件已满足:

  1. 环境变量已配置

    • DEEPSEEK_API_KEY:DeepSeek API Key(必须)
    • TOUTIAO_IMAGE_FOLDER:图片文件夹路径(可选,默认为 ./images)
    • TOUTIAO_COOKIE_FILE:Cookie 文件路径(可选,默认为 ./toutiao_cookie.json)
    • TOUTIAO_MAX_POSTS:每日最大发布数(可选,默认 6)
    • TOUTIAO_HEADLESS:是否无头模式(可选,默认 true)
  2. Cookie 已准备

    • 需要先手动登录一次,保存 Cookie 到指定文件
  3. 图片已准备

    • 在 IMAGE_FOLDER 中放入待发布的图片

第二步:执行发布脚本

运行以下命令(不含外层引号):

python scripts/toutiao_publish.py

第三步:核心功能说明

脚本会自动执行以下操作:

  1. 文案生成

    • 调用 DeepSeek API 生成三段式微头条文案
  2. 随机选图

    • 从 IMAGE_FOLDER 中随机选择一张图片
  3. 上传配图

    • 通过拖拽或 file input 方式上传图片
  4. 填写文案

    • 将生成的文案填入编辑器
  5. 点击发布

    • 自动点击发布按钮完成发布
  6. 定时循环

    • 随机间隔 30-56 分钟后再次发布(每日上限 6 条)

使用示例

环境变量配置示例(不含外层引号)

export DEEPSEEK_API_KEY="sk-xxx" export TOUTIAO_IMAGE_FOLDER="/home/user/images" export TOUTIAO_COOKIE_FILE="/home/user/cookies.json" export TOUTIAO_MAX_POSTS="6" export TOUTIAO_HEADLESS="true"

首次运行前准备

  1. 手动登录今日头条:https://mp.toutiao.com/profile_v4/index
  2. 保存 Cookie 到指定路径(可使用浏览器扩展或开发者工具)
  3. 将待发布的图片放到 IMAGE_FOLDER 目录

运行命令(不含外层引号)

python scripts/toutiao_publish.py

输出示例(不含外层引号)

============================================================ 今日头条微头条自动发布 Skill v1.0 图片文件夹: ./images Cookie 文件: ./toutiao_cookie.json 每日上限: 6 条

[2026-01-15 10:30:00] 开始自动化发布(今日已发 2 条) [2026-01-15 10:30:01] 文案生成成功: 我一个朋友,浙大数学系毕业... 已加载保存的登录态 步骤1: 访问头条创作平台... 步骤2: 点击「微头条」标签... 步骤3: 尝试拖拽上传图片... ✓ 图片已通过拖拽上传 步骤4: 填写文案... 文案已填写 步骤5: 点击「发布」按钮... [2026-01-15 10:30:30] 已点击发布按钮 [2026-01-15 10:30:35] ✅ 发布完成 下一次发布将在 42 分钟后执行

注意事项

  1. Cookie 有效期

    • 头条登录态会定期过期,需要定期更新 Cookie 文件
  2. 合规性

    • 请遵守今日头条平台的内容规范,不要发布违规内容
  3. 频率限制

    • 每日最多 6 条,间隔 30-56 分钟,模拟人工操作
  4. 网络环境

    • 建议在中国大陆网络环境下运行
  5. 建议使用专用账号

    • 避免影响主账号权重

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供完整的微头条自动化发布解决方案,涵盖文案生成、配图上传、定时发布全流程
  • 面向有今日头条运营需求的用户,具备明确的实用价值和广泛受众
Trigger Precision88/100

Highlights

  • 触发词覆盖完整,包含多种用户表达方式,边界清晰,无明显误触风险
Structure and Standards82/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档结构完整但缺少明确的 When to Use 使用场景说明章节

    Recommendation: 建议在文档开头或注意事项前增加 When to Use 章节,明确说明适用场景和使用时机

Highlights

  • Phase/步骤划分清晰,包含前置检查、执行流程和核心功能说明
  • 提供完整的使用示例和输出示例,frontmatter 信息完整
Execution Reliability75/100

Areas to improve

  • 缺少具体错误处理说明 Reported severity: Minor

    文档提到了主要异常情况但未提供具体的错误处理机制和重试策略

    Recommendation: 建议补充 API 调用失败、网络异常、元素定位失败等具体错误的处理方案和重试机制

Highlights

  • 工具来源明确,参数配置清晰,环境变量说明完整
  • 覆盖主要异常情况,包含 Cookie 过期、网络环境、合规性等重要提醒
  • 不可逆操作有频率限制和间隔控制,模拟人工操作降低风险
Evidence Verifiability (mean of the first four)81/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.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 31
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.toutiao.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.