/super-publisher:toutiao-publisherfrom super-publisher
Publishes articles to Toutiao (头条号) with shared login state, Markdown draft filling, and optional auto-publishing. Useful for 发布到头条 requests.
Ships in super-publisher. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use the scripts from this Skill directory. Resolve the directory containing this
SKILL.md first and set its absolute path as SKILL_DIR; do not assume the caller's
working directory is the Skill directory.
--mode manual. Leave Chrome open for the user to review and click Publish.--mode auto only when the user explicitly authorizes final publishing.clear --yes or reauth --yes only after the user confirms that all local
Agents may lose the shared Toutiao session.Check the protected Toutiao page before asking the user to scan a QR code:
python3 "$SKILL_DIR/scripts/run.py" auth_manager.py status --verify --json
If the result status is not_authenticated, open the interactive login flow:
python3 "$SKILL_DIR/scripts/run.py" auth_manager.py setup --json
The shared profile lives under ~/.super-publisher/toutiao-publisher/ by default.
Codex, Kiro, Antigravity, and direct CLI runs by the same system user reuse it.
Set SUPER_PUBLISHER_DATA_DIR to override the location; relative values resolve
from the user home directory.
Validate inputs without opening Chrome:
python3 "$SKILL_DIR/scripts/run.py" publisher.py \
--mode validate \
--title "AI Trends 2026" \
--content-file "/absolute/path/article.md" \
--cover "/absolute/path/cover.jpg" \
--json
After validation succeeds, fill the draft and wait for manual review:
python3 "$SKILL_DIR/scripts/run.py" publisher.py \
--mode manual \
--title "AI Trends 2026" \
--content-file "/absolute/path/article.md" \
--cover "/absolute/path/cover.jpg" \
--json
Use direct text only through --content-text. --content remains an alias for
--content-file; a missing path is an error rather than literal article text.
Markdown supports headings, links, ordered and unordered lists, block quotes,
tables, fenced code, inline code, emphasis, and local inline images. Resolve relative
image paths from the Markdown file. If the body contains images, skip explicit cover
upload. Use --no-cover only when the body has no image and no cover is supplied.
For explicitly authorized automatic publishing:
python3 "$SKILL_DIR/scripts/run.py" publisher.py \
--mode auto \
--title "AI Trends 2026" \
--content-file "/absolute/path/article.md" \
--headless \
--json
Automatic publishing succeeds only after Toutiao displays a recognized success
indicator. A final-button click without confirmation returns publish_unconfirmed.
With --json, authentication commands write one JSON result to stdout. Publisher
commands write newline-delimited JSON events; manual mode emits
awaiting_manual_review before waiting for the user.
0: authenticated, input valid, manual review completed, or publish confirmed.1: runtime, browser interaction, draft, upload, or publish failure.2: invalid input, missing authentication, or clear confirmation required.Treat stderr as human-readable diagnostics. Do not parse emojis or prose to determine success.
# Read local state only
python3 "$SKILL_DIR/scripts/run.py" auth_manager.py status --json
# Verify against Toutiao and refresh state
python3 "$SKILL_DIR/scripts/run.py" auth_manager.py validate --json
# Destructive: require explicit user confirmation first
python3 "$SKILL_DIR/scripts/run.py" auth_manager.py clear --yes --json
Require Python 3.9+, Google Chrome, and local network access. scripts/run.py
bootstraps scripts/setup_environment.py, verifies the requirements fingerprint,
and executes the target with the Skill-local .venv Python. The shared state directory
uses owner-only permissions. Avoid starting concurrent browser operations against the
same persistent Chrome Profile.
Enable --debug-screenshots only when troubleshooting. Screenshots are written under
output/toutiao-publisher-debug/ by default.
README.md (opens in a new tab)requirements.txt (opens in a new tab)scripts/auth_manager.py (opens in a new tab)scripts/browser_utils.py (opens in a new tab)scripts/cli_utils.py (opens in a new tab)scripts/config.py (opens in a new tab)scripts/md2html.py (opens in a new tab)scripts/publisher.py (opens in a new tab)scripts/run.py (opens in a new tab)scripts/setup_environment.py (opens in a new tab)tests/test_auth_manager.py (opens in a new tab)tests/test_browser_utils.py (opens in a new tab)tests/test_config.py (opens in a new tab)tests/test_md2html.py (opens in a new tab)tests/test_publisher_cli.py (opens in a new tab)tests/test_publisher_cover_policy.py (opens in a new tab)tests/test_publisher_debug.py (opens in a new tab)tests/test_run.py (opens in a new tab)tests/test_setup_environment.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/animated-sticker-maker从照片、静态角色图或动作点子创作单张或整套循环动态表情,设计动作节奏、生成一致的关键帧并审片。已有同一动作的有序帧、仅需组装或压缩 GIF 时使用 gif-maker。/excalidraw-visual-designerCreate and revise editable visual drawings directly in the Excalidraw website through the in-app browser. Use when the user asks Codex to draw in Excalidraw or update an Excalidraw canvas, including diagrams, flowcharts, architecture sketches, process maps, infographics, teaching visuals, product explanation graphics, whiteboard layouts, promotional materials, posters, flyers, menu boards, and social media graphics, especially when the output should remain editable as Excalidraw elements or imported clipboard JSON./gif-makernpx claudepluginhub guanyang/super-publisher --plugin super-publisherOther plugins' skills for the same job