zhihu-cli
Search, read, and publish Zhihu content from the terminal
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install zhihu-cli?▼
Run `npx skills add BAIGUANGMEI/zhihu-cli --all -g -y` in your terminal to install this skill globally.
How to log in to Zhihu from the terminal?▼
Run `zhihu login --qrcode` to show a scannable QR code, or paste cookies with `zhihu login --cookie "z_c0=...; _xsrf=...; d_c0=..."`. Your login state stays in a local file with restricted permissions.
Can I publish Zhihu posts from the command line?▼
Yes. Use `zhihu ask`, `zhihu pin`, and `zhihu article` to publish questions, pins, and rich-text articles with images, and delete your own content with the delete commands.
Does zhihu-cli work with AI agents?▼
Yes. The included SKILL.md teaches agents to map your plain-language requests to the right zhihu commands, always using --json output for reliable structured data.
Is my Zhihu cookie safe with zhihu-cli?▼
Yes. Cookies are stored only on your machine in ~/.zhihu-cli/cookies.json with owner-only permissions, all traffic uses HTTPS to official Zhihu domains, and no credentials are uploaded anywhere.
Related Repositories in Content & Communication
View All in Content & Communication→skills
Official Anthropic skills for documents, design, and developer workflows
humanizer
Rewrite AI-sounding text so it reads like a person wrote it
UniGetUI
Automate software translation reviews, diffs, and localization quality checks