Skip to content

雪球长文发布

Publish long-form articles to Xueqiu via the sau CLI and verify the result

Stars
16,023
Licence
MIT
Files
3 files

What it does

This skill teaches an AI agent to publish long articles (HTML, Markdown or TXT) to the Xueqiu creator platform using the existing sau command-line tool from the social-auto-upload project. The agent logs in once through a visible Chrome window, keeps the session tied to the user's real account ID, places in-body images where they appear in the source file, can set a separate cover image, and then checks the published work in the backend to confirm it went through. It does not handle scheduled posts or videos.

Great for

  • Creators who regularly publish long-form posts on Xueqiu and want to automate the upload steps
  • Teams managing a Xueqiu account that need repeatable, checkable publishing with a saved result file
  • Users comfortable running a command-line tool and reviewing a preview before publishing

Skip it if

  • Anyone who wants scheduled posting: the skill states no scheduling option has been observed for this form, so it will not delay a post.
  • Users who cannot tolerate accidental public posts: the command publishes by default unless --prepare-only is used, and the example scripts can create real works.
  • Video or tables/code-block-heavy articles: these are unsupported or rejected before the remote draft is created.

Try asking

  • “Publish my Markdown article articles/demo.md to my Xueqiu account as a private post with an AI-content declaration”
  • “Prepare a draft of this HTML report on Xueqiu with --prepare-only so I can preview it before publishing”
  • “Check whether my last Xueqiu submission went through using the saved result JSON file”
  • “Log in to my Xueqiu account named main and confirm it matches my display name”
Step-by-step guide: how to use 雪球长文发布Install, 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.

    xueqiu-upload.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

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

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip xueqiu-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 sau xueqiu upload-article --help first and use --prepare-only to preview before letting it publish.
  • Keep the original article, its images and the result JSON file; if a result is submission_unknown, verify it instead of re-running the upload to avoid duplicate posts.
  • Use Markdown with relative image paths (for example ![caption](images/chart.png)) so in-body images stay in the right place.

What's inside

  • scripts/examples/xueqiu_cli_template.py
  • scripts/examples/xueqiu_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.