>- 知乎发布:把文章发布到知乎专栏(也可用于回答草稿)。当用户说"发知乎""知乎发布" "发布知乎文章""知乎专栏""投知乎"时使用。基于通用浏览器发布框架(Playwright + 登录态持久化)。
npx skills add https://github.com/ZJU-REAL/Easel --skill skill-zhihu-publisher
> 基于通用浏览器发布框架 ../../shared/scripts/web_publisher.py(--platform zhihu)。
> 发布到知乎专栏写作页(zhuanlan.zhihu.com/write)。
pip install playwright + playwright install chromiumlogin 登录知乎,登录态持久化复用login-qr --platform zhihu(抠二维码成图轮询),或走 Web「账号」页登录最佳努力,首次务必 plan + --headed 校验,失效时更新 web_publisher.py 的 zhihu 配置。
无浏览器环境可用 platforms / plan / check。
ROOT=<项目根>; WP=$ROOT/skills/shared/scripts/web_publisher.py
python $WP check
python $WP login --platform zhihu
python $WP plan --platform zhihu --title "标题" --desc "正文..."
python $WP publish --platform zhihu --title "标题" --desc "正文..." --exec --headed
style.md;话题标签按垂类。--headed 目视确认写作页与发布弹窗;选择器失效即更新配置。知乎专栏写作页网页流程;复用统一 Playwright 框架。正文 Draft.js 编辑器,选择器按现状维护。
Take zju-real/skill-zhihu-publisher from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference pip.
Without those the skill loads but fails at the first command.