X Publish
Publish tweets and threads to X (Twitter) draft using browser automation. Use when user wants to publish content to X, save to drafts, or mentions "publish to X", "post tweet", "x-publish", "发布推文". Supports short tweets and threads. NEVER auto-publish, always saves to draft.
Install
npx skills add kangarooking/x-skills --skill x-publishgit clone --depth 1 https://github.com/kangarooking/x-skills.git /tmp/x-skills
mkdir -p ~/.claude/skills
cp -r /tmp/x-skills/x-publish ~/.claude/skills/x-publishPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# X Publish Publish tweets and threads to X draft using Playwright browser automation. ## Prerequisites - Playwright MCP for browser automation - User logged into X (Twitter) - Python 3.9+ with dependencies: - macOS: `pip install Pillow pyobjc-framework-Cocoa` - Windows: `pip install Pillow pywin32` ## Critical Rules 1. **NEVER auto-publish** - Only save to draft 2. **User must be logged in** - Prompt to login if not 3. **Verify content before saving** - Double-check tweet text ## Content Types ### Short Tweet Single tweet ≤280 characters ### Thread Multiple tweets connected (3-10 tweets) ## Scripts ### copy_to_clipboard.py Copy text to system clipboard for paste operation: ```bash # Copy text to clipboard python scripts/copy_to_clipboard.py text "Tweet content here" # Copy from file python scripts/copy_to_clipboard.py text --file /tmp/tweet.txt ``` ## Workflow ### Short Tweet **Step 1: Prepare Content** ```bash # Save tweet to temp file echo "Tweet content" > /tmp/tweet.txt # Copy to clipboard python scripts/copy_to_clipboard.py text --file /tmp/tweet.txt ``` **Step 2: Open Compose** ``` browser_navigate: https://x.com/compose/post ``` **Step 3: Paste Content** ``` browser_snapshot → Find tweet textbox browser_click: textbox browser_press_key: Meta+v ``` **Step 4: Save Draft** ``` browser_click: X (close button) browser_click: "Save" or "保存" in dialog ``` **Step 5: Verify** ``` Report: "Draft saved. Please review at https://x.com/compose/drafts" ```
Details
- Skill name
x-publish- Repository
- kangarooking/x-skills
- Path
x-publish/SKILL.md- License
- Apache-2.0
- Repo updated
- 21 February 2026
FAQ
What does the X Publish skill do?
Publish tweets and threads to X (Twitter) draft using browser automation. Use when user wants to publish content to X, save to drafts, or mentions "publish to X", "post tweet", "x-publish", "发布推文". Supports short tweets and threads. NEVER auto-publish, always saves to draft.
How do I install the X Publish skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add kangarooking/x-skills --skill x-publish. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is X Publish popular?
It lives in kangarooking/x-skills, which has 356 GitHub stars and 56 forks.
Related skills
X Collect
356kangarooking/x-skills
Collect and research materials for X (Twitter) content creation using multi-round web search strategy. Use when user wants to gather trending topics, research subjects for X posts, or mentions "collect materials", "research topic", "find content for X", "x-collect". Performs 4-round deep research mimicking human research workflow.
X Create
356kangarooking/x-skills
Create viral X (Twitter) posts including short tweets, threads, and replies. Use when user wants to write X content, create posts, or mentions "create tweet", "write thread", "x-create", "写推文", "创作推文". Supports 5 post styles with customizable templates, plus a mandatory humanize pass to reduce AI-sounding phrasing. First-time users go through onboarding to set up profile.
X Filter
356kangarooking/x-skills
Score and filter topics for X content creation using weighted criteria. Use when user wants to evaluate collected materials, filter topics by score, or mentions "filter topics", "score materials", "x-filter", "选题筛选". Applies 10-point scoring system with customizable weights.
Requirements
434owainlewis/blueprint
Writes the product requirements document (PRD) in root REQUIREMENTS.md as user stories with checkable outcomes. Use for a new product or a change to what it should do.
Spec
434owainlewis/blueprint
Writes a spec for one feature: a short PRD (problem and user journeys) plus the technical design an agent builds from. Use when decisions must be settled before building. The spec is the ticket.
Content Experimentation Best Practices
200sanity-io/agent-toolkit
Content experimentation and A/B testing guidance covering experiment design, hypotheses, metrics, sample size, statistical foundations, CMS-managed variants, and common analysis pitfalls. Use this skill when planning experiments, setting up variants, choosing success metrics, interpreting statistical results, or building experimentation workflows in a CMS or frontend stack.
Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.