zsxq-topic
Original:🇨🇳 Chinese
Translated
Knowledge Planet Topic Management: Search topics, view details, publish posts, post comments, answer questions, set featured topics and tags. Used when users need to find content, post, comment, answer questions, or manage topics.
34installs
Sourceunnoo/zsxq-skill
Added on
NPX Install
npx skill4agent add unnoo/zsxq-skill zsxq-topicTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →topic (v1)
CRITICAL — MUST use the Read tool to read before starting, which contains authentication and error handling rules.
../zsxq-shared/SKILL.mdCore Concepts
- Topic: Content unit within the Planet, uniquely identified by . Types:
topic_id- : Regular post (images and text)
talk - : Question, can be answered by the Planet Owner
q&a - : Long article
article
- Comment: Reply under a topic, identified by , supports nested replies (
comment_id).replied_comment_id - Digested: The Planet Owner can mark high-quality topics as digested for prominent display within the Planet.
Resource Relationships
Group (group_id)
└── Topic (topic_id) — talk / q&a / article
├── Comment (comment_id)
│ └── 楼中楼 Reply (replied_comment_id)
├── Answer(q&a 类型专属)
└── Hashtag 标签列表Important Notes
Must Confirm Before Write Operations
Posting, commenting, and answering are irreversible public operations. Must confirm with the user before execution:
- Target Planet / Topic (group_id / topic_id)
- Content to publish (title / content / text)
Obtaining topic_id
When unsure of the topic_id, query first before proceeding:
- Keyword search:
topic +search --group-id xxx --query "keywords" - Browse latest:
group +topics --group-id xxx - View details:
topic +detail --topic-id xxx
Shortcuts (Recommended for Priority Use)
Shortcuts are advanced encapsulations of common operations (). Prioritize using operations with Shortcuts.
zsxq-cli topic +<verb> [flags]| Shortcut | Description |
|---|---|
| Full-text search for topics within the Planet, returns a table of topic_id / type / title / time |
| Get complete details of a single topic (content, comment count, like count, tags, etc.) |
| Publish a new topic (post) in the specified Planet, execute after confirming content |
| Post a comment on a topic, supports nested replies, execute after confirming content |
| Publish an official answer to a q&a type topic, execute after confirming content |
API (Directly Called via zsxq-cli api call
)
zsxq-cli api callAdvanced operations not covered by Shortcuts:
| Tool | Parameters | Description |
|---|---|---|
| | Get topic comment list (pagination) |
| | Set/cancel digested status (Planet Owner permission) |
| | Set tags for a topic (array of tag names) |
| | View questions initiated by yourself ( |