npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tubealfred/tubealfred-youtube

v0.1.5

Published

OpenClaw plugin exposing TubeAlfred YouTube API tools and billing usage lookup.

Readme

TubeAlfred YouTube OpenClaw Plugin

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

Requirements

  • OpenClaw installed locally.
  • A TubeAlfred account.
  • A TubeAlfred API key with youtube.read for YouTube tools and billing.read for billing usage.

Create an API key in TubeAlfred:

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

Choose Create key, select the scopes you need, 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 and adds billing usage lookup with vendor-prefixed OpenClaw tool names:

tubealfred_billing_usage
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