a2a-multi-agent
Runs XActions as an A2A (Agent-to-Agent) compatible agent that serves an Agent Card, accepts JSON-RPC tasks, bridges them onto the 153 MCP tools, streams…
Integrates with X/Twitter's Grok AI for chat, image generation, tweet analysis, and content creation. Automates Grok prompts, scrapes Grok responses, and uses Grok for content strategy. Requires X Premium+. Use when users want to use Grok AI for content generation, analysis, or
$ npx -y skills add nirholas/XActions --skill grok-ai --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/grok-aiContext preview
The summary Claude sees to decide when to auto-load this skill.
Integrates with X/Twitter's Grok AI for chat, image generation, tweet analysis, and content creation. Automates Grok prompts, scrapes Grok responses, and uses Grok for content strategy. Requires X Premium+. Use when users want to use Grok AI for content generation, analysis, or
name: grok-ai description: Integrates with X/Twitter's Grok AI for chat, image generation, tweet analysis, and content creation. Automates Grok prompts, scrapes Grok responses, and uses Grok for content strategy. Requires X Premium+. Use when users want to use Grok AI for content generation, analysis, or chat automation on X. license: Apache-2.0 metadata: author: nichxbt version: "4.0"
Browser console scripts for automating interactions with X's built-in Grok AI assistant.
| Goal | File | Navigate to | |------|------|-------------| | Chat with Grok | `src/grokIntegration.js` | `x.com/i/grok` | | Generate images | `src/grokIntegration.js` | `x.com/i/grok` | | Analyze tweet with Grok | `src/grokIntegration.js` | Any tweet |
**File:** `src/grokIntegration.js`
Automates Grok AI prompts and response scraping.
1. Navigate to `x.com/i/grok` 2. Open DevTools (F12) -> Console 3. Paste the script -> Enter
| Element | Selector | |---------|----------| | Grok input | `[data-testid="grokInput"]` or `textarea[placeholder]` | | Send button | `[data-testid="grokSend"]` | | Response container | `[data-testid="grokResponse"]` | | Image output | `[data-testid="grokImage"]` | | Grok nav | `a[href="/i/grok"]` |
1. `XActions.ask("What are the top 5 trending topics in {niche} right now?")` 2. `XActions.ask("Write 3 tweet variations about {topic}")` 3. `XActions.ask("Analyze this tweet for engagement: {tweet_text}")` 4. Capture responses with `XActions.scrapeResponse()` 5. Feed into `src/threadComposer.js` for thread creation
await XActions.batchAsk([
"Write a hot take about AI agents",
"Write a thread hook about productivity",
"Write a poll question about remote work",
"Suggest 5 tweet ideas about {niche}",
]);
XActions.export(); // Download all responses1. `XActions.generateImage("Professional headshot, tech founder, minimalist")` 2. Wait for generation (10-30 seconds) 3. Right-click generated image to save 4. Use as profile picture, header, or tweet media
For programmatic AI content without Grok, the XActions MCP server includes AI tools powered by OpenRouter:
| MCP Tool | Purpose | |----------|---------| | `x_analyze_voice` | Analyze account's writing style | | `x_generate_tweet` | Generate tweet in user's voice | | `x_rewrite_tweet` | Rewrite tweet for better engagement | | `x_summarize_thread` | Summarize a thread |
These require an `OPENROUTER_API_KEY` env var but work without Premium.
⚡ The Complete X/Twitter Automation Toolkit — Scrapers, MCP server for AI agents (Claude/GPT), CLI, browser scripts. No API fees. Open source. Unfollow people who don't follow back. Monitor real-time analytics. Auto follow, like, comment, scrape, without API. Follow Bot. Like bot. Grow your account automatically.
Repo: nirholas/XActions
Runs XActions as an A2A (Agent-to-Agent) compatible agent that serves an Agent Card, accepts JSON-RPC tasks, bridges them onto the 153 MCP tools, streams…
Export and backup your X/Twitter account data — tweets, likes, bookmarks, followers, and following — as downloadable JSON. Also triggers X's official data…
Miscellaneous account utilities — view join date, login history, connected accounts, appeal suspension, QR code sharing, share/embed tweets, upload contacts,…
Trains an X/Twitter account's algorithmic feed to surface niche-relevant content and positions the account as a thought leader. Browser scripts for manual…
Analyze X/Twitter engagement, hashtags, competitors, best posting times, follower demographics, tweet performance, viral detection, content calendar gaps, A/B…
Compose, preview, publish, and manage long-form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting, media insertion, and…