ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified social Safety 3/5

toutiao-publish

用 Cookie 或已保存会话在头条号后台发布文章,支持标题/正文/图片与固定目录 docx 导入。当用户要自动发头条文章、传入 cookie_header 或要求按 docx 流程发布时调用。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/charlesliu-sap/toutiao-publish-docx
Or

What This Skill Does

The toutiao-publish skill is an advanced automation agent designed for the Toutiao content ecosystem. It enables seamless, automated publishing of articles directly to the Toutiao creator dashboard. Whether you need to post raw text, structured images, or complex .docx documents, this skill leverages browser automation to handle the authentication, file upload, content insertion, and publishing lifecycle. By utilizing either session cookies or persistent local session files, it bypasses repetitive manual login steps, ensuring stable and reliable performance. It features intelligent detection of source files from predefined directories, streamlining workflows for content creators who use external tools to prepare their articles.

Installation

To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/charlesliu-sap/toutiao-publish-docx Ensure your system meets the requirements: an Ubuntu environment (specifically configured at /home/ubuntu/projects/toutiao_poster) with access to Chromium-based browsers for the headless execution environment.

Use Cases

  • Bulk Article Scheduling: Creators managing large batches of content who prefer writing in .docx and pushing to the web.
  • Automated Media Syndication: Automatically processing images generated by AI agents and including them in Toutiao articles.
  • Unattended Publishing: Utilizing cookie-based authentication to post updates without human oversight, perfect for scheduled marketing or blog maintenance.
  • Corporate Content Management: Centralizing content from a shared server directory into the Toutiao platform.

Example Prompts

  • "I've dropped a new article draft in the toutiaodoc folder. Please publish it to my Toutiao account with a 90-second waiting period."
  • "Send this content 'How AI is Changing Software' to my Toutiao account, use these three images from my server path, and set it to publish immediately."
  • "Update my Toutiao account using this cookie: 'your_cookie_string_here'. Post the latest .docx file from my artifacts folder and ensure it is published."

Tips & Limitations

  • Cookie Security: Never share your cookie_header in public chats or unencrypted environments, as it provides full access to your creator dashboard.
  • Headless Limitations: While headless mode is efficient, some complex interactive elements on the Toutiao site may occasionally trigger security captchas. If publishing fails, inspect the screenshot logs or run in non-headless mode to troubleshoot.
  • File Cleanup: Ensure the source directories (toutiaodoc and toutiaopic) are managed regularly, as the script moves processed files to a /done/ subfolder, which can grow over time.
  • Wait Times: If your .docx files are heavy with images, consider increasing docx_wait_seconds to 120 or higher to prevent premature clicking during document parsing.

Metadata

Stars3875
Views1
Updated2026-04-07
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-charlesliu-sap-toutiao-publish-docx": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#automation#toutiao#content-marketing#headless-browser#publishing
Safety Score: 3/5

Flags: network-access, file-write, file-read, code-execution