account-backup
Skill648 starsChanged 9 months agoApache-2.0View on GitHub
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.
In this repository60 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- python/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- python/CLAUDE.mdCLAUDE.md
- xspace-agents/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- llms-full.txtllms.txt
- llms.txtllms.txt
- python/llms-full.txtllms.txt
- python/llms.txtllms.txt
- a2a-multi-agentSkill
- account-toolsSkill
- algorithm-cultivationSkill
- analytics-insightsSkill
- articles-longformSkill
- billing-managementSkill
- blocking-muting-managementSkill
- bookmarks-managementSkill
- business-adsSkill
- community-health-monitoringSkill
- community-managementSkill
- community-notesSkill
- competitor-intelligenceSkill
- content-cleanupSkill
- content-postingSkill
- content-repurposingSkill
- creator-monetizationSkill
- crm-managementSkill
- delegate-accessSkill
- direct-messagesSkill
- discovery-exploreSkill
- engagement-interactionSkill
- follower-monitoringSkill
- graph-analysisSkill
- grok-aiSkill
- growth-automationSkill
- lead-generationSkill
- lists-managementSkill
- media-studioSkill
- notifications-managementSkill
- post-editingSkill
- premium-subscriptionsSkill
- profile-managementSkill
- reputation-auditSkill
- saved-searchesSkill
- settings-privacySkill
- spaces-liveSkill
- teams-managementSkill
- timeline-viewingSkill
- topic-managementSkill
- twitter-scrapingSkill
- unfollow-managementSkill
- video-downloadingSkill
- viral-thread-generationSkill
- webhooksSkill
- x402-paymentsSkill
- xactions-cliSkill
- xactions-mcp-serverSkill
- x-pro-managementSkill
The file
Files
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)
- Navigate to
x.com/USERNAME(your own profile) - Open DevTools (F12) → Console
- Paste
src/backupAccount.js→ Enter - JSON file auto-downloads when complete
Official X data archive
- Navigate to
x.com/settings/download_your_data - Open DevTools (F12) → Console
- Paste
src/downloadAccountData.js→ Enter - 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.jsscrapes live DOM — accuracy improves with higher scroll countsdownloadAccountData.jsrelies 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/maxFollowersin 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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

