OpenParable
Skip to content
← Back to skills

Media Studio

Apps & Automation
media-studio

Media Studio is an Agent Skill for apps & automation published in the nirholas/XActions repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/nirholas/XActions/blob/HEAD/skills/media-studio/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/media-studio, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Media Studio

Browser console scripts for X's Media Studio (studio.x.com).

Script Selection

GoalFileNavigate to
Navigate to Media Studio, upload, manage librarysrc/mediaStudio.jsx.com or studio.x.com
Add or manage video captionssrc/videoCaptions.jsstudio.x.com or tweet with video

Quick Start

  1. Go to x.com or studio.x.com
  2. Open DevTools (F12) → Console
  3. 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