YouTube Automation & Engagement Plugin (@fy2ne/wt-youtube)
YouTube automation tool for Weavetab AI agents and autonomous browser sessions.
Features
- Automated Video Like: Detects active YouTube watch pages and triggers instant likes using DOM/CDP automation.
- Video Metadata & Telemetry: Extracts video title, channel name, views count, like status, and duration.
- Playback Control: Toggle play/pause state and seek directly to specific timestamps.
- Zero Configuration: Works out of the box with any active Weavetab browser session.
Installation
You can install this plugin into your Weavetab environment using:
wt plugin add @fy2ne/wt-youtube
Or install directly via npm:
npm install @fy2ne/wt-youtube
Tools Exposed
plugin_youtube
Automates YouTube actions on the active browser tab.
Arguments
action | string | Yes | One of: "auto_like", "get_video_info", "toggle_play", "seek". |
seekSeconds | number | No | Target timestamp in seconds (used with action: "seek"). |
Example Usage
{
"action": "auto_like"
}
{
"action": "get_video_info"
}
{
"action": "seek",
"seekSeconds": 120
}
Security & Permissions
This plugin declares the following sandboxed permissions in weavetab.json:
- Network: Restricts interaction to
youtube.com, *.youtube.com, and googlevideo.com.
- CDP: Requires
evaluate and click permissions strictly for YouTube video player and engagement buttons.
License
MIT © fy2ne