From x-agent-intelligence
Builds a local HTML intelligence feed from X posts via the official X MCP server. Use for daily AI/agent digests, source-account timelines, or self-contained monitoring dashboards.
How this skill is triggered — by the user, by Claude, or both
Slash command
/x-agent-intelligence:x-agent-intelligenceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a local, readable HTML intelligence feed from X posts retrieved through the official X API MCP server. The feed is a presentation artifact, not a hosted application.
Create a local, readable HTML intelligence feed from X posts retrieved through the official X API MCP server. The feed is a presentation artifact, not a hosted application.
Confirm that the agent can see an X MCP server. The expected official server is https://api.x.com/mcp. If no X tools are available, stop and point the user to references/x-mcp-setup.md; do not invent API responses or silently substitute scraping.
Read ../../references/x-mcp-setup.md when setup, authentication, client configuration, or portability matters.
Ask for or infer:
@.Keep source configuration separate from story content so users can edit it later.
If the user asks to begin with the shared public list, read ../../references/starter-sources.md. It is an optional starting point, not a requirement or a hidden default; users may edit or replace it.
Use the official X MCP tools exposed by the user's client. Tool names may be namespaced by the client, but the expected operations are:
get_users_by_usernames, requesting id, name, username, profile_image_url, and verified.get_users_posts for each resolved user. Use post.fields including created_at, text, author_id, public_metrics, entities, and attachments when supported. Use expansions for author_id, attachments.media_keys, and referenced_tweets.id when supported.search_posts_all with from:handle queries and explicit start_time/end_time windows.get_posts_by_ids or get_posts_by_id.get_users_by_id only when an expanded author record is missing.Do not use bookmark writes, Article publishing, likes, reposts, or other write tools for this skill. This workflow is read-only.
Convert each post into this schema:
{
"id": "post-id",
"date": "YYYY-MM-DD",
"created_at": "ISO timestamp",
"category": "Models",
"handle": "OpenAI",
"author_name": "OpenAI",
"verified": true,
"profile_image_url": "https://...",
"tweet_url": "https://x.com/OpenAI/status/post-id",
"text": "raw text only when the user wants it retained",
"title": "Short factual headline",
"summary": "One or two sentences explaining why it matters.",
"media_url": null,
"media_type": null
}
Deduplicate by post ID. Exclude replies and reposts unless explicitly requested. Defensively remove any item with in_reply_to_user_id or a referenced_tweets entry of type replied_to or retweeted, even when the X MCP response ignored the requested exclusion. Prefer original announcements, papers, releases, benchmarks, demos, and concrete engineering reports. Rank using relevance, source quality, recency, engagement, and diversity across accounts. Do not let engagement alone determine importance.
Write titles and summaries as faithful paraphrases. Do not fabricate benchmarks, product capabilities, paper claims, or dates. Preserve the original post URL on every story.
Build one self-contained feed.html, using ../../assets/reference-artifact.html as the design reference. Match its editorial reading-list layout closely: warm off-white canvas with a thin dark top rule; compact serif masthead; segmented story stats; a sticky, borderless category-chip toolbar; a narrow left date rail; and reading-list items with the title and "Why it matters" copy on the left and a fixed-size image or video preview on the right. Make the first story of the newest day the lead, with a larger thumbnail and headline.
Requirements:
media_url is available.profile_image_url from X when available. Do not require unavatar.io.references/starter-sources.md, but never include credentials, private handles, automation identifiers, or orchestration configuration.Check:
If recurring updates are requested, explain that the user may run the same prompt from any scheduler or orchestrator they choose. X MCP remains the source-access layer.
npx claudepluginhub dair-ai/dair-academy-plugins --plugin x-agent-intelligencePerforms AI-powered X/Twitter research via xAI Grok, returning AI summaries with analysis. Use for trending topics, social sentiment, and conversation summaries.
Researches X/Twitter via xAI Grok API: account digests, thread/post analysis, trending topics, custom searches for Telegram post ideas.
Generates a themed digest from recent feed entries with semantic grouping and new source suggestions. Supports custom time windows, topic queries, project scoping, and optional knowledge structure analysis.