
Canghe Post To X
Posts text, images, videos, and long-form articles to X using a real Chrome browser with CDP to dodge anti-automation detection. The workflow is semi-automated: scripts fill in your content and open the browser, then you review and hit publish yourself. Includes separate scripts for regular posts, video posts, quote tweets, and X Articles with Markdown support. First run requires manual login, but the session persists. The pre-flight check is thorough about catching Chrome conflicts and clipboard permissions, which matters since paste operations need system accessibility on macOS. Handles up to 4 images per post and converts Markdown to HTML for long-form articles. Works across macOS, Linux, and Windows.
- skills.sh installs
- 488
- GitHub stars
- 474
- last updated
- Aug 21, 2026
Install
$ npx -y skills add freestylefly/canghe-skills --skill canghe-post-to-x --agent claude-codeInstalls into .claude/skills of the current project.
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:
- Determine this SKILL.md file's directory path as
SKILL_DIR - Script path =
${SKILL_DIR}/scripts/<script-name>.ts - Replace all
${SKILL_DIR}in this document with the actual path
Script Reference:
| Script | Purpose |
|---|---|
scripts/x-browser.ts | Regular posts (text + images) |
scripts/x-video.ts | Video posts (text + video) |
scripts/x-quote.ts | Quote tweet with comment |
scripts/x-article.ts | Long-form article publishing (Markdown) |
scripts/md-to-html.ts | Markdown → HTML conversion |
scripts/copy-to-clipboard.ts | Copy content to clipboard |
scripts/paste-from-clipboard.ts | Send real paste keystroke |
scripts/check-paste-permissions.ts | Verify environment & permissions |
Preferences (EXTEND.md)
Use Bash to check EXTEND.md existence (priority order):
Sponsors
Details
- Repository
- github.com/freestylefly/canghe-skills
- Categories
- Release Management, Automation & Workflows
- First seen
- Jun 3, 2026
More from freestylefly/canghe-skills
All 29- Obsidian Markdown488
- Douyin Downloader485
- Json Canvas484
- Skill Creator483
- Obsidian Bases477
- Release Skills476
- Flyworks Avatar Video378
- Paddleocr Doc Parsing373
- Manga Drama863
- Manga Style Video667
- Seedance Video609
- Canghe Image Gen598
- Canghe Comic584
- Volcengine Video Understanding579
- Canghe Xhs Images573
- Canghe Cover Image545
- Canghe Markdown To Html536
- Canghe Article Illustrator522
- Canghe Infographic516
- Canghe Url To Markdown510
- Canghe Slide Deck506
- Canghe Format Markdown505
- Remotion Best Practices503
- Canghe Post To Wechat498