# Toutiao publisher

> Toutiao publisher is an open-source agent skill for productivity. Fills Toutiao article drafts with Markdown text, inline images and covers for review. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/guanyang/super-publisher/tree/main/skills/toutiao-publisher
- **Repository:** https://github.com/guanyang/super-publisher
- **GitHub stars:** 38
- **License:** MIT
- **Skill name:** toutiao-publisher
- **Collection:** https://github.com/guanyang/super-publisher
- **Categories:** [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-12-03

## About

This skill lets an agent prepare articles for Toutiao (头条号), the Chinese publishing platform. It converts a Markdown file into a draft in the Toutiao editor, uploads local inline images in their original positions, and sets a cover image when the body has none. It also checks whether the shared Toutiao login is still valid and walks the user through a QR-code sign-in when it is not.

By default the agent stops once the draft is filled and leaves the browser open so a person can review and press Publish. Automatic publishing is available but only runs when the user explicitly asks for it, and success is recorded only when Toutiao shows a recognized confirmation. Input is validated before any browser is opened, and results are returned as JSON with defined exit codes.

The skill runs Python scripts that install their own virtual environment and drive a Chrome browser through Playwright. It needs Python 3.9 or newer, Google Chrome and network access, and it stores login state in a shared folder under the user's home directory.

## When your agent uses it

> Publish or prepare articles for Toutiao/头条号, check or restore shared login state, fill Markdown drafts with inline images and covers, and optionally complete final publishing. Use for requests such as 发布到头条、检查头条登录、填充头条草稿、上传图文、人工审核 or explicitly authorized automatic publishing.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/guanyang/super-publisher/tree/HEAD/skills/toutiao-publisher)
- [Network calls found in its scripts](https://github.com/guanyang/super-publisher/tree/HEAD/skills/toutiao-publisher)
- [License: MIT](https://github.com/guanyang/super-publisher/tree/HEAD/skills/toutiao-publisher)

## Features

- **Markdown draft filling:** Converts headings, lists, quotes, tables, code and links from a Markdown file into the Toutiao editor.
- **Inline image upload:** Uploads local images referenced in the Markdown and places them where they appear in the article.
- **Cover image handling:** Sets a supplied cover image when the article body contains no images.
- **Shared login management:** Checks, verifies and refreshes a shared Toutiao session, with QR-code sign-in when needed.
- **Manual review by default:** Leaves the filled draft open in Chrome so the user reviews it before publishing.
- **Confirmed automatic publishing:** Publishes without review only on explicit request and reports success only after a recognized confirmation.

## Good for

- Turn a Markdown article into a Toutiao draft with images
- Check whether the Toutiao login is still active
- Upload a cover image and fill a draft for manual review
- Validate article title, body and cover before publishing
- Publish an approved article to Toutiao automatically

## Install

### Claude Code

This skill ships in the `super-publisher` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add guanyang/super-publisher
/plugin install super-publisher@super-publisher
```

Or copy only this skill to `~/.claude/skills/toutiao-publisher`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/guanyang/super-publisher.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/toutiao-publisher &&
cp -R "$tmp/skills/toutiao-publisher" ~/.claude/skills/toutiao-publisher &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/toutiao-publisher` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/toutiao-publisher` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/guanyang/super-publisher.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/toutiao-publisher &&
cp -R "$tmp/skills/toutiao-publisher" ~/.agents/skills/toutiao-publisher &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/toutiao-publisher` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/toutiao-publisher` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/guanyang/super-publisher.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/toutiao-publisher &&
cp -R "$tmp/skills/toutiao-publisher" ~/.cursor/skills/toutiao-publisher &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/toutiao-publisher` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/guanyang/super-publisher.git --path skills/toutiao-publisher
```

Or copy the folder to `~/.gemini/skills/toutiao-publisher` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/toutiao-publisher`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/guanyang/super-publisher.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/toutiao-publisher &&
cp -R "$tmp/skills/toutiao-publisher" ~/.copilot/skills/toutiao-publisher &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/toutiao-publisher` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/guanyang/super-publisher.git
```

Then copy `super-publisher/skills/toutiao-publisher` into your agent's skills folder as `toutiao-publisher`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

Python 3.9 or newer, Google Chrome and local network access. The scripts set up a Skill-local virtual environment on first use.

### Does Toutiao publisher publish articles automatically by default?

No. It defaults to manual mode, filling the draft and leaving Chrome open for the user to click Publish. Automatic publishing requires explicit user authorization.

### Where is the login state stored?

In ~/.super-publisher/toutiao-publisher/ by default, shared with other agents run by the same system user. The SUPER_PUBLISHER_DATA_DIR variable can override the location.

### How are images in the article handled?

Local images referenced in the Markdown are resolved from the Markdown file's folder and pasted into the editor at their original positions. When the body has images, the separate cover upload is skipped.

### How do I install Toutiao publisher in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/toutiao-publisher to use it in all your projects, or to .claude/skills/toutiao-publisher in one project. Or install the super-publisher plugin, which includes it: /plugin marketplace add guanyang/super-publisher, then /plugin install super-publisher@super-publisher.

### Does Toutiao publisher run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Toutiao publisher?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Toutiao publisher?

The closest alternatives to Toutiao publisher are Doc coauthoring, Document, Setup matt pocock skills, Roundup and Roundup setup.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Doc coauthoring](https://ai-powered.com/skills/doc-coauthoring-getsentry): Doc coauthoring is an open-source agent skill for productivity.
- [Document](https://ai-powered.com/skills/document-octavehq): Document is an open-source agent skill for productivity.
- [Setup matt pocock skills](https://ai-powered.com/skills/setup-matt-pocock-skills): Setup matt pocock skills is an open-source agent skill for developer tools.
- [Roundup](https://ai-powered.com/skills/roundup): Roundup is an open-source agent skill for communication.
- [Roundup setup](https://ai-powered.com/skills/roundup-setup): Roundup setup is an open-source agent skill for productivity.
- [Draft a story markdown from a story tracker or feature description](https://ai-powered.com/skills/draft-a-story-markdown-from-a-story-tracker-or-feature-description): Draft a story markdown from a story tracker or feature description is an open-source agent skill for developer tools.
- [Make blog post](https://ai-powered.com/skills/make-blog-post): Make blog post is an open-source agent skill for productivity.
- [Blog writing guide](https://ai-powered.com/skills/blog-writing-guide): Blog writing guide is an open-source agent skill for productivity.

---
Source: https://ai-powered.com/skills/toutiao-publisher
