skills/algorithm-cultivation/SKILL.md
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.
npx skillsauth add harryvik990/X-auto algorithm-cultivationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Train your X/Twitter algorithm for a specific niche. Three approaches:
| 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 |
src/algorithmBuilder.js24/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.
src/automation/algorithmTrainer.jsBrowser console script for manual training sessions. Requires src/automation/core.js pasted first.
stopTrainer() -- Stop trainingtrainerStatus() -- Current phase, actions taken, rate limitstrainerReset() -- Reset counters| Preset | Actions/hour | Daily cap | |--------|-------------|-----------| | chill | 10-15 | 100 | | normal | 20-30 | 300 | | active | 40-60 | 500 |
xactions persona create or configure algorithmTrainer manuallysrc/automation/algorithmTrainer.js on active intensitysrc/automation/smartUnfollow.jsOPENROUTER_API_KEY for AI-generated repliesxactions persona create -- configure niche, strategy, schedulexactions persona run <id> -- starts headless Puppeteer sessionxactions persona status <id>| 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:
skills/algorithm-cultivation/references/persona-engine.mdskills/algorithm-cultivation/references/browser-scripts.mdskills/algorithm-cultivation/references/algorithm-internals.mddocs/research/algorithm-cultivation.mddocs/research/llm-powered-thought-leader.mdalgorithmBuilder.js and algorithmTrainer.js require pasting src/automation/core.js firstthoughtLeaderCultivator.js is standalone (no dependencies)tools
Free MCP server providing 68+ tools for AI agents to automate X/Twitter. Scrapes profiles, followers, tweets. Posts, follows, likes, retweets, downloads videos, analyzes sentiment, monitors brands, manages DMs, runs workflows, and more. Uses local Puppeteer -- no API keys or payments required. Compatible with Claude Desktop, Cursor, Windsurf, VS Code. Use when setting up or using AI agent Twitter automation via MCP.
tools
Command-line interface for scraping X/Twitter data, managing MCP server config, and running automation. Scrapes profiles, followers, tweets, search results, and more from terminal. Outputs text, JSON, or CSV. Uses Puppeteer stealth. Use when running Twitter operations from command line or automated pipelines.
content-media
Researches trending topics and competitor threads to generate high-engagement thread content with optimized hooks, value ladders, and calls to action. Use when creating threads or planning viral content.
tools
Mass unfollow on X/Twitter via browser console scripts. Unfollows everyone, only non-followers, non-followers with username logging, smart time-based unfollow with whitelists, and follow/following ratio management. Use when cleaning up a following list, removing non-followers, bulk unfollowing accounts, or optimizing your follow ratio.