Agent skill

Canghe Post To X

by freestylefly in freestylefly/canghe-skills

Posts content and articles to X (Twitter). An agent skill from freestylefly/canghe-skills.

No licenceAuto-check: warningsMarketing & SEO

Install Canghe Post To X

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add freestylefly/canghe-skills --skill canghe-post-to-x -a claude-code

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

GitHub CLI
$ gh skill install freestylefly/canghe-skills canghe-post-to-x --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/freestylefly/canghe-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/canghe-post-to-x .claude/skills/canghe-post-to-x && 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
canghe-post-to-x
GitHub stars
461
Used in
4 other repos
Token cost
~1.7k tokens
SKILL.md length
528 words
Files
14 (incl. scripts, references)
Skills in repo
19
Repo updated
First seen
Licence
None found

At a glance

Posts content and articles to X (Twitter). An agent skill from freestylefly/canghe-skills.

  • Works in 3 steps: Determine this SKILL.md file's directory… → Script path = ${SKILL_DIR}/scripts/.ts → Replace all ${SKILL_DIR} in this…
  • User asks to post to X
  • SKILL.md covers Script Directory, Preferences (EXTEND.md), Prerequisites and Pre-flight Check (Optional), plus 8 more sections
  • Runs TypeScript scripts from its folder; calls npx, curl and bash; reaches bun.sh and x.com

What it does

Canghe Post To X is an agent skill from freestylefly/canghe-skills. Posts content and articles to X (Twitter). Supports regular posts with images/videos and X Articles (long-form Markdown). Uses real Chrome with CDP to bypass anti-automation. Use when user asks to "post to X", "tweet", "publish to Twitter", or "share on X".

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including scripts and reference files (for example `references/articles.md`, `references/regular-posts.md` and `scripts/check-paste-permissions.ts`).

It sits in Marketing & SEO, covering Social publishing and cross-posting and Social media posts. It works with X (Twitter). The repository describes itself as: 苍何的技能skills仓库,搜集好用的 skills,辅助提效.

When your agent uses it

  • User asks to post to X
  • Publish to Twitter

Example prompts

  • “post to X”
  • “publish to Twitter”
  • “share on X”
  • “/canghe-post-to-x”

Requirements

  • Node.js

Workflow steps

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

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

What it can do on your machine

Read from SKILL.md and the folder at commit dd0bf35. 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 11 files in scripts/ (TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • npx
    • curl
    • bash

    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:

    • bun.sh
    • 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

Canghe Post To X loads about 1.7k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 69 tokens; SKILL.md has 528 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.7k

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: warnings

The automated check found patterns that need a careful read before installing.

  • NotePipes a well-known installer script into a shellSKILL.md:83
    | Bun runtime | `curl -fsSL https://bun.sh/install \| bash` |
  • WarningTells the agent its actions are pre-authorized / not to stop for confirmationSKILL.md:187
    ome CDP instances and retry the command without asking the user.

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 528 words (~1,726 tokens).

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

— opening of SKILL.md by freestylefly
name
canghe-post-to-x

Read the full SKILL.md on GitHub

Files

SKILL.md and 13 other files (scripts, references) in skills/canghe-post-to-x of freestylefly/canghe-skills.

  • SKILL.md
  • references/articles.md
  • references/regular-posts.md
  • scripts/bun.lock
  • scripts/check-paste-permissions.ts
  • scripts/copy-to-clipboard.ts
  • scripts/md-to-html.ts
  • scripts/package.json
  • scripts/paste-from-clipboard.ts
  • scripts/x-article.ts
  • scripts/x-browser.ts
  • scripts/x-quote.ts
  • scripts/x-utils.ts
  • scripts/x-video.ts

Open the folder on GitHubat commit dd0bf35

Used in 4 other repositories

We found 6 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in freestylefly/canghe-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Canghe Post To X 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.

Canghe Post To X compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Canghe Post To X this skillfreestylefly/canghe-skills4614 repos~1.7kAutomated safety check: WarnNone
X Post PublisherJimLiu/baoyu-skills27k1 repos~4.4kAutomated safety check: WarnMIT
Getxapi ConnectLeoYeAI/openclaw-marketing-skills1k1 repos~715Automated safety check: PassCustom licence
Ops SocialsLifecycle-Innovations-Limited/claude-ops542—~3.6kAutomated safety check: NotesMIT
X Twitter ConnectLeoYeAI/openclaw-marketing-skills1k1 repos~1.6kAutomated safety check: PassCustom licence
Platform Strategy Smsblacktwist/social-media-skills560—~3.8kAutomated safety check: PassMIT

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
  • Getxapi Connect

    LeoYeAI/openclaw-marketing-skills

    Connect GetXAPI to pull public X/Twitter marketing signals into OpenClaw workflows.

    1k GitHub starsUsed in 1 repo~715 tokens
    Marketing & SEOAuto-check passed
  • Ops Socials

    Lifecycle-Innovations-Limited/claude-ops

    OPS on-demand: This skill should be used when the user asks to "tweet", "post to linkedin", or…

    542 GitHub stars~3.6k tokensUpdated today
    Marketing & SEOAuto-check: notes
  • X Twitter Connect

    LeoYeAI/openclaw-marketing-skills

    Connect TweetClaw to pull public X/Twitter marketing signals into OpenClaw workflows.

    1k GitHub starsUsed in 1 repo~1.6k tokens
    Marketing & SEOAuto-check passed
  • Platform Strategy Sms

    blacktwist/social-media-skills

    When the user wants platform-specific tactical guidance for LinkedIn, Twitter/X, Threads, or Bluesky.

    560 GitHub stars~3.8k tokensUpdated 5 mo ago
    Writing & ContentAuto-check passed
  • Same Idea Both Platforms

    sickn33/agentic-awesome-skills

    Write one idea as a Twitter/X post and a LinkedIn post that read as written separately, not pasted twice.

    47k GitHub starsUsed in 1 repo~1.4k tokens
    Writing & ContentAuto-check passed

More from freestylefly/canghe-skills

All 19 skills in this repo
  • Canghe Comic

    freestylefly/canghe-skills

    Knowledge comic creator supporting multiple art styles and tones.

    461 GitHub starsUsed in 8 repos~3.2k tokens
    Auto-check passed
  • Canghe Post To Wechat

    freestylefly/canghe-skills

    Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP.

    461 GitHub starsUsed in 3 repos~3.4k tokens
    Auto-check: notes
  • Canghe URL To Markdown

    freestylefly/canghe-skills

    Fetch any URL and convert to markdown using Chrome CDP. An agent skill from freestylefly/canghe-skills.

    461 GitHub starsUsed in 4 repos~1.1k tokens
    Auto-check passed
  • Canghe Xhs Images

    freestylefly/canghe-skills

    Generates Xiaohongshu (Little Red Book) infographic series with 10 visual styles and 8 layouts.

    461 GitHub starsUsed in 4 repos~4.9k tokens
    Auto-check passed
  • Canghe Markdown To HTML

    freestylefly/canghe-skills

    Converts Markdown to styled HTML with WeChat-compatible themes.

    461 GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check passed
  • Canghe Image Gen

    freestylefly/canghe-skills

    AI image generation with OpenAI, Google, DashScope and Canghe APIs.

    461 GitHub stars~1.8k tokensUpdated 4 mo ago
    Auto-check: notes

Works with

Questions about Canghe Post To X

What does Canghe Post To X do?

Posts content and articles to X (Twitter). An agent skill from freestylefly/canghe-skills. Canghe Post To X is an agent skill from freestylefly/canghe-skills. Posts content and articles to X (Twitter).

When should I use Canghe Post To X?

Canghe Post To X fits situations like: user asks to post to X; publish to Twitter.

How do I install Canghe Post To X in Claude Code?

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

How do I install Canghe Post To X in Codex?

Run `npx skills add freestylefly/canghe-skills --skill canghe-post-to-x -a codex`. Or copy the skill folder (skills/canghe-post-to-x in freestylefly/canghe-skills) into .agents/skills/canghe-post-to-x in your project. Codex loads it when a task matches its description.

Can I use Canghe Post To X 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 freestylefly/canghe-skills --skill canghe-post-to-x -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/canghe-post-to-x, .gemini/skills/canghe-post-to-x, .github/skills/canghe-post-to-x and .opencode/skills/canghe-post-to-x in your project.

What does Canghe Post To X need to run?

Going by SKILL.md and its folder, Canghe Post To X needs TypeScript for the scripts in its folder and the command-line tools its instructions call (npx, curl and bash). Our summary lists: Node.js.

Does Canghe Post To X access the network?

SKILL.md names 2 domains. In commands or code: bun.sh and x.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Canghe Post To X safe to install?

Our automated static check of SKILL.md flagged 1 warning(s): tells the agent its actions are pre-authorized / not to stop for confirmation. Read the flagged lines before installing; the check is not a guarantee either way. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Canghe Post To X use?

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

How many tokens does Canghe Post To X use?

About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2k tokens, read only when the agent opens those files.

What are the alternatives to Canghe Post To X?

Skills that share tags, products or a category with Canghe Post To X: X Post Publisher (JimLiu/baoyu-skills, 27k stars), Getxapi Connect (LeoYeAI/openclaw-marketing-skills, 1k stars), Ops Socials (Lifecycle-Innovations-Limited/claude-ops, 542 stars) and X Twitter Connect (LeoYeAI/openclaw-marketing-skills, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Canghe Post To X?

freestylefly (a GitHub user) maintains it in freestylefly/canghe-skills, which has 461 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on June 8, 2026.

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