CommunityCoding & Developmentgithub.com

unnoo/zsxq-shared

Shared foundation for the Knowledge Planet CLI: authentication login (auth login/logout/status), configuration diagnosis (doctor/config show), generic API calling conventions (api list/api call/api raw for underlying or raw HTTP interfaces), planet and topic share link generation (desktop/mobile), safety rules for write and delete operations, and common error code handling (401 token expiration, missing parameters, etc.). Use when a user logs in for the first time, logs out, checks authentication status, calls zsxq-cli api raw/api call, needs to generate a Knowledge Planet share link, or encounters authentication or HTTP errors.

What is zsxq-shared?

The **unnoo/zsxq-shared** skill provides a foundational set of utilities for building a CLI tool that interacts with the Knowledge Planet (知识星球) platform. It centralizes authentication management (login, logout, status checks), configuration diagnostics, general API call mechanisms (both structured and raw HTTP), and share link construction for both desktop and mobile platforms. This skill also enforces safety rules for write/delete operations and handles common error codes like 401 (token expiration) or missing parameter errors. It is designed for AI coding agents (e.g., Cursor, Codex) and developers creating CLI tools that integrate with the Knowledge Planet platform, ensuring consistent authentication, robust API interaction, and user-friendly error handling.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/unnoo/zsxq-skill/tree/main/skills/zsxq-shared

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does zsxq-shared do?

Shared foundation for the Knowledge Planet CLI: authentication login (auth login/logout/status), configuration diagnosis (doctor/config show), generic API calling conventions (api list/api call/api raw for underlying or raw HTTP interfaces), planet and topic share link generation (desktop/mobile), safety rules for write and delete operations, and common error code handling (401 token expiration, missing parameters, etc.). Use when a user logs in for the first time, logs out, checks authentication status, calls zsxq-cli api raw / api call, needs to generate a Knowledge Planet share link, or encounters authentication or HTTP errors.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

Related Skills