Xueqiu Upload logo

Xueqiu Upload

CommunityPopular
dreammis
xueqiu-upload

通过 social-auto-upload 的 sau CLI 登录和核验雪球账号,发布 HTML、Markdown 或 TXT 长文,保留原稿段间配图、原生文字结构与独立封面,并查询原作品确认结果。适用于雪球创作者平台,不支持定时或视频。

Overview

Publisherdreammis
Repositorysocial-auto-upload
Skill namexueqiu-upload
Stars
15.7K
Forks
2.7K
Bundled files
3
LicenseMIT-0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by dreammis on GitHub. Read the source before you install it.

Installation

Install the Xueqiu Upload AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dreammis/social-auto-upload/tree/main/skills/xueqiu-upload
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dreammis/social-auto-upload.git /tmp/social-auto-upload
mkdir -p .claude/skills
cp -r /tmp/social-auto-upload/skills/xueqiu-upload .claude/skills/xueqiu-upload
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Xueqiu Upload in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Xueqiu Upload on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Xueqiu Upload is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

雪球长文

使用仓库现有 sau xueqiu,不另写网页上传实现。先检查 sau xueqiu upload-article --help。Windows 未加入 PATH 时在仓库根目录使用 .\.venv\Scripts\sau.exe。

账号及输入

  • 已有账号执行 sau xueqiu check --account <别名>。首次使用执行 sau xueqiu login --account <别名> --expected-name "用户指定昵称",在打开的 Chrome 中登录。程序保存会话并绑定真实用户 ID;不要把账号密码写进命令或源码。Codex 内置浏览器的登录不会自动生成 CLI 会话文件。
  • 必须提供非空单行 --title、UTF-8 HTML/Markdown/TXT --content-file 和与实际创作方式相符的 --declaration。声明选择 不添加创作声明 或 本文包含AI生成内容,不要替用户猜测。
  • --visibility 为 公开 或 私人,默认公开。正文图片通过 HTML 的 img 或 Markdown 图片写在原稿对应位置,相对路径基于原稿目录;没有 --images 文末追加参数。独立封面用 --cover,采用平台默认裁剪。图片接受本地 GIF/JPEG/PNG,不接受远端或 data URL。
  • 雪球各级标题统一为平台小标题,保留段落、加粗、斜体、链接;列表转换为带编号或圆点的段落。自定义 CSS 不保证保留。表格、代码块等未验证结构在创建远端草稿前报错。Markdown 首次使用需运行 sau article setup,详见使用说明。

草稿和发表

powershell
sau xueqiu upload-article --account <别名> --title "用户标题" --content-file "文章.md" --cover "封面.png" --visibility 私人 --declaration "本文包含AI生成内容"

命令默认实际发表。仅检查草稿和预览时显式增加 --prepare-only;雪球会自动保存远端草稿,重复运行可能创建多份草稿。编辑器若已有内容会拒绝覆盖。无需独立封面时省略 --cover。

优先使用 Markdown 原稿;段间配图用相对原稿路径的 Markdown 图片语法,例如 ![图片说明](images/chart.png)。首次使用先执行 sau article setup。

正式 CLI 已实测原生结构、两张不同的段间图片、独立封面、私人发表及后台原作品查询。沿用用户的操作范围;开发或登录授权本身不等于授权发表测试内容。

没有定时参数:本次账号的完整长文表单未观察到定时功能。Word、自定义裁剪、视频、股票/话题/@关联对象尚未支持,不用普通文字冒充关联对象。

判断结果与中断处理

保留命令输出的结果 JSON 路径和截图。prepared 仅表示准备完成;published 表示平台最终受理并通过主体、标题、分享范围及正文核对。management_verified: true 表示后台原 ID 查询也通过。私人作品显示“仅自己可见”。

若记录为 submission_unknown,执行 sau xueqiu verify --account <别名> --result "本次结果文件.json",按已保存的原作品 ID 只读查询,并用原稿重查后台正文和图片。保留发表时的原稿、图片及路径,内容改变会报错;旧版缺少原稿路径的成功结果仅核查作品身份和分享范围。没有 ID 时进入“内容管理”按标题、账号及时间核查。未查明前不要重跑上传或再次点击发布,避免重复作品。

默认使用可见 Chrome,--headless 为显式选项;本机无头访问曾被平台拦截。网络超时、403 或主体不一致应保留具体错误,不据此断言 Cookie 失效。--debug 保存失败截图。

示例脚本

scripts/examples/ 下的文件是复制用示例,不是运行时依赖。执行前先查看当前 CLI 的 --help,替换账号、素材和正文;这些命令可能创建真实作品。

  • xueqiu_commands.ps1:PowerShell
  • xueqiu_commands.sh:Bash
  • xueqiu_cli_template.py:Python subprocess

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Xueqiu Upload AI skill do?

通过 social-auto-upload 的 sau CLI 登录和核验雪球账号,发布 HTML、Markdown 或 TXT 长文,保留原稿段间配图、原生文字结构与独立封面,并查询原作品确认结果。适用于雪球创作者平台,不支持定时或视频。

Why use Xueqiu Upload on TypingMind?

Because you install it once and use it with any model. Xueqiu Upload is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Xueqiu Upload in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dreammis/social-auto-upload/tree/main/skills/xueqiu-upload. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Xueqiu Upload?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Xueqiu Upload?

As many as you like. As long as a model supports skills, you can use Xueqiu Upload with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Xueqiu Upload AI skill free?

Yes. It is published on GitHub by dreammis under the MIT-0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇