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…
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 operation, Persona Engine for identity management, and 24/7 Algorithm Builder with LLM-powered engagement via Puppeteer. Use
$ npx -y skills add nirholas/XActions --skill algorithm-cultivation --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/algorithm-cultivationContext preview
The summary Claude sees to decide when to auto-load this skill.
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 operation, Persona Engine for identity management, and 24/7 Algorithm Builder with LLM-powered engagement via Puppeteer. Use
name: algorithm-cultivation description: 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 operation, Persona Engine for identity management, and 24/7 Algorithm Builder with LLM-powered engagement via Puppeteer. Use when a user wants to build their algorithm, cultivate their feed for a niche, grow a fresh account, become a thought leader, or run automated engagement with AI-generated content. license: Apache-2.0 metadata: author: nichxbt version: "4.0"
Train your X/Twitter algorithm for a specific niche. Three approaches:
1. **Browser script** -- paste into DevTools console for manual sessions 2. **CLI + Persona Engine** -- create personas and run from the command line 3. **24/7 Algorithm Builder** -- headless Puppeteer + LLM running continuously
| Goal | Solution | |------|----------| | Create a persona (CLI) | `xactions persona create` | | Run 24/7 with LLM (CLI) | `xactions persona run <id>` | | Check persona status | `xactions persona status <id>` | | Browser console (with core.js) | `src/automation/algorithmBuilder.js` | | Browser console (standalone) | `scripts/thoughtLeaderCultivator.js` | | Browser console (algorithm trainer) | `src/automation/algorithmTrainer.js` | | Persona Engine (Node.js module) | `src/personaEngine.js` | | Algorithm Builder (Node.js module) | `src/algorithmBuilder.js` |
24/7 headless automation: Puppeteer + stealth + OpenRouter LLM.
import { startAlgorithmBuilder } from './algorithmBuilder.js';
await startAlgorithmBuilder({
personaId: 'persona_1234',
authToken: 'your_auth_token',
headless: true,
dryRun: false,
maxSessions: 0, // 0 = infinite
});Requires `OPENROUTER_API_KEY` env var for LLM-generated comments and posts.
Browser console script for manual training sessions. Requires `src/automation/core.js` pasted first.
1. Search top tweets for niche keywords 2. Search latest tweets for niche keywords 3. Follow people from search results 4. Engage with home feed (like/reply) 5. Visit influencer profiles 6. Browse random profiles in niche 7. Explore page browsing 8. Idle dwell time (human-like pauses)
| Preset | Actions/hour | Daily cap | |--------|-------------|-----------| | chill | 10-15 | 100 | | normal | 20-30 | 300 | | active | 40-60 | 500 |
1. Create a persona with `xactions persona create` or configure algorithmTrainer manually 2. Use conservative/chill intensity -- X flags aggressive new accounts 3. Focus on phases 1-2 (search) and 7 (explore) to signal interests 4. Follow 5-10 niche accounts per day manually 5. Like 20-30 niche tweets per day
1. Aggressively engage with new niche content for 1-2 weeks 2. Use `src/automation/algorithmTrainer.js` on `active` intensity 3. Unfollow accounts from the old niche gradually with `src/automation/smartUnfollow.js` 4. The algorithm typically adjusts within 3-7 days of consistent signals
1. Set `OPENROUTER_API_KEY` for AI-generated replies 2. `xactions persona create` -- configure niche, strategy, schedule 3. `xactions persona run <id>` -- starts headless Puppeteer session 4. Monitor: `xactions persona status <id>` 5. Cost estimate: ~$0.50-2.00/day depending on model and activity level
| Variable | Purpose | |----------|---------| | `OPENROUTER_API_KEY` | Required for LLM-generated comments and posts | | `XACTIONS_SESSION_COOKIE` | X auth token (alternative to `--token` flag) |
Load these on demand for deeper context:
⚡ 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,…
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…
Manage XActions subscriptions and billing — view plans, start a Stripe checkout, open the billing portal, or cancel a subscription. Use when users want to…