From xactions
Automates X/Twitter feed training for niche content surfacing and thought leadership via browser console scripts, CLI Persona Engine, and headless Puppeteer with LLM engagement.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xactions:algorithm-cultivationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Train your X/Twitter algorithm for a specific niche. Three approaches:
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)npx claudepluginhub nirholas/xactionsAutomates X/Twitter growth via browser console JavaScript scripts: auto-likes/comments by filters, follows by keywords/engagement/audiences, trains algorithm, runs growth suites. For engagement and audience building.
Creates personalized X/Twitter growth strategies via guided interview using algorithm-derived principles like exposure equation and phases. Useful for audience building or social media growth queries.
Optimizes X/Twitter profile positioning, pinned post strategy, posting structure, and discoverability with conservative platform guidance and confidence-labeled advice.