Tiktok Upload

Automate TikTok video uploads with browser automation opencli tool

Install
cmdop skills install agensi-tiktok-upload

Automated TikTok Video Uploading

TikTok's Creator Studio is notoriously difficult to automate due to strict anti-bot measures and browser restrictions that block standard file upload commands (CDP DOM.setFileInputFiles). Traditional AI agents often fail when attempting to interact with TikTok’s complex React-based UI and Draft.js caption editors.

Advanced Injection Engine

This skill implements a robust workaround using chunked base64 injection. By breaking down video files into small, manageable chunks and injecting them directly into the browser's memory via the OpenCLI proxy, it bypasses the "Not allowed" security errors. It then reconstructs the file as a Blob and programmatically triggers the internal TikTok upload handlers.

Supported Capabilities

  • Chunked File Transfer: Uploads large video files by bypassing ARG_MAX limits.
  • Draft.js Integration: Programmatically sets captions and hashtags where standard 'fill' commands fail.
  • Status Polling: Monitors TikTok's server-side processing and wait times automatically.
  • Workflow Options: Supports both "Save as Draft" for manual review and "Post" for immediate publishing.

Why Developers Use This

Unlike simple prompting, which struggles with TikTok's hidden file inputs and global scope leakage (markerAttr errors), this skill provides a battle-tested state machine for content delivery. It handles the nuances of React re-renders and isolated network namespaces, ensuring your automation is reliable and production-ready.