Claude Skill

wshuyi/x-article-publisher-skill

一个用于将 Markdown 文章发布到 X(Twitter)文章的 Claude Skill。通过这个基于 Python 的工具自动化您的内容分发流程。

概览

Stars482
Forks49
语言Python
最后更新2026-01-25
最近同步2026-06-10
前往 GitHub

仓库信息

拥有者wshuyi
仓库x-article-publisher-skill
完整名称wshuyi/x-article-publisher-skill
Repo ID1,125,558,827

安装这个 Skill

pip install Pillow pyobjc-framework-Cocoa

Registry 信息

类型mcp_server
质量分75/100
验证状态readme_parsed
最近验证2026-06-10
平台
ClaudeMCP
能力
browserpdfmemoryimageterminalworkflow
识别文件
README.mddocs
安装方式
  • pip install Pillow pyobjc-framework-Cocoa
  • pip install Pillow pywin32 clip-util
  • npm install -g @mermaid-js/mermaid-cli
  • git clone https://github.com/wshuyi/x-article-publisher-skill.git

项目简介

一个 Claude Skill,支持将 Markdown 文章自动发布到 X(Twitter)文章平台。

英文描述

Claude Code skill for publishing Markdown articles to X (Twitter) Articles

要点

  • 将 Markdown 内容发布到 X 文章
  • 自动化文章发布流程
  • 基于 Python 实现

使用场景

  • 自动化发布内容到 X
  • 简化文章分发流程
  • X 平台内容管理

README 摘要

# X Article Publisher Skill [English](README.md) | [中文](README_CN.md) > Publish Markdown articles to X (Twitter) Articles with one command. Say goodbye to tedious rich text editing. **v1.2.0** — Now with divider support, table-to-image, Mermaid support, and cross-platform clipboard --- ## The Problem If you're used to writing in Markdown, publishing to X Articles is a **painful process**: | Pain Point | Description | |------------|-------------| | **Format Loss** | Copy from Markdown editor → Paste to X → All formatting gone | | **Manual Formatting** | Set each H2, bold, link manually — 15-20 min per article | | **Tedious Image Upload** | 5 clicks per image: Add media → Media → Add photo → Select → Wait | | **Position Errors** | Hard to remember where each image should go | ### Time Comparison | Task | Manual | With This Skill | |------|--------|-----------------| | Format conversion | 15-20 min | 0 (automatic) | | Cover image | 1-2 min | 10 sec | | 5 content images | 5-10 min | 1 min | | **Total** | **20-30 min** | **2-3 min** | **10x efficiency improvement** --- ## The Solution This skill automates the entire publishing workflow: ``` Markdown File ↓ Python parsing Structured Data (title, images with block_index, HTML) ↓ Playwright MCP X Articles Editor (browser automation) ↓ Draft Saved (never auto-publishes) ``` ### Key Features - **Rich Text Paste**: Convert Markdown to HTML, paste via clipboard — all formatting preserved - **Block-Index Positioning** (v1.1): Precise image placement using element indices, not text matching - **Reverse Insertion**: Insert images from highest to lowest index to avoid position shifts - **Smart Wait Strategy**: Conditions return immediately when met, no wasted wait time - **Safe by Design**: Only saves as

话题

暂无话题

探索更多

数据来自 GitHub,同步时间:2026-06-10