zhihu-upload

zhihu-upload is a skill for Claude Code, Codex from dreammis/social-auto-upload. It costs 40 tokens per session (1,095 once invoked), scanned A, original, MIT.

A command-line publisher for Zhihu, a Chinese question-and-answer and knowledge-sharing platform. It posts articles from HTML, Markdown, or plain-text files and can also publish videos, then checks the resulting work.

In plain words
What is it for?
Use it to publish articles with local images or videos with descriptions, subject areas, and content declarations.
Why use it?
It keeps article content and inline images in source files instead of requiring manual editor entry. It also verifies the account and checks the title and link of the resulting post.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to publish articles with local images or videos with descriptions, subject areas, and content declarations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dreammis/social-auto-upload/zhihu-upload
About the project

social-auto-upload is an automation tool for uploading and scheduling videos across social media platforms including Douyin, Bilibili, Xiaohongshu, TikTok, and YouTube. Content creators and operators use it for repeatable multi-platform publishing, while its catalogue skills expose these upload workflows to coding agents.

dreammis/social-auto-upload · 15,697 stars · on GitHub · sap-doc.nasdaddy.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dreammis/social-auto-upload --skill zhihu-upload
Clone the repo
git clone --depth 1 https://github.com/dreammis/social-auto-upload

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for zhihu-upload

README.md
[![agentmods](https://agentmods.dev/badge/skills/dreammis/social-auto-upload/zhihu-upload/github.svg)](https://agentmods.dev/skills/dreammis/social-auto-upload/zhihu-upload)
Your own site
<a href="https://agentmods.dev/skills/dreammis/social-auto-upload/zhihu-upload"><img src="https://agentmods.dev/badge/skills/dreammis/social-auto-upload/zhihu-upload/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for zhihu-upload

Your own site · 80×15
<a href="https://agentmods.dev/skills/dreammis/social-auto-upload/zhihu-upload"><img src="https://agentmods.dev/badge/skills/dreammis/social-auto-upload/zhihu-upload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,095 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.01095
Opus 5.5 $0.00016 $0.00438
Sonnet 5.5 $0.00008 $0.00219
Haiku 4.5 $0.00004 $0.00110

Measured today against content hash 9a76b21d96af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

zhihu-upload scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/examples/zhihu_cli_template.py, scripts/examples/zhihu_commands.ps1, scripts/examples/zhihu_commands.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/zhihu-upload/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

知乎文章与视频

使用仓库的 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 是本地会话别名,无须与知乎昵称相同。

登录

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

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

文章

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

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

第一段正文。

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

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

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

视频

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

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 生成内容、含虚构演绎内容、内容含营销信息、内容为转载、个人观点仅供参考;声明须与内容一致。

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

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 时可执行:

Read the full file on GitHub · 90 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 90 lines · 40 tokens per session scan A 9a76b21d96af

Subscribe to this mod's changes

zhihu-upload is a skill published in the GitHub repository dreammis/social-auto-upload (15,697 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 1,095 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-22.

Related

Other skills, from other repositories

deyo

Use only when the current user explicitly asks to use Deyo to transcribe explicitly provided URLs or exact local audio/video file paths, or explicitly asks for Deyo install, status, or troubleshooting. Do not trigger from a mere Deyo mention, ambient context, an implicit attachment, directory browsing, a glob, stdin…

casatwy/deyo-skill · 81 tokens

opencli-usage

Use when running OpenCLI commands to interact with websites (Bilibili, Twitter, Reddit, Xiaohongshu, etc.), desktop apps (Cursor, Notion), or public APIs (HackerNews, arXiv). Covers installation, command reference, and output formats for 100+ adapters.

zxfccmm4/Obsidian-OpenCode-Knowledge · 66 tokens

qiaomu-opencli-usage

Use when running OpenCLI commands to interact with websites (Bilibili, Twitter, Reddit, Xiaohongshu, etc.), desktop apps (Cursor, Notion), or public APIs (HackerNews, arXiv). Covers installation, command reference, and output formats for 79+ adapters.

joeseesun/qiaomu-opencli-skills · 69 tokens

criador-de-hooks

Cria hooks magnéticos para posts, vídeos, threads e stories no mercado BR. Focado nos primeiros 3 segundos que determinam se o usuário continua assistindo ou fazendo scroll. Cobre Instagram Reels, YouTube Shorts, TikTok e LinkedIn.

ricneves-ai/flowgrammers-skills · 59 tokens

laohan-chuangzuo

A writing workflow for spoken-video scripts. It accepts an outline, raw text, a recording, a web-link queue, or a free-form topic, then organizes the material before writing the script.

hanzhcn/laohan-skills · 177 tokens

laohan-shencha

A fact-checking tool for technical documents, scripts, configuration files, and spoken claims that can be checked against outside sources.

hanzhcn/laohan-skills · 120 tokens