/skill-zhihu-publisher
知乎发布:把文章发布到知乎专栏(也可用于回答草稿)。当用户说"发知乎""知乎发布" "发布知乎文章""知乎专栏""投知乎"时使用。基于通用浏览器发布框架(Playwright + 登录态持久化)。
Claude Code
$ npx -y skills add zju-real/easel --skill skill-zhihu-publisher --agent claude-code
Codex
$ npx skills add zju-real/easel --skill skill-zhihu-publisher -a codex -y
Cursor
$ npx skills add zju-real/easel --skill skill-zhihu-publisher -a cursor -y
Gemini CLI
$ npx skills add zju-real/easel --skill skill-zhihu-publisher -a gemini-cli -y
GitHub Copilot
$ npx skills add zju-real/easel --skill skill-zhihu-publisher -a github-copilot -y
OpenCode
$ npx skills add zju-real/easel --skill skill-zhihu-publisher -a opencode -y
Windsurf
$ npx skills add zju-real/easel --skill skill-zhihu-publisher -a windsurf -y
SKILL.md
skill-zhihu-publisher.SKILL.mdname: skill-zhihu-publisher description: >- 知乎发布:把文章发布到知乎专栏(也可用于回答草稿)。当用户说"发知乎""知乎发布" "发布知乎文章""知乎专栏""投知乎"时使用。基于通用浏览器发布框架(Playwright + 登录态持久化)。 layer: publish
知乎发布
> 基于通用浏览器发布框架 `../../shared/scripts/web_publisher.py`(`--platform zhihu`)。 > 发布到知乎专栏写作页(zhuanlan.zhihu.com/write)。
⚠️ 环境依赖
- `pip install playwright` + `playwright install chromium`
- 首次 `login` 登录知乎,登录态持久化复用
- 远程/headless 环境用 `login-qr --platform zhihu`(抠二维码成图轮询),或走 Web「账号」页登录
- **选择器时效**:知乎正文为 Draft.js contenteditable,发布可能有二次确认弹窗;内置选择器为
最佳努力,**首次务必 `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
Profile 感知
- 有 Profile:文风专业、有逻辑链,贴合 `style.md`;话题标签按垂类。
- 无 Profile:按知乎通用规范(专业、结构化、有论据)。
规则
1. 知乎重深度与专业性,正文结构清晰、有论据;标题克制不标题党。 2. 长文可先用 video-to-article / social-content 成稿,再来发布。 3. 首次 `--headed` 目视确认写作页与发布弹窗;选择器失效即更新配置。 4. 正文为富文本编辑器,复杂排版建议登录后人工微调再发。
参考来源
知乎专栏写作页网页流程;复用统一 Playwright 框架。正文 Draft.js 编辑器,选择器按现状维护。
An open-source AI agent for social media — discover trends, create content, publish everywhere, and learn what works across Xiaohongshu, Douyin, Zhihu, Bilibili, and more.🎨一个开源的 AI 社交媒体智能体——发现热点趋势、创作内容、一键发布至各大平台,并学习分析哪些内容真正有效,覆盖小红书、抖音、知乎、哔哩哔哩等平台。
Other skills on easel.
More skills from other plugins.
ab-testing
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use…
seo
Comprehensive SEO analysis for any website or business type. Full site audits, single-page analysis, technical SEO (crawlability,…
brag
Turn the current project website into a short, polished, shareable launch video using Hyperframes. Use when someone says "/brag",…
geo-audit
Full website GEO+SEO audit with parallel subagent delegation. Orchestrates a comprehensive Generative Engine Optimization audit…
Questions about skill-zhihu-publisher.
- Which coding agents can use skill-zhihu-publisher?
- skill-zhihu-publisher installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

