Skip to content
Automation
Skill

/account-backup

Export and backup your X/Twitter account data — tweets, likes, bookmarks, followers, and following — as downloadable JSON. Also triggers X's official data archive download. Use when users want to backup, export, or archive their X account data.

From plugin
xactions
65350 skills

Claude Code

$ npx -y skills add nirholas/XActions --skill account-backup --agent claude-code

SKILL.md

account-backup.SKILL.md
name: account-backup
description: Export and backup your X/Twitter account data — tweets, likes, bookmarks, followers, and following — as downloadable JSON. Also triggers X's official data archive download. Use when users want to backup, export, or archive their X account data.
license: Apache-2.0
metadata:
  author: nichxbt
  version: "1.0"

Account Backup & Data Export

Browser console scripts for exporting your X/Twitter account data without an API key.

Script Selection

| Goal | File | Navigate to | |------|------|-------------| | Backup profile, tweets, likes, bookmarks, followers/following | `src/backupAccount.js` | `x.com/USERNAME` | | Trigger X's official data archive download | `src/downloadAccountData.js` | `x.com/settings/download_your_data` | | Export data via API | `api/routes/portability.js` | API endpoint `/api/portability/export` |

Quick Start

Browser backup (no API needed)

1. Navigate to `x.com/USERNAME` (your own profile) 2. Open DevTools (F12) → Console 3. Paste `src/backupAccount.js` → Enter 4. JSON file auto-downloads when complete

Official X data archive

1. Navigate to `x.com/settings/download_your_data` 2. Open DevTools (F12) → Console 3. Paste `src/downloadAccountData.js` → Enter 4. Script triggers the request and monitors progress (checks every 30s, up to 60 min)

Configuration (`backupAccount.js`)

const CONFIG = {
  maxTweets: 100,       // Max tweets to scrape
  maxLikes: 100,        // Max likes to scrape
  maxBookmarks: 100,    // Max bookmarks to scrape
  maxFollowing: 200,    // Max following accounts
  maxFollowers: 200,    // Max follower accounts
  scrollDelay: 2000,    // ms between scroll actions
  autoDownload: true,   // Auto-download JSON on completion
  sections: {
    profile: true,
    tweets: true,
    likes: true,
    bookmarks: true,
    following: true,
    followers: true,
  },
};

Output Format

`backupAccount.js` exports a single JSON with:

{
  "meta": { "createdAt": "...", "source": "XActions Backup Tool", "version": "2.0.0" },
  "profile": { ... },
  "tweets": [ ... ],
  "likes": [ ... ],
  "bookmarks": [ ... ],
  "following": [ ... ],
  "followers": [ ... ]
}

Notes

  • `backupAccount.js` scrapes live DOM — accuracy improves with higher scroll counts
  • `downloadAccountData.js` relies on X's official export, which can take hours to days
  • Official export includes full history; browser scrape is limited to visible/scrolled content
  • Increase `maxTweets` / `maxFollowers` in CONFIG for deeper exports (slower)

Related Skills

  • **twitter-scraping** — Scrape any profile, not just your own
  • **bookmarks-management** — Export and organize bookmarks
  • **follower-monitoring** — Track follower changes over time
  • **content-cleanup** — Delete tweets and likes after backing up
Read more
@nirholas
Ships withxactions

⚡ 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.

Stars on GitHub

Momentum

stars in total
653
Star history of nirholas/XActions on GitHub, a chart by star-history.com

Other skills on xactions.

a2a-multi-agent

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…

@nirholas@nirholasInstall Skill
account-tools

account-tools

Miscellaneous account utilities — view join date, login history, connected accounts, appeal suspension, QR code sharing,…

@nirholas@nirholasInstall Skill
algorithm-cultivation

algorithm-cultivation

Trains an X/Twitter account's algorithmic feed to surface niche-relevant content and positions the account as a thought leader.…

@nirholas@nirholasInstall Skill
analytics-insights

analytics-insights

Analyze X/Twitter engagement, hashtags, competitors, best posting times, follower demographics, tweet performance, viral…

@nirholas@nirholasInstall Skill
articles-longform

articles-longform

Compose, preview, publish, and manage long-form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting,…

@nirholas@nirholasInstall Skill
billing-management

billing-management

Manage XActions subscriptions and billing — view plans, start a Stripe checkout, open the billing portal, or cancel a…

@nirholas@nirholasInstall Skill

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n13d209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@vercel-labs-2@vercel-labs-2Install Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about account-backup.

Which coding agents can use account-backup?
account-backup installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.