Zhihu Upload logo

Zhihu Upload

CommunityPopular
dreammis
zhihu-upload

使用 social-auto-upload 的 sau CLI 登录知乎、发布文章或视频,并按作品链接核对结果;支持原稿位置配图与视频领域、声明选项。

Overview

Publisherdreammis
Repositorysocial-auto-upload
Skill namezhihu-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 Zhihu 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/zhihu-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/zhihu-upload .claude/skills/zhihu-upload
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Zhihu 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 Zhihu 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 Zhihu 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 zhihu 命令,不另写网页上传逻辑。

功能概览

功能命令入口说明
登录sau zhihu login --account <name>保存指定账号的本地会话
账号检查sau zhihu check --account <name>检查会话与当前账号是否一致
文章发布sau zhihu upload-article ...HTML/Markdown/TXT 原稿,图片保留原稿位置
视频发布sau zhihu upload-video ...单视频、标题、简介、领域与内容声明
作品核对sau zhihu verify --account <name> --result <json>打开结果文件中的原作品链接核对标题

元数据约定:文章使用 title + content-file,视频使用 title + desc + originality + category + video-mark。--account 是本地会话别名,无须与知乎昵称相同。

登录

powershell
sau zhihu login --account creator
sau zhihu check --account creator

账号密码、验证码在登录窗口输入;会话文件保存在本地,不提交到仓库。

文章

标题最多 100 字。正文使用 UTF-8 HTML、Markdown 或 TXT;Markdown 首次使用先执行 sau article setup。

图片写在原稿对应段落中,相对路径从原稿目录解析:

markdown
第一段正文。

![配图](images/1.png)

第二段正文。
powershell
sau zhihu upload-article --account creator --title "文章标题" --content-file "文章.md"

提交前核对文字、图片顺序、基本格式和链接。编辑器恢复出非空草稿时会停止,避免覆盖已有内容。暂不支持自定义主题 CSS、手动封面、专栏收录、芝士任务和文档导入。

视频

文件必须大于 100KB(102400 字节)、最大 20GB、最长 4 小时。标题 5–50 字,简介最多 300 字;默认使用平台生成的封面。

powershell
sau zhihu upload-video --account creator --file "视频.mp4" --title "视频标题示例" --desc "视频简介" --originality original --category "教育" --video-mark "含 AI 生成内容"
  • --originality:original(原创)或 reprint(转载)。
  • --category:领域选项见 sau zhihu upload-video --help;省略时显示实时菜单,按编号选择。
  • --video-mark:内容无需标注、含 AI 生成内容、含虚构演绎内容、内容含营销信息、内容为转载、个人观点仅供参考;声明须与内容一致。

非交互调用应指定领域和声明。程序提交前仍会核对实时菜单。仅获取当前页面的候选时使用:

powershell
sau zhihu upload-video --account creator --file "视频.mp4" --title "视频标题示例" --originality original --show-options

候选写入结果 JSON 的 options.category、options.video_mark。暂不支持自动选择话题、自定义封面、专栏和内容来源。

提交与结果

文章和视频均可加 --prepare-only,填写并检查后结束;--prepare-only、--show-options 都可能留下远端草稿。

published 表示平台确认发表,详情链接写入结果文件的 url;视频地址可为 /pin/<作品ID>。若详情读取失败,保留 published 和 error,到创作中心查原作品,勿重发。prepared 不表示发表成功。若为 submission_unknown,也先按标题和提交时间检查原作品。已有 URL 时可执行:

powershell
sau zhihu verify --account creator --result "本次结果.json"

--schedule "YYYY-MM-DD HH:MM" 为实验性选项,按北京时间限制在 30 分钟后至 48 小时内;尚不保证完整排期流程可用。

示例脚本

以下文件提供登录、检查、表单预填及候选查询模板;移除 --prepare-only 会真实发布文章。

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 Zhihu Upload AI skill do?

使用 social-auto-upload 的 sau CLI 登录知乎、发布文章或视频,并按作品链接核对结果;支持原稿位置配图与视频领域、声明选项。

Why use Zhihu Upload on TypingMind?

Because you install it once and use it with any model. Zhihu 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 Zhihu Upload in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dreammis/social-auto-upload/tree/main/skills/zhihu-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 Zhihu 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 Zhihu Upload?

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

Is the Zhihu 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 👇