Skip to content

Command-line toolkit that fills X (Twitter) posts, videos, quote tweets, and articles through a real Chrome browser.

CCM score
64 of 100
skills.sh installs
495
GitHub stars
477
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers regular posts, video posts, quote tweets, and long-form X Articles written as Markdown files
  • Includes 8 scripts such as x-browser.ts, x-video.ts, x-quote.ts, and x-article.ts, plus a Markdown-to-HTML converter and clipboard helpers
  • Drives a real Chrome session over CDP so posts are only filled in, never published automatically, with the user reviewing each one
  • Designed for users who need to share content on X and want a manual final review step before anything goes live

Install

$ npx -y skills add freestylefly/canghe-skills --skill canghe-post-to-x -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Post to X (Twitter)

Posts text, images, videos, and long-form articles to X via real Chrome browser (bypasses anti-bot detection).

Script Directory

Important: All scripts are located in the scripts/ subdirectory of this skill.

Agent Execution Instructions:

  1. Determine this SKILL.md file's directory path as SKILL_DIR
  2. Script path = ${SKILL_DIR}/scripts/<script-name>.ts
  3. Replace all ${SKILL_DIR} in this document with the actual path

Script Reference:

ScriptPurpose
scripts/x-browser.tsRegular posts (text + images)
scripts/x-video.tsVideo posts (text + video)
scripts/x-quote.tsQuote tweet with comment
scripts/x-article.tsLong-form article publishing (Markdown)
scripts/md-to-html.tsMarkdown → HTML conversion
scripts/copy-to-clipboard.tsCopy content to clipboard
scripts/paste-from-clipboard.tsSend real paste keystroke
scripts/check-paste-permissions.tsVerify environment & permissions

Preferences (EXTEND.md)

Use Bash to check EXTEND.md existence (priority order):

Details

Repository
github.com/freestylefly/canghe-skills
Categories
Social Media, Browser Automation & Scraping
First seen
Jun 3, 2026

Questions

What does the canghe-post-to-x skill do?

canghe-post-to-x posts text, images, videos and long-form X Articles to X (Twitter) through a real Chrome browser, which helps it avoid anti-bot detection. The script opens the browser with the content already filled in, and you review and publish it yourself.

How do I install the canghe-post-to-x skill?

Run npx -y skills add freestylefly/canghe-skills --skill canghe-post-to-x -y in your project to install canghe-post-to-x. After that, canghe-post-to-x can post to X when you ask for a tweet, a post, or to share on X.

What does canghe-post-to-x need before I use it?

canghe-post-to-x needs Google Chrome or Chromium and the bun runtime installed on your machine. On the first run you must log in to X manually, and the session is then saved for later posts.

Where does canghe-post-to-x fit among Social Media skills?

canghe-post-to-x sits in the Social Media category alongside twitter-automation and several viral content skills. Its own focus is publishing finished posts, videos and X Articles through a real Chrome session.

More from freestylefly/canghe-skills

All 18

Similar to Canghe Post To X

More Social Media