TubeAI connector
TubeAI connects to Claude as a connector (an MCP server) at https://beta.tubeai.app/api/mcp. It gives Claude a database of 400M+ YouTube videos and 4M+ channels, plus the user's own TubeAI workspace: ideas, folders, boards and past work. Use it to explore YouTube data, find video ideas and draft scripts with the user.
Assume the user isn't technical: do the technical parts yourself, give click-level steps when they have to act, and talk in plain language.
Once connected, TubeAI sends its own instructions and a full description of every tool; follow those for each tool's exact inputs. This skill covers getting connected, which tools to use for each job, and the rules that keep the user's account safe.
Connect first
TubeAI is optional, but this skill runs on it. Before the first TubeAI task in a session:
- Check the connection with a
workspace_accountcall. When it answers with the user's plan, TubeAI is connected. - If it isn't, offer it in a line: what it gives them (video ideas, packaging and what's working in their niche) and that it needs a free TubeAI account. If they want it, walk them through one of the two ways:
- In the Claude app (claude.ai, the desktop app or mobile). A connector added there also works in Claude Code when they're signed in with the same Claude account.
- Open Settings → Connectors (under Customize).
- Click Add → Add custom connector, name it TubeAI, and paste
https://beta.tubeai.app/api/mcpas the server URL. Leave Advanced settings empty. - Click Add, then Connect. TubeAI's authorization page opens: check the account shown and press Approve. They need to be logged in to TubeAI in that browser first.
- Or in the terminal (Claude Code): run
claude mcp add --transport http --scope user tubeai https://beta.tubeai.app/api/mcpfor them. Then they type/mcp, pick tubeai, choose to authenticate, and sign in to TubeAI in the browser that opens.
- In the Claude app (claude.ai, the desktop app or mobile). A connector added there also works in Claude Code when they're signed in with the same Claude account.
- Never add a second TubeAI connection. If TubeAI is already added (in the app's Connectors, or in
/mcpin Claude Code), it only needs signing in. On Claude Team and Enterprise plans only admins can add connectors in the app, so use the terminal line there. - Tools not showing up: in the Claude app, open the TubeAI connector in Settings → Connectors and choose ⋮ → Refresh tools list, or Disconnect and Connect again. A connector added during a session may only show up in a new chat.
- Check again with
workspace_account. If they'd rather not connect, carry on without it (WebFetch, Claude in Chrome and yt-dlp for research), and don't offer it again unless they ask.
Budget and credits
- Every tool call counts against the plan's daily request budget, which the TubeAI app's database pages share. It resets at 00:00 UTC. Going over it locks the user's database access, in the app too, for 2 days. So:
- make one well-aimed call rather than many small ones
- keep
limitsmall, and ask for extrafieldsonly when you need them (results are slim by default) - for many channels at once, use one
explore_videoscall with a channel set andperChannel, never one call per channel - get the niche labels from
explore_nichesonce, then reuse them
workspace_accountshows the plan, the credits, what each paid tool costs, which features the plan lacks, and today's budget. Check it before anything that spends credits, when a tool says a feature is locked, or when the user asks about their plan.- Spending credits needs the user's explicit OK after they've seen the cost:
thumbnail_generate,thumbnail_editand a board'sdataSources(Google Trends + X posts). Everything else is free, the other thumbnail tools included. - A section or list that comes back locked names the plan that includes it. Mention the upgrade only when it matters to what the user wants.
Playbooks
Find video ideas (for the user's channel, a niche, or a saved folder)
mini_ideaswith exactly one scope:channel(an @handle or URL),niche(a label fromexplore_niches) orfolderId(fromworkspace_folder_get). Defaults: the last 90 days, videos at 2× their channel's average or more, long-form only (includeShorts: trueadds Shorts).- It returns the outlier videos, the title formats that perform best in that niche, and the words those outlier titles share. Draft ideas from these patterns: a title, the format it borrows, and the angle that makes it the user's own.
- Check the draft titles with
mini_titles(titles, up to 20). It marks which words and phrases carry proven performance. - Save the keepers (see Save the keepers).
Research a niche
explore_nicheswithout arguments lists every niche with its outlier stats. Withniche, it gives that niche's top channels, top videos and sub-niches.explore_videoswithnichesand aminDatewindow, sorted byoutlier_multiplier, shows what's working there now.minDuration: 181leaves Shorts out.explore_channelswithnichesplus size and performance filters (minSubscribers,minAvgViews,minOutlierRateas a percent,isActive) finds the channels worth watching.
Study a competitor, or the user's own channel
explore_channelgives the profile, plus theincludesections:recentandoutliersby default, andmomentumandperformancewhen the plan has them.explore_similar_channelsfinds channels like it.- A creator's recent outliers:
explore_videoswithchannelHandles: ["@x"],minOutlier: 1,minDatesix months back,sortBy: "outlier_multiplier". - Many channels at once: one
explore_videoscall withchannelHandlesorchannelIds(up to 50) andperChannel(the top N videos of each).
What's taking off right now
explore_videoswithsimilarToHandle: "@x"(the 100 channels most like it),minOutlier: 2,minDate30 days back,sortBy: "published_at".
Titles and packaging
mini_titleswithshow: ["formats", "words"]gives proven title structures and high-performing title words. Narrow them withsearchand (formats only)niches, and rank thembest_performing,most_usedortrending.- To see the packaging:
showThumbnails: trueonexplore_videos(the first 12 videos), orshowThumbnail: trueonexplore_video. explore_similar_thumbnailsfinds videos whose thumbnails look like one video's thumbnail. It only works for videos TubeAI has analyzed.
Thumbnails (they cost credits, so confirm the cost first)
- Agree on the concept with the user: what the thumbnail shows, and any text on it.
thumbnail_generatewith the video's title or idea (videoIdea) and the concept (thumbnailConcept).countis 2 or 4, and only one generation runs at a time, so ask for every option in one call. WithchannelHandle, TubeAI matches that channel's style from its real thumbnails: then describe only the idea, never colors, fonts or layout.thumbnail_status, called once, shows the gallery, which fills in by itself in 1–2 minutes.thumbnail_viewlets you see the images and gives theirhistoryIds.thumbnail_editchanges one. The user names it by its number in the gallery, which is thehistoryIdat that position.- The user's own face:
thumbnail_face_uploadshows an uploader. When they say it's done, generate withuseUploadedFace: true.
Style matching and the user's face depend on the plan. A locked feature says which plan includes it.
Draft a script
- Start from the idea the user picked and the patterns behind it: the hook, the promise the title makes, and the beats that deliver it. Draft it with the user one part at a time, in their channel's voice.
- To study how a hit is scripted, or how a creator actually talks, get transcripts with
mini_script:videos(1–5 ids or URLs, any public video) orchannelwithcount(its latest uploads). Transcripts TubeAI already has are free; new ones count against a daily transcript cap. An entry markedaiSummary: trueis a summary of the video, not the words spoken, so never learn a voice from it. - The user's own past work in TubeAI helps:
workspace_historywithsection: "scripts"(orviral,metadata,analytics) lists what they made in the app. A script'shistoryIdis whatworkspace_idea_savetakes asscriptProposal.
Save the keepers
- Ideas:
workspace_idea_savecreates a private draft in the user's My Ideas planner. Never say it's published: the user reviews and publishes it in TubeAI.- A title of 24–58 characters is the planner's sweet spot.
- Add 2–4 sentences of notes on the angle and why it works now.
- Add up to 6 reference videos, only ones your research returned.
ideaIdedits an existing idea, and each list you pass replaces the stored one.workspace_idea_getlists or opens ideas.
- Channels and videos: confirm the folder name and its contents with the user, then use
workspace_folder_createorworkspace_folder_add. A folder holds channels or videos, never both, and takes up to 200 items per call.workspace_folder_getlists folders and their ids. - Anything that didn't save comes back under
unparseable,wrongTypeornotFound. Tell the user instead of reporting a clean save. - Boards, when the plan has them:
workspace_board_createbuilds a planning board from a folder, a list of videos or the channel's niche, and labels it for free. A niche scan can come back asstatus: "scanning". Tell the user it's in progress, then call again with the returnedresumeOperationIdand every field ofresumeWith.
Reading the numbers
outlier_multiplier: a video's views against its own channel's average (3 = three times the usual).runner_multiplier: views against the channel's subscriber count.outlier_rate(channels): the percent of a channel's videos that are outliers.- Shorts run up to 3 minutes, so
minDuration: 181leaves them out. unknownNichesandunresolvedHandleslist what didn't match. Say so rather than treating the results as complete.
Good to know
- The tool list can show TubeAI's tools with a prefix (like
mcp__tubeai__explore_videos). Use the name it shows. explore_videosrefuses a call without at least one narrowing filter:search,niches, a channel set (channelIds,channelHandlesorsimilarToHandle) orminDate.- Name channels by @handle, channel URL or UC id, and videos by id or URL.
- Results page with
cursorandnextCursor. - A query that comes back as too broad: narrow it (a shorter window, fewer channels, a smaller limit) and try once more.
- A tool says it needs authentication, or the TubeAI tools are missing: go back to Connect first.
- The daily budget is used up: it resets at 00:00 UTC. Carry on with the fallbacks and tell the user in a line.
- A tool says database access is paused: the budget was exceeded. Tell the user; TubeAI support can lift it early.


