🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

X 长文发布

by @cellinlab

Publish existing Markdown articles to X (Twitter) Articles drafts with browser automation preparation, rich-text clipboard support, image/divider positioning...

💡 Examples

1. 先确认用户已经有一篇可发布的 Markdown 长文。 2. 发布前先跑解析脚本,拿到 title、HTML、封面图、正文图片和分割线位置。 3. 优先导出本机 X/Twitter cookies 给 Playwright,用已有登录态减少手动登录。 4. 默认只保存草稿,不自动发布。

当前 skill 目录内置的最小工具链:

pip install -r skills/x-article-publisher/requirements.txt

解析 Markdown

python3 skills/x-article-publisher/scripts/parse_markdown.py article.md

生成 HTML 并复制到剪贴板

python3 skills/x-article-publisher/scripts/parse_markdown.py article.md --save-html /tmp/x-article.html --output json python3 skills/x-article-publisher/scripts/copy_to_clipboard.py html --file /tmp/x-article.html

导出或复用 X/Twitter cookies 缓存

python3 skills/x-article-publisher/scripts/export_x_cookies.py

强制刷新缓存,或从其他浏览器读取

python3 skills/x-article-publisher/scripts/export_x_cookies.py --no-cache --browser edge

View on ClawHub
TERMINAL
clawhub install cell-x-article-publisher

🧪 Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

🔍 Can't find the right skill?

Search 60,000+ AI agent skills — free, no login needed.

Search Skills →