Skip to content

Zhihu Article & Video Publisher

Log in to Zhihu and publish articles or videos via the sau CLI, then verify the results.

Stars
16,023
Licence
MIT
Files
3 files

What it does

Once installed, the agent can publish articles (HTML, Markdown or TXT, with images kept in their original positions) and single videos to Zhihu, a Chinese Q&A and publishing platform, by calling the social-auto-upload project's sau command-line tool instead of writing its own upload code. It can also check that a saved login matches the account and open a published work's link to confirm its title. Login passwords and verification codes are entered by you in the login window, and the session stays on your machine.

Great for

  • Chinese-language creators who publish articles or videos to Zhihu and want to automate repeat posting
  • Teams already using the social-auto-upload tool who want an agent to drive the Zhihu commands
  • People who want a preview step (--prepare-only) before anything goes live

Skip it if

  • Users who need features the skill says are unsupported, such as custom covers, column inclusion, Zhihu topic selection, or document import, since those will not be handled
  • Unattended scheduled publishing, because --schedule is marked experimental and not guaranteed to work; a failed or unknown submission could also create duplicate posts if retried carelessly
  • Anyone without the sau tool installed and logged in to a Zhihu account, since the skill cannot publish without them

Try asking

  • “Publish my Markdown article articles/intro.md to Zhihu with the title 'My Intro', but only prepare it first so I can review it”
  • “Check that my saved Zhihu session for the creator account is still logged in”
  • “Upload video.mp4 to Zhihu as an original video with a description and the education category”
  • “Verify the published Zhihu link in my result file matches the expected title”
Step-by-step guide: how to use Zhihu Article & Video PublisherInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 3 original files, the MIT licence and an attribution note.

    zhihu-upload.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip zhihu-upload.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip zhihu-upload.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Always run with --prepare-only first and review the draft before removing the flag, since removing it publishes for real.
  • Specify --category and --video-mark explicitly for non-interactive runs so the agent does not stop at the live menu.
  • If a publish result is unclear, check the Zhihu creator center by title and time before retrying, to avoid duplicate posts.

What's inside

  • scripts/examples/zhihu_cli_template.py
  • scripts/examples/zhihu_commands.sh
  • SKILL.md

Redistributed unmodified from dreammis/social-auto-upload under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.