Skip to content
Marketing
Skill

/skill-zhihu-publisher

知乎发布:把文章发布到知乎专栏(也可用于回答草稿)。当用户说"发知乎""知乎发布" "发布知乎文章""知乎专栏""投知乎"时使用。基于通用浏览器发布框架(Playwright + 登录态持久化)。

BOOST
From plugin
easel
3.3k114 skills
Install
$ npx -y skills add zju-real/easel --skill skill-zhihu-publisher --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/skill-zhihu-publisher

Context preview

The summary Claude sees to decide when to auto-load this skill.

知乎发布:把文章发布到知乎专栏(也可用于回答草稿)。当用户说"发知乎""知乎发布" "发布知乎文章""知乎专栏""投知乎"时使用。基于通用浏览器发布框架(Playwright + 登录态持久化)。

SKILL.md

skill-zhihu-publisher.SKILL.md
name: 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 编辑器,选择器按现状维护。

Ships witheasel

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 社交媒体智能体——发现热点趋势、创作内容、一键发布至各大平台,并学习分析哪些内容真正有效,覆盖小红书、抖音、知乎、哔哩哔哩等平台。

Get the whole plugin
Stats
3,463
Stars
528
Forks
Active
Maintenance
Python
Language
Apache-2.0
License
2h ago
Last commit
1mo ago
Created
4d ago
Added

Repo: zju-real/easel

Other skills on easel.

asset-manager
Skill

asset-manager

outputs/ 目录下的产物管理:按日期/平台/类型归档、打标签、搜索历史内容、生成素材清单。 当用户说"整理素材"、"归档"、"找之前的内容"、"搜索历史"、"素材管理"、…

@zju-real@zju-realView Skill
audio-editing
Skill

audio-editing

通用音频处理:音频剪辑/裁剪、格式转码(mp3/wav/m4a/aac)、音量归一化、从视频提取音轨、多段拼接、淡入淡出、变速(保音高)。当用户说“剪音频”“裁一段”“转成…

@zju-real@zju-realView Skill