x-social

x-social is a skill for Claude Code from hinha/xeng-mcp. It costs 37 tokens per session (821 once invoked), scanned A, original, MIT.

A set of instructions for analyzing posts and other social signals from X, formerly known as Twitter, using the xeng-mcp search service.

In plain words
What is it for?
Use it for topic clustering, comparisons across time periods, hashtag monitoring, and market or sales analysis based on returned posts.
Why use it?
It helps turn searched posts into evidence for identifying themes, trends, campaigns, customer intent, complaints, competitors, and market signals.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for topic clustering, comparisons across time periods, hashtag monitoring, and market or sales analysis based on returned posts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hinha/xeng-mcp/x-social
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hinha/xeng-mcp --skill x-social
Clone the repo
git clone --depth 1 https://github.com/hinha/xeng-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for x-social

README.md
[![agentmods](https://agentmods.dev/badge/skills/hinha/xeng-mcp/x-social/github.svg)](https://agentmods.dev/skills/hinha/xeng-mcp/x-social)
Your own site
<a href="https://agentmods.dev/skills/hinha/xeng-mcp/x-social"><img src="https://agentmods.dev/badge/skills/hinha/xeng-mcp/x-social/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for x-social

Your own site · 80×15
<a href="https://agentmods.dev/skills/hinha/xeng-mcp/x-social"><img src="https://agentmods.dev/badge/skills/hinha/xeng-mcp/x-social.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 821 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00821
Opus 5.5 $0.00015 $0.00328
Sonnet 5.5 $0.00007 $0.00164
Haiku 4.5 $0.00004 $0.00082

Measured 2mo ago against content hash 401ec0f8e48a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

x-social scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Bypassing MCP with curl/fetch/scripts
skills/x-social/SKILL.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

X Social

Use xeng-mcp tools only. The host already supplies credentials and upstream routing — do not invent REST clients, env exports, or endpoint URLs.

When to use

  • Topic clustering (themes, narratives, communities)
  • Trend comparison across time windows
  • Campaign / hashtag monitoring
  • Market and sales signal reading (intent, complaints, competitors)

Rules

  1. Call xeng_health once if connectivity is uncertain; otherwise start with xeng_search.
  2. Prefer several focused xeng_search calls over one vague query.
  3. Cite evidence with tweet_id and screen_name from returned rows only.
  4. Treat pagination as a sample, not a full corpus or market share.
  5. Never fabricate tweets, authors, or engagement. Never print secrets.
  6. Do not shell out to HTTP, invent paths, or ask the user for a base URL — MCP tools are the API.

Required: q.

Optional: page, limit (max 100), offset, lang, screen_name, hashtag (no #), mention (no @), from_created_at, to_created_at, include_raw_json.

xeng_search:
  q: "<topic or keyword>"
  limit: 50
  hashtag: "<tag without #>"
  from_created_at: "<ISO lower bound>"
  to_created_at: "<ISO upper bound>"

Use response metadata.pagination when present for sample size; do not invent totals.

Procedures

Clustering

  1. Seed search on the topic (limit 50–100); add synonym / slang / competitor queries as needed.
  2. Group hits by theme (praise, complaint, meme, policy, spam, product, other).
  3. Per cluster: label, sample size, representative quotes, recurring hashtags/mentions.
  4. State that clusters are sample-based.

Trends

  1. Fix q (and optional hashtag / mention).
  2. Repeat xeng_search across sequential from_created_at / to_created_at windows.
  3. Compare sample counts and engagement fields present on rows; note rising/falling themes and amplifiers only from data.
  4. Empty window → report empty; do not extrapolate.

Campaign monitoring

Read the full file on GitHub · 98 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 98 lines · 37 tokens per session scan A 401ec0f8e48a

Subscribe to this mod's changes

x-social is a skill published in the GitHub repository hinha/xeng-mcp (0 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 821 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

x-social compared with skills from other repositories

x-social next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
x-socialhinha/xeng-mcpSkill03mo agoMITA37Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code