Agent skill

x-article-publisher

Publish Markdown articles to X (Twitter) Articles editor with proper formatting. Use when user wants to publish a Markdown file/URL to X Articles, or mentions "publish to X", "post article to Twitter", "X article", or wants help with X Premium article publishing. Handles cover image upload and converts Markdown to rich text automatically.

anbeimegithub.com/anbeimeGitHub ↗
claude-codeships scripts
Install
npx skills add anbeime/skill --skill qiaomu-x-article-publisher --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 34
SKILL.md size: 6 KB
Bundled scripts: yes
Path: skills/qiaomu-x-article-publisher/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 4,714
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# X Article Publisher Publish Markdown content to X (Twitter) Articles editor, preserving formatting with rich text conversion. ## Prerequisites - X Premium Plus subscription - Python 3.9+ with dependencies: `pip install Pillow pyobjc-framework-Cocoa patchright` ## 🎉 首次使用:一次认证,告别重复登录 **X Article Publisher 现在支持持久化认证,无需每次手动登录!** ### 🔧 初始化认证(仅需一次) 首次使用前,运行认证设置: ```bash cd ~/.claude/skills/x-article-publisher/scripts python auth_manager.py setup ``` **流程:** 1. ✅ 浏览器窗口自动打开 X 登录页面 2. 🔐 手动登录你的 X 账号(需 Premium+ 订阅) 3. ✅ 完成 2FA 验证(如已启用) 4. 🏠 登录成功后自动跳转到 Home 时间线 5. 💾 认证状态自动保存(有效期 7 天) ### 📋 认证管理命令 ```bash # 检查认证状态 python auth_manager.py status # 验证认证是否有效 python auth_manager.py validate # 清除认证数据(需重新登录) python auth_manager.py clear # 重新认证(清除 + 设置) python auth_manager.py reauth ``` ### 🚀 自动化工作流 认证设置完成后,skill 执行时会自动: 1. ✅ 检查认证状态 2. 🔓 如已认证,直接使用保存的浏览器状态(无需登录) 3. ⚠️ 如未认证,提示运行 `auth_manager.py setup` **注意**:认证数据存储在 `~/.claude/skills/x-article-publisher/data/browser_state/`,已通过 .gitignore 排除,不会提交到 Git。 --- ## Scripts Located in `~/.claude/skills/x-article-publisher/scripts/`: ### publish_article.py (主脚本 - 一键发布) **推荐使用** - 自动完成所有发布步骤: ```bash # 基本用法(默认显示浏览器) python publish_article.py --file art

What's inside
Steps it walks through
  1. Prerequisites
  2. 🎉 首次使用:一次认证,告别重复登录
  3. 🔧 初始化认证(仅需一次)
  4. 📋 认证管理命令
  5. 🚀 自动化工作流
  6. Scripts
  7. publisharticle.py (主脚本 - 一键发布)
  8. parsemarkdown.py
  9. copytoclipboard.py
  10. Workflow (简化版)
  11. 🚀 一键发布(推荐)
  12. 手动工作流(高级用户)
  13. 🧠 智能增强功能
  14. 智能标题生成
Ships with 24 files
  • .gitignore
  • CHANGELOG.md
  • LICENSE
  • README.md
  • data/.gitignore
  • data/.gitkeep
  • data/browser_state/.gitkeep
  • metadata.json
  • qiaomu-x-article-publisher-github/.gitignore
  • qiaomu-x-article-publisher-github/CHANGELOG.md
  • qiaomu-x-article-publisher-github/CONTRIBUTING.md
  • qiaomu-x-article-publisher-github/LICENSE
  • qiaomu-x-article-publisher-github/README.md
  • qiaomu-x-article-publisher-github/README_FULL.md
  • qiaomu-x-article-publisher-github/SKILL.md
  • qiaomu-x-article-publisher-github/data/.gitignore
  • qiaomu-x-article-publisher-github/data/.gitkeep
  • qiaomu-x-article-publisher-github/data/browser_state/.gitkeep
  • qiaomu-x-article-publisher-github/metadata.json
  • qiaomu-x-article-publisher-github/scripts/auth_manager.py
  • qiaomu-x-article-publisher-github/scripts/copy_to_clipboard.py
  • qiaomu-x-article-publisher-github/scripts/debug_editor.py
  • qiaomu-x-article-publisher-github/scripts/debug_page.py
  • qiaomu-x-article-publisher-github/scripts/parse_markdown.py
first 24 of 34
Commands it runs
cd ~/.claude/skills/x-article-publisher/scripts
python auth_manager.py setup
python auth_manager.py status
python auth_manager.py validate
python auth_manager.py clear
python auth_manager.py reauth
python publish_article.py --file article.md
python publish_article.py --file article.md --headless
python publish_article.py --file article.md --title "自定义标题"
python parse_markdown.py <markdown_file> [--output json|html] [--html-only]
More from skill
All skills →
About this skill
What does the x-article-publisher skill do?

Publish Markdown articles to X (Twitter) Articles editor with proper formatting. Use when user wants to publish a Markdown file/URL to X Articles, or mentions "publish to X", "post article to Twitter", "X article", or wants help with X Premium article publishing. Handles cover image upload and converts Markdown to rich text automatically.

How do I install it?

Run `npx skills add anbeime/skill --skill qiaomu-x-article-publisher --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From anbeime/skill, a repository with 4,714 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going