cn-blog
Installation
SKILL.md
cn-blog — Zhihu via your own cookies
Drives the user's real Zhihu account through the same web APIs the site's
own editor uses, authenticated by the login cookie they captured with the ACE
extension. No browser, no third-party deps — just urllib.
The connector injects the cookie jar as an env var:
ZHIHU_COOKIES— a JSON array of{name, value, domain, path, ...}cookies. Secret — never echo or print it. The CLI reads it for you.
CLI
The skill ships scripts/blog.py — self-contained, stdlib only.
BLOG=$SKILL_DIR/scripts/blog.py