Agent skill

X Publish

by aiskillstore in aiskillstore/marketplace

Publish tweets and threads to X (Twitter) draft using browser automation.

No licenceAuto-check passedWriting & Content

Install X Publish

skills CLI
$ npx skills add aiskillstore/marketplace --skill x-publish -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace x-publish --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/kangarooking/x-publish .claude/skills/x-publish && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
x-publish
GitHub stars
433
Token cost
~1.3k tokens
SKILL.md length
240 words
Files
3 (incl. scripts)
Skills in repo
1,044
Repo updated
First seen
Licence
None found

At a glance

Publish tweets and threads to X (Twitter) draft using browser automation.

  • Works in 3 steps: NEVER auto-publish - Only save to draft → User must be logged in - Prompt to login… → Verify content before saving -…
  • User wants to publish content to X
  • SKILL.md covers Prerequisites, Critical Rules, Content Types and Scripts, plus 6 more sections
  • Runs Python scripts from its folder; calls python and pip; reaches x.com

What it does

X Publish is an agent skill from aiskillstore/marketplace. 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.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/copy_to_clipboard.py` and `skill-report.json`).

It sits in Writing & Content, covering Social media posts and Browser automation. It works with X (Twitter). The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • User wants to publish content to X
  • Mentions publish to X

Example prompts

  • “publish to X”
  • “post tweet”
  • “x-publish”
  • “/x-publish”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit 44923f3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • x.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

X Publish loads about 1.3k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 240 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 240 words (~1,302 tokens).

“Publish tweets and threads to X draft using Playwright browser automation.”

— opening of SKILL.md by aiskillstore
name
x-publish

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts) in skills/kangarooking/x-publish of aiskillstore/marketplace.

  • SKILL.md
  • scripts/copy_to_clipboard.py
  • skill-report.json

Open the folder on GitHubat commit 44923f3

Compare with similar skills

X Publish next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

X Publish compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
X Publish this skillaiskillstore/marketplace433—~1.3kAutomated safety check: PassNone
X Post PublisherJimLiu/baoyu-skills27k1 repos~4.4kAutomated safety check: WarnMIT
Neo4ier/neo756—~1.8kAutomated safety check: PassNone
Publish X Articlesugarforever/01coder-agent-skills137—~5kAutomated safety check: PassMIT
Twitter X HubOpenMinis/MinisSkills446—~2.9kAutomated safety check: PassMIT
Twitterrefly-ai/refly-skills204—~277Automated safety check: PassNone

Similar skills

  • X Post Publisher

    JimLiu/baoyu-skills

    Publishes text posts, images, videos, quote posts and long-form X Articles written in Markdown through a real Chrome browser.

    27k GitHub starsUsed in 1 repo~4.4k tokens
    Productivity & AutomationAuto-check: warnings
  • Neo

    4ier/neo

    Browse websites, read web pages, interact with web apps, call website APIs, and automate web tasks.

    756 GitHub stars~1.8k tokensUpdated 5 mo ago
    Productivity & AutomationAuto-check passed
  • Publish X Article

    sugarforever/01coder-agent-skills

    Publishes a Markdown file or URL to the X Articles editor with formatting kept, turning tables, mermaid diagrams and deep headers that X cannot show into images.

    137 GitHub stars~5k tokensUpdated 3 mo ago
    Writing & ContentAuto-check passed
  • Twitter X Hub

    OpenMinis/MinisSkills

    Skill for reading and writing Twitter/X data with Python + UV, with zero third-party dependencies (pure standard library), by directly passing the authtoken + ct0 cookies for authentication.

    446 GitHub stars~2.9k tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • Twitter

    refly-ai/refly-skills

    Integrate with Twitter for social media management and engagement.

    204 GitHub stars~277 tokensUpdated 2 mo ago
    Writing & ContentAuto-check passed
  • Social

    coreyhaines31/marketingskills

    When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, or Facebook, or wants to do social listening and engagement triage.

    54k GitHub starsUsed in 4 repos~4.5k tokens
    Writing & ContentAuto-check passed

More from aiskillstore/marketplace

All 1,044 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    433 GitHub starsUsed in 1 repo~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    433 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    433 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    433 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed

Works with

Questions about X Publish

What does X Publish do?

Publish tweets and threads to X (Twitter) draft using browser automation. X Publish is an agent skill from aiskillstore/marketplace. Publish tweets and threads to X (Twitter) draft using browser automation.

When should I use X Publish?

X Publish fits situations like: user wants to publish content to X; mentions publish to X.

How do I install X Publish in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill x-publish -a claude-code`. Or copy the skill folder (skills/kangarooking/x-publish in aiskillstore/marketplace) into .claude/skills/x-publish in your project. Claude Code loads it when a task matches its description.

How do I install X Publish in Codex?

Run `npx skills add aiskillstore/marketplace --skill x-publish -a codex`. Or copy the skill folder (skills/kangarooking/x-publish in aiskillstore/marketplace) into .agents/skills/x-publish in your project. Codex loads it when a task matches its description.

Can I use X Publish in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill x-publish -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/x-publish, .gemini/skills/x-publish, .github/skills/x-publish and .opencode/skills/x-publish in your project.

What does X Publish need to run?

Going by SKILL.md and its folder, X Publish needs Python for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python 3.

Does X Publish access the network?

SKILL.md names 1 domain. In commands or code: x.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is X Publish safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does X Publish use?

No licence was found for X Publish or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does X Publish use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to X Publish?

Skills that share tags, products or a category with X Publish: X Post Publisher (JimLiu/baoyu-skills, 27k stars), Neo (4ier/neo, 756 stars), Publish X Article (sugarforever/01coder-agent-skills, 137 stars) and Twitter X Hub (OpenMinis/MinisSkills, 446 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains X Publish?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 433 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 10, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.