zhihu
Installation
SKILL.md
zhihu — search, read & publish on Zhihu
Two authentication layers, two scripts:
| Script | Auth | Capabilities |
|---|---|---|
scripts/search.py |
ZHIHU_DEVELOPER_TOKEN (Bearer) |
Search Zhihu, search the web, get hot topics |
scripts/blog.py |
ZHIHU_COOKIES (login cookie) |
Read/write own articles & answers |
No browser, no third-party deps — just urllib.
The connector injects credentials as env vars:
ZHIHU_DEVELOPER_TOKEN— Zhihu Developer Platform access secret (Bearer token). Used for search and hot-list queries. Secret — never echo or print it.ZHIHU_COOKIES— a JSON array of{name, value, domain, path, ...}cookies. Used for reading/writing the user's own content. Secret — never echo or print it.