@tubealfred

TubeAlfred YouTube

OpenClaw plugin exposing read-only TubeAlfred YouTube API tools for videos, transcripts, comments, replies, channels, playlists, search, and URL resolution.

当前版本
v0.1.2
code-plugin社区source-linked

TubeAlfred YouTube OpenClaw Plugin

Read-only TubeAlfred YouTube API tools for OpenClaw agents. It lets agents fetch YouTube video, transcript, comment, reply, channel, Shorts, playlist, community, search, hashtag, suggestion, and URL resolution data through your TubeAlfred account.

Requirements

  • OpenClaw installed locally.
  • A TubeAlfred account.
  • A TubeAlfred API key with the youtube.read scope.

Create an API key in TubeAlfred:

https://tubealfred.com/app/api-keys

Choose Create key, select the youtube.read scope, then copy the key immediately. TubeAlfred only shows the full key once.

Install

openclaw plugins install clawhub:@tubealfred/tubealfred-youtube
openclaw plugins enable tubealfred-youtube
openclaw gateway restart

Configure

Set a TubeAlfred API key in your OpenClaw config:

{
  plugins: {
    entries: {
      "tubealfred-youtube": {
        enabled: true,
        config: {
          apiKey: "ta_live_..."
        }
      }
    }
  }
}

Use the key you created at https://tubealfred.com/app/api-keys.

Advanced config:

{
  plugins: {
    entries: {
      "tubealfred-youtube": {
        enabled: true,
        config: {
          apiKey: "ta_live_...",
          apiBaseUrl: "https://api.tubealfred.com",
          timeoutMs: 30000,
          retries: 1
        }
      }
    }
  }
}

Tools

This plugin mirrors the TubeAlfred MCP/API YouTube surface with vendor-prefixed OpenClaw tool names:

tubealfred_youtube_video_get
tubealfred_youtube_video_transcript
tubealfred_youtube_comments_list
tubealfred_youtube_comments_page
tubealfred_youtube_replies_list
tubealfred_youtube_replies_page
tubealfred_youtube_channel_get
tubealfred_youtube_channel_about
tubealfred_youtube_channel_videos
tubealfred_youtube_channel_shorts
tubealfred_youtube_channel_playlists
tubealfred_youtube_channel_community
tubealfred_youtube_search_query
tubealfred_youtube_search_hashtag
tubealfred_youtube_search_suggest
tubealfred_youtube_playlist_get
tubealfred_youtube_url_resolve

All tools are read-only and call https://api.tubealfred.com.

Development

pnpm install
pnpm test
pnpm typecheck
pnpm build

Local OpenClaw install:

openclaw plugins install --link .
openclaw plugins enable tubealfred-youtube
openclaw plugins inspect tubealfred-youtube --runtime --json

Publish

clawhub package publish . --dry-run
clawhub package publish .

The ClawHub package name is:

@tubealfred/tubealfred-youtube

源码与版本

源码仓库

tubealfred/openclaw-plugin

打开仓库

源码提交

a9a5557212ba4033da2200a96fecb413d5de7ef6

查看提交

安装命令

openclaw plugins install clawhub:@tubealfred/tubealfred-youtube

元数据

  • 包名: @tubealfred/tubealfred-youtube
  • 创建时间: 2026/05/19
  • 更新时间: 2026/05/20
  • 执行代码:
  • 源码标签: main

兼容性

  • 构建于 OpenClaw: 2026.5.18
  • 插件 API 范围: >=2026.5.18
  • 标签: latest
  • 文件数: 5