zsxq-topic

Manages Zhihuishixingqiu topics via zsxq-cli including search, posting, editing, commenting, and answering.

17.5k|2.5k|Updated Nov 8, 2018
One-click install
npx skills add https://github.com/itwanger/toBeBetterJavaer --skill zsxq-topic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zsxq-topic
Source: https://github.com/itwanger/toBeBetterJavaer/tree/main/.agents/skills/zsxq-topic
Command: npx skills add https://github.com/itwanger/toBeBetterJavaer --skill zsxq-topic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires zsxq-cli, and includes references (resource) components.

What problem does it solve?

Managing content on the ZSXQ (知识星球) community platform normally requires manual app interactions; this Skill lets you search, publish, edit, comment on, and moderate topics directly through the zsxq-cli command line.

Core Features & Use Cases

  • Topic Discovery & Reading: Full-text search within a group and retrieval of complete topic details including counts, tags, and digest status.
  • Content Publishing & Editing: Create talk-type posts with attachments, edit your own topics, and post comments including threaded (楼中楼) replies.
  • Q&A and Moderation: Answer q&a-type questions, set digest (精华) status, assign tags, list your asked/answered questions, and delete topics.
  • Use Case: A community owner wants to answer all unanswered member questions: list pending q&a topics via the API, review each question's detail, then publish official answers with confirmation.

Quick Start

Ask the assistant to search my ZSXQ group for topics about a keyword and show the details of the top result.

Frequently Asked Questions about zsxq-topic

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search topics in a ZSXQ group from the command line?

Run zsxq-cli topic +search with --group-id and --query flags to perform full-text search within a single group. Results return topic_id, type, title, and creation time, which you can pass to topic +detail for full content.

How to post a new topic to ZSXQ using zsxq-cli?

Use zsxq-cli topic +create with --group-id and --text, optionally adding --files for attachments. Only talk-type posts are supported; q&a, task, and solution types cannot be created through the CLI.

What is the difference between zsxq-cli topic +answer and +reply?

+answer publishes an official answer to a q&a-type topic and can only be used once per question, while +reply posts a regular comment on any topic type and supports threaded replies via --reply-to.

Can I edit or delete someone else's ZSXQ topic?

No, topic +edit only works on topics you published yourself. Deletion via api raw DELETE requires being the topic author or group owner, otherwise it returns permission error code 100262.

Why does zsxq-cli return 401 or not logged in errors?

A 401 error means the authentication token expired or no login session exists. Follow the login and API call conventions in the zsxq-shared skill documentation to re-authenticate before retrying.