Publish and manage content on 知识星球 (zsxq.com). Supports talk posts, Q&A, long articles, file sharing, digest/bookmark, homework tasks, and tag management. Use when publishing content to 知识星球, creating/editing posts, uploading files/images/audio, managing digests, batch publishing, or formatting content for 知识星球.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Publish and manage content on 知识星球 (zsxq.com). Supports talk posts, Q&A, long articles, file sharing, digest/bookmark, homework tasks, and tag management. Use when publishing content to 知识星球, creating/editing posts, uploading files/images/audio, managing digests, batch publishing, or formatting content for 知识星球.
author
Daniel Li
知识星球智能发布
Publish content to 知识星球 via API or browser automation.
Authentication
Requires a valid zsxq_access_token cookie. Get it by:
Open https://wx.zsxq.com in browser
Login via WeChat QR scan
Open DevTools → Application → Cookies → find zsxq_access_token
Set env var: export ZSXQ_ACCESS_TOKEN="your_token"
Or store in config file (see references/config.md)
Token expires. Re-scan QR when API returns 401.
Content Types
Type
topic_type
API field
Char limit
Description
话题 (Talk)
talk
type
50,000 chars
General post, text+images+files
问答 (Q&A)
q&a
type
50,000 chars
Question format, star-owner can answer
作业 (Task)
task
type
50,000 chars
Homework/assignment with deadline
长文章 (Article)
—
separate endpoint
100,000 chars
Web-only, rich editor, Markdown support
长文章 is web-only: Publish via browser (scripts/publish_article.py), not the topics API.
Quick Start
1. Publish a Talk Post
python3 scripts/publish.py --type talk \
--group-id GROUP_ID \
--text "Hello from AI agent!" \
--tags "AI,自动化" \
--image /path/to/image.png