Agent skill
media-studio
Navigate and automate X Media Studio — upload media, manage your media library, view media analytics, configure monetization, and add video captions. Use when users want to manage their uploaded media or access creator video tools on X.
Install this agent skill to your Project
npx add-skill https://github.com/nirholas/XActions/tree/main/skills/media-studio
Metadata
Additional technical details for this skill
- author
- nichxbt
- version
- 1.0
SKILL.md
Media Studio
Browser console scripts for X's Media Studio (studio.x.com).
Script Selection
| Goal | File | Navigate to |
|---|---|---|
| Navigate to Media Studio, upload, manage library | src/mediaStudio.js |
x.com or studio.x.com |
| Add or manage video captions | src/videoCaptions.js |
studio.x.com or tweet with video |
Quick Start
- Go to
x.comorstudio.x.com - Open DevTools (F12) → Console
- Paste
src/mediaStudio.js→ Enter
mediaStudio.js — Available Functions
XActions.mediaStudio.navigate() // Navigate to studio.x.com
XActions.mediaStudio.listMedia() // List all uploaded media (up to maxMediaToScan)
XActions.mediaStudio.uploadMedia(file) // Upload a media file
XActions.mediaStudio.viewAnalytics() // View media analytics (views, engagement)
XActions.mediaStudio.monetizationSettings() // Open monetization config
XActions.mediaStudio.liveStream() // Open live streaming management
videoCaptions.js — Available Functions
XActions.captions.addToCurrentVideo() // Add captions to video on current page
XActions.captions.upload('file.srt') // Upload an SRT caption file
XActions.captions.generate() // Trigger auto-caption generation (Premium)
XActions.captions.download() // Download existing captions
XActions.captions.remove() // Remove captions from a video
Configuration (mediaStudio.js)
const CONFIG = {
delayBetweenActions: 2000, // ms between UI actions
scrollDelay: 2000, // ms between scroll actions
maxMediaToScan: 100, // Max items to load in library
maxRetries: 5, // Retries on selector miss
};
Notes
- Media Studio requires X Premium / Creator subscription for some features
- Auto-caption generation is a Premium feature
- Manual SRT upload is available to all users on tweet pages
- Analytics in Media Studio are more detailed than tweet-level analytics
Related Skills
- video-downloading — Download videos from tweets
- content-posting — Post tweets with media attachments
- creator-monetization — Monetize your content and videos
- analytics-insights — Analyze tweet and content performance
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
articles-longform
Compose, preview, publish, and manage long-form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting, media insertion, and performance tracking. Use when users want to write, publish, manage, or analyze X Articles.
x-pro-management
Navigate to X Pro (TweetDeck), set up monitoring columns, and manage multi-column view. Use when users want to use X Pro / TweetDeck features or set up a multi-column dashboard.
business-ads
Manages X/Twitter business intelligence including brand monitoring, audience insights, competitor analysis, tweet A/B testing, auto-plug replies for promotion, and content performance optimization. Use when users want brand monitoring, audience analysis, competitor comparison, or promotion optimization on X.
engagement-interaction
Automates X/Twitter engagement actions — like, unlike, reply, bookmark, hide replies, and auto-like by keyword. Also bulk-unlikes all posts. Use when users want to automate likes, send replies, manage bookmarks on tweets, hide replies, or clear their entire likes history.
unfollow-management
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.
follower-monitoring
Monitors X/Twitter follower changes using browser console scripts. Detects who unfollowed, tracks new followers with welcome messages, monitors any public account, runs continuous monitoring with alerts, tracks follower growth over time, and analyzes follower demographics. Use when tracking follower changes, detecting unfollowers, or monitoring Twitter accounts.
Didn't find tool you were looking for?