Canghe Post To X
freestylefly/canghe-skills
Posts content and articles to X (Twitter). An agent skill from freestylefly/canghe-skills.
When a workflow needs public X/Twitter data through UnifAPI — profiles, posts, engagement, followers/following, recent search, autocomplete, or trends.
$ npx skills add unifapi-agent/agents --skill x-twitter -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install unifapi-agent/agents x-twitter --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/unifapi-agent/agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/x-twitter-agent/x-twitter .claude/skills/x-twitter && rm -rf skills-srcUse ~/.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/
Install the "x-twitter" agent skill from https://github.com/unifapi-agent/agents/tree/main/skills/x-twitter-agent/x-twitter into .claude/skills/x-twitter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "x-twitter", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/unifapi-agent/agents/tree/main/skills/x-twitter-agent/x-twitterType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add unifapi-agent/agents --skill x-twitter -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install unifapi-agent/agents x-twitter --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/unifapi-agent/agents.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/x-twitter-agent/x-twitter .agents/skills/x-twitter && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "x-twitter" agent skill from https://github.com/unifapi-agent/agents/tree/main/skills/x-twitter-agent/x-twitter into .agents/skills/x-twitter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "x-twitter", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add unifapi-agent/agents --skill x-twitter -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install unifapi-agent/agents x-twitter --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/unifapi-agent/agents.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/x-twitter-agent/x-twitter .cursor/skills/x-twitter && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "x-twitter" agent skill from https://github.com/unifapi-agent/agents/tree/main/skills/x-twitter-agent/x-twitter into .cursor/skills/x-twitter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "x-twitter", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/unifapi-agent/agents.git --path skills/x-twitter-agent/x-twitter--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add unifapi-agent/agents --skill x-twitter -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install unifapi-agent/agents x-twitter --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/unifapi-agent/agents.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/x-twitter-agent/x-twitter .gemini/skills/x-twitter && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "x-twitter" agent skill from https://github.com/unifapi-agent/agents/tree/main/skills/x-twitter-agent/x-twitter into .gemini/skills/x-twitter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "x-twitter", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install unifapi-agent/agents x-twitterInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add unifapi-agent/agents --skill x-twitter -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/unifapi-agent/agents.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/x-twitter-agent/x-twitter .github/skills/x-twitter && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "x-twitter" agent skill from https://github.com/unifapi-agent/agents/tree/main/skills/x-twitter-agent/x-twitter into .github/skills/x-twitter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "x-twitter", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add unifapi-agent/agents --skill x-twitter -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install unifapi-agent/agents x-twitter --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/unifapi-agent/agents.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/x-twitter-agent/x-twitter .opencode/skills/x-twitter && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "x-twitter" agent skill from https://github.com/unifapi-agent/agents/tree/main/skills/x-twitter-agent/x-twitter into .opencode/skills/x-twitter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "x-twitter", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
x-twitterWhen a workflow needs public X/Twitter data through UnifAPI — profiles, posts, engagement, followers/following, recent search, autocomplete, or trends.
X Twitter is an agent skill from unifapi-agent/agents. When a workflow needs public X/Twitter data through UnifAPI — profiles, posts, engagement, followers/following, recent search, autocomplete, or trends. Also use on "read this X handle," "pull tweets for," "X follower count," "search X for," "Twitter engagement," "X trends," or when another skill (KOL pricing, creator shortlist, buying signals, competitor/listening) needs the deterministic X read path. Connect via the unifapi skill first. Read-only research, never posts.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).
It sits in Marketing & SEO, covering Social media posts. It works with X (Twitter). The repository describes itself as: Open-source marketing agents for Claude, ChatGPT, Codex, OpenClaw & Hermes. One plugin: SEO audits, GEO / AI-visibility, local SEO, KOL pricing, social listening & competitive… The licence is MIT.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit fb53247. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json and markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
X Twitter loads about 2k tokens when it runs. Until then it costs about 122 tokens; SKILL.md has 726 words of instructions outside code blocks.
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.
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); files beside SKILL.md are not scanned.
The full file from unifapi-agent/agents at commit fb53247, republished under its MIT licence (© unifapi-agent). 726 words, ~1,994 tokens.
.claude/skills/x-twitter/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.The deterministic read path for public X (Twitter) data through UnifAPI. This
is a Data Skill: it does not run a marketing job on its own — it names the
concrete x/... operations, response shapes, and gotchas so any X-first
workflow (KOL pricing, creator vetting, buying signals, competitor and listening
work) reads from one known recipe instead of rediscovering the surface each time.
Read-only — eyes, not hands. It researches public X data and returns cited records; it never posts, replies, follows, or DMs, and UnifAPI never holds X credentials.
unifapi skill for live evidenceConnect once through the shared unifapi skill (OAuth MCP), then call the
operations below. The X integration is backed by RapidAPI SocialLab but the
public contract uses X-style /x/... paths — do not use legacy
/twitter/... paths. Keep any billing metadata so the output can state record
cost.
Single-entity endpoints return the object in data:
{
"request_id": "unif_...",
"data": {},
"billing": { "records_charged": 1, "balance_remaining": 99 }
}List endpoints return an array in data plus pagination:
{
"request_id": "unif_...",
"data": [],
"pagination": { "has_more": false, "next_cursor": null },
"billing": { "records_charged": 1 }
}When pagination.has_more is true, pass pagination.next_cursor as the next
request's pagination_token (next_token is also accepted). Always preserve
billing when reporting cost.
| Need | Operation |
|---|---|
| Profile by handle | x/users/by/username/{username} |
| Profiles by handles | x/users/by (?usernames=a,b) |
| Profile by id | x/users/{id} |
| Profiles by ids | x/users (?ids=123,456) |
| Recent authored posts | x/users/{id}/tweets (?max_results=10&exclude=replies) |
| Search recent posts | x/tweets/search/recent (?query=...&max_results=10) |
| Autocomplete users/topics | x/autocomplete (?query=...) |
| Post by id / posts by ids | x/tweets/{id} · x/tweets (?ids=123,456) |
| Who amplified a post | x/tweets/{id}/retweeted_by · x/tweets/{id}/quote_tweets |
| Who liked a post | x/tweets/{id}/liking_users |
| What a user likes | x/users/{id}/liked_tweets |
| Followers / following | x/users/{id}/followers · x/users/{id}/following |
| Verified followers | x/users/{id}/verified_followers |
| Regional trends | x/trends/by/woeid/{woeid} |
Need a field not listed here? Use the unifapi skill's get_operation to read
the exact schema before calling — but pick the operation from this table, don't
discover blind.
The deterministic recipes. Pick the one that matches the job; each names exactly what to call.
@, then call
x/users/by/username/{username}. Read data.id (needed for every per-user
call below) and data.public_metrics.followers_count.x/users/{id}/tweets?max_results=10&exclude=replies. Compute engagement from
each tweet's public_metrics (like_count, retweet_count, reply_count,
quote_count, impression_count). Page with
x/users/{id}/tweets?pagination_token={next_cursor} when has_more.x/tweets/{id}/retweeted_by, x/tweets/{id}/quote_tweets, or
x/tweets/{id}/liking_users to see who reposted, quoted, or liked it — the
amplification and intent signal behind buying-signal, listening, and
competitor work. Use x/users/{id}/liked_tweets for what a user engages with.
Page via next_cursor.x/users/{id}/verified_followers; it returns
the verified followers as a paginated list, not a ready figure. Measure its
size against data.public_metrics.followers_count from step 1 — that verified
share is the real-vs-inflated signal that feeds confidence and warnings in
downstream pricing/vetting skills. Page via next_cursor for a fuller count.x/tweets/search/recent?query=... for recent matching posts, or
x/autocomplete?query=... for user/topic suggestions, then resolve the
surfaced handles with step 1.x/users/{id}/followers or x/users/{id}/following
for audience-overlap or reach work; page via next_cursor.x/trends/by/woeid/{woeid} for what's trending
in a location (WOEID), e.g. for listening or content-timing.billing.records_charged (or estimate when billing metadata is
absent).XUser — metrics nested under public_metrics: followers_count,
following_count, tweet_count, listed_count. Profile flags at top level:
protected, verified, verified_type. Read public_metrics, not legacy
flat fields.XTweet — metrics nested under public_metrics: like_count,
retweet_count, reply_count, quote_count, bookmark_count,
impression_count. May include author and media when available./x/... paths, never /twitter/... (legacy). Old /twitter/users/{screen_name}
→ x/users/by/username/{username}; old /twitter/search →
x/tweets/search/recent (use x/autocomplete for user/topic discovery).data.id before any x/users/{id}/... call.billing.truncated_due_to_balance — when true the page is partial, so top up
before trusting any count or share computed from it.Return the records the calling workflow needs, each cited to its post/profile,
plus a one-line cost note (records_charged). When this skill is used directly,
a compact profile + engagement summary per handle is the default:
**@handle** — followers {N}, verified {yes/no}. Recent 10 posts: avg engagement {x}% ({likes}/{reposts}/{replies}). Evidence: {post URLs}. Records: ~{N}.get_operation.© unifapi-agent, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/x-twitter-agent/x-twitter of unifapi-agent/agents.
Open the folder on GitHubat commit fb53247
X Twitter 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| X Twitter this skillunifapi-agent/agents | 587 | — | ~2k | Automated safety check: Pass | MIT | |
| Canghe Post To Xfreestylefly/canghe-skills | 461 | 4 repos | ~1.7k | Automated safety check: Warn | None | |
| Getxapi ConnectLeoYeAI/openclaw-marketing-skills | 1k | 1 repos | ~715 | Automated safety check: Pass | Custom licence | |
| X Twitter ConnectLeoYeAI/openclaw-marketing-skills | 1k | 1 repos | ~1.6k | Automated safety check: Pass | Custom licence | |
| Twitter Intelligencesandbaseai/sandbase-skills | 201 | — | ~943 | Automated safety check: Pass | Apache-2.0 | |
| Socialcoreyhaines31/marketingskills | 54k | 4 repos | ~4.5k | Automated safety check: Pass | MIT |
freestylefly/canghe-skills
Posts content and articles to X (Twitter). An agent skill from freestylefly/canghe-skills.
LeoYeAI/openclaw-marketing-skills
Connect GetXAPI to pull public X/Twitter marketing signals into OpenClaw workflows.
LeoYeAI/openclaw-marketing-skills
Connect TweetClaw to pull public X/Twitter marketing signals into OpenClaw workflows.
sandbaseai/sandbase-skills
Search tweets, analyze trends, monitor users, and gather social intelligence from Twitter/X through SandBase.
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.
carson2222/skills
Writes and reviews X posts, threads and replies using what the open-sourced For You ranking system rewards, and explains why a post may have underperformed.
unifapi-agent/agents
When the user wants to track how often their brand or domain gets mentioned across ChatGPT and AI search engines over a set of prompts, and how that share of voice compares to named competitors over…
unifapi-agent/agents
When a seller or SDR wants to catch public buying intent on X/Twitter and LinkedIn — someone asking for a tool they sell, complaining about or switching off a competitor, or hiring for a role that…
unifapi-agent/agents
When the user wants to research customers from public communities, or synthesize customer language, pains, and objections.
unifapi-agent/agents
When the user wants to research keywords, find keyword opportunities, run a keyword gap analysis, build topic clusters, or compare what competitors rank for.
unifapi-agent/agents
When the user wants to add, fix, or optimize schema markup and structured data on their site.
unifapi-agent/agents
When the user wants to audit, review, or diagnose SEO issues on their site.
Works with
Categories
When a workflow needs public X/Twitter data through UnifAPI — profiles, posts, engagement, followers/following, recent search, autocomplete, or trends. X Twitter is an agent skill from unifapi-agent/agents. When a workflow needs public X/Twitter data through UnifAPI — profiles, posts, engagement, followers/following, recent search, autocomplete, or trends.
X Twitter fits situations like: tasks that involve Social media posts.
Run `npx skills add unifapi-agent/agents --skill x-twitter -a claude-code`. Or copy the skill folder (skills/x-twitter-agent/x-twitter in unifapi-agent/agents) into .claude/skills/x-twitter in your project. Claude Code loads it when a task matches its description.
Run `npx skills add unifapi-agent/agents --skill x-twitter -a codex`. Or copy the skill folder (skills/x-twitter-agent/x-twitter in unifapi-agent/agents) into .agents/skills/x-twitter in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add unifapi-agent/agents --skill x-twitter -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-twitter, .gemini/skills/x-twitter, .github/skills/x-twitter and .opencode/skills/x-twitter in your project.
SKILL.md names no scripts, command-line tools or credentials: X Twitter is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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. Review the folder before installing.
X Twitter is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with X Twitter: Canghe Post To X (freestylefly/canghe-skills, 461 stars), Getxapi Connect (LeoYeAI/openclaw-marketing-skills, 1k stars), X Twitter Connect (LeoYeAI/openclaw-marketing-skills, 1k stars) and Twitter Intelligence (sandbaseai/sandbase-skills, 201 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
unifapi-agent (a GitHub organization) maintains it in unifapi-agent/agents, which has 587 GitHub stars. The repository holds 47 skills in this directory. The repository was last updated on September 5, 2026.
Source: unifapi-agent/agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.