Skip to content

Connect OpenClaw to YouTube

Let an OpenClaw agent search videos, read channel statistics, moderate comments and manage playlists on YouTube, with no credentials handed to the agent.

Tags:integrations

YouTube is the largest video platform on the web and, for many companies, the home of product demos, tutorials, webinars and the occasional viral clip. Running a channel is more than uploading a file: titles and descriptions need updating, comments need moderating, playlists drift out of order, and someone has to check the statistics every week to see what worked. Most of that is repetitive work in the YouTube Studio interface.

With Claworc’s External Connections, an OpenClaw agent can work inside a YouTube channel on your behalf. You sign in to Google once through a popup, Composio holds the resulting token, and the agent gets an auto-generated claworc-youtube skill that tells it which YouTube tools exist and how to call them. The agent never sees a password, an OAuth token or an API key.

Composio’s YouTube toolkit exposes 47 actions. In practice an OpenClaw agent leans on a handful of capabilities:

  • Search YouTube — find videos, channels and playlists by keyword, the starting point for competitor research or finding your own older content.
  • List videos and their stats — enumerate a channel’s uploads and fetch views, likes, duration and metadata for many videos at once.
  • Channel statistics — subscriber count, total views and video count for a channel.
  • Moderate and answer comments — read comment threads, reply to them, and approve, hold or reject comments.
  • Update video metadata — change a video’s title, description, tags or thumbnail after it has been published.
  • Manage playlists — create playlists and add videos to them so content stays organized.
  • Read captions — download a video’s caption track so the agent can read what was said.

Every action goes through a small broker running next to the agent, so the agent only needs to describe what it wants done in plain language and let the skill handle the rest.

Comment moderation with a human in the loop

Section titled “Comment moderation with a human in the loop”

Ask the agent to go through new comment threads on your last ten videos, reply to genuine questions using your documentation, hold anything that looks like spam for review, and send you a list of comments it was unsure about. Your community gets faster answers and you only read the ones that need judgment.

On a schedule, the agent pulls channel statistics and the details of every video published in the last 30 days, then writes a short summary: which uploads gained the most views this week, which older video is still growing, and how subscribers moved. Because it reads captions, it can also tell you which topics the top performers have in common.

“Every tutorial video should link to the docs in its description and sit in the Tutorials playlist.” The agent lists the channel’s videos, finds the ones with missing links or missing playlist membership, updates the descriptions and adds them to the playlist. A chore that takes an afternoon by hand finishes in minutes.

Connecting YouTube takes three steps: an admin adds a Composio API key to Claworc’s settings, you open the instance’s Settings tab, click + Add connection, pick YouTube and sign in to Google. The claworc-youtube skill appears in the instance a moment later. The full walkthrough, including the exact Composio permissions the key needs, is in the External Connections documentation.