← Back to Skills Marketplace
9ying66

clawbus-youtube-unified-api

by 9Ying66 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
18
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install clawbus-youtube-unified-api
Description
Use this skill when an agent needs to call YouTube Data API v3, YouTube Analytics API v2, or YouTube Reporting API v1 through the hosted proxy at mcp.imagine...
README (SKILL.md)

YouTube Unified API Skill

⚠️ Authentication — Check First

Before making any API call, verify the user has provided an Mybrandmetrics API-KEY.

If no key has been provided, say:

To use the YouTube API, I need your Mybrandmetrics API-KEY. You can find this key in your Mybrandmetrics dashboard. Please share it and I'll proceed with the request.

Once you have the key, pass it as:

X-API-KEY: \x3Cthe key>

Do not ask the user for a YouTube API key or OAuth token — the proxy handles authentication internally.


Hosted Proxy

Base URL https://mcp.imagineapp.co
Route prefix /youtube_api
Full example https://mcp.imagineapp.co/youtube_api/youtube/v3/videos

How to Call the API (Step-by-Step)

Step 1 — Find the right endpoint

For most tasks, read references/endpoints_summary.md first. It lists all 99 endpoints grouped by domain (Videos, Channels, Analytics, etc.) with their required and optional parameters inline. This is the fastest path — you can construct a request from this file alone without touching the discovery cache.

Use references/youtube_endpoint_catalog.json when you need the full parameter schema (types, enums, defaults) for a specific method.

Only fall back to references/discovery_cache/*.json if you need the full request/response body schemas.

Step 2 — Construct the request

  • GET endpoints: all parameters go in the query string
  • POST / PUT endpoints: use params for query params, requestBody for the JSON body (the request_schema_ref field in the catalog tells you the body schema name)
  • part parameter: only request the parts you actually need (see Part Strategy below)
  • Path parameters: substitute {id}, {channelId} etc. directly into the URL

Step 3 — Send to the proxy

curl -G "https://mcp.imagineapp.co/youtube_api/youtube/v3/videos" \
  -H "X-API-KEY: USER_KEY" \
  --data-urlencode "part=snippet,statistics" \
  --data-urlencode "id=VIDEO_ID"

Step 4 — Handle pagination

If the response contains nextPageToken, pass it back as pageToken on the next call to get the next page. Use maxResults (max 50) to control page size.


Part Parameter Strategy

Only request the part values you actually need — each adds quota cost:

part Contains
id Resource ID only (cheapest)
snippet Title, description, thumbnails, dates, tags
statistics Views, likes, comment counts
contentDetails Duration, definition, caption availability
status Privacy, upload status, license
localizations Translated titles / descriptions
player Embedded player HTML

Token / LLM Efficiency Tips

  • Read endpoints_summary.md once per task, not per API call — it contains everything needed to build most requests.
  • Do not load openapi_proxy.json unless you need OpenAPI-formatted tool schemas — it is large (242 KB) and the summary is faster to work from.
  • Do not load discovery_cache/*.json unless you need full request body schemas — these files are very large.
  • Batch related reads: if you need info on two endpoints in the same domain, read the relevant section of the summary in one pass rather than two separate lookups.
  • Infer part values from the user's request rather than asking a clarification question — if the user wants "video titles and view counts", that maps directly to part=snippet,statistics.

Quick Endpoint Index

Task Method Proxy path
Get video details GET /youtube_api/youtube/v3/videos
Search videos/channels GET /youtube_api/youtube/v3/search
Get channel info GET /youtube_api/youtube/v3/channels
List playlists GET /youtube_api/youtube/v3/playlists
List playlist items GET /youtube_api/youtube/v3/playlistItems
List comments GET /youtube_api/youtube/v3/commentThreads
Get subscriptions GET /youtube_api/youtube/v3/subscriptions
List live broadcasts GET /youtube_api/youtube/v3/liveBroadcasts
Upload and publish video (simple multipart) POST /youtube_api/upload/youtube/v3/videos
Upload video (resumable) POST /youtube_api/resumable/upload/youtube/v3/videos
Query analytics GET /youtube_api/v2/reports
List report types GET /youtube_api/v1/reportTypes
Create reporting job POST /youtube_api/v1/jobs

For the full list with parameters, see references/endpoints_summary.md.


Artifacts

File Purpose When to read
references/endpoints_summary.md All endpoints with params, grouped by domain Default — read this first
references/youtube_endpoint_catalog.json Full param schemas (type, enum, required) When you need precise param details
references/openapi_proxy.json OpenAPI 3.1 spec for tool/function calling Only when building tool schemas
references/discovery_cache/*.json Raw Google discovery documents Only for request/response body schemas

Regenerate Artifacts

When Google updates a discovery document, refresh all artifacts:

python scripts/sync_discovery.py

Environment overrides:

  • YOUTUBE_PROXY_BASE_URL — override the hosted base URL
  • YOUTUBE_PROXY_ROUTE_PREFIX — override the route prefix (default /youtube_api)
Usage Guidance
Install only if you trust Mybrandmetrics/mcp.imagineapp.co with your YouTube access. Provide a key only when needed, rotate it if exposed, and require the agent to ask before any upload, publish, delete, update, moderation, reporting-job, or other account-changing action.
Capability Analysis
Type: OpenClaw Skill Name: clawbus-youtube-unified-api Version: 1.0.0 The skill bundle provides a legitimate and well-documented interface for an agent to interact with YouTube Data, Analytics, and Reporting APIs via a hosted proxy at mcp.imagineapp.co. The included Python script (scripts/sync_discovery.py) is a maintenance utility that fetches official Google Discovery documents to regenerate reference artifacts and does not exhibit any malicious behavior or suspicious dependencies. The instructions in SKILL.md correctly guide the agent to request a necessary API key from the user for authentication without attempting to exfiltrate unrelated sensitive data.
Capability Tags
cryptocan-make-purchasesrequires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The stated purpose matches a YouTube API integration, but the capability set includes high-impact write operations such as uploading/publishing videos, deleting videos, updating resources, and live-chat moderation, not just read-only lookup.
Instruction Scope
The instructions describe obtaining the key, constructing requests, and sending them to the proxy, but do not clearly require explicit user confirmation before destructive, public, or account-mutating YouTube actions.
Install Mechanism
There is no install spec and no evidence of automatic code execution. A maintenance script is referenced for regenerating artifacts, but it appears user-directed rather than auto-run.
Credentials
The skill requires a Mybrandmetrics API key sent to a hosted proxy that internally obtains YouTube OAuth access, while the registry metadata declares no primary credential. This is sensitive and should be reviewed before use.
Persistence & Privilege
No persistence or background worker behavior is shown, but the delegated API access can affect a YouTube account or channel if the provided key has broad privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install clawbus-youtube-unified-api
  3. After installation, invoke the skill by name or use /clawbus-youtube-unified-api
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release from clawbus.com
Metadata
Slug clawbus-youtube-unified-api
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is clawbus-youtube-unified-api?

Use this skill when an agent needs to call YouTube Data API v3, YouTube Analytics API v2, or YouTube Reporting API v1 through the hosted proxy at mcp.imagine... It is an AI Agent Skill for Claude Code / OpenClaw, with 18 downloads so far.

How do I install clawbus-youtube-unified-api?

Run "/install clawbus-youtube-unified-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is clawbus-youtube-unified-api free?

Yes, clawbus-youtube-unified-api is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does clawbus-youtube-unified-api support?

clawbus-youtube-unified-api is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created clawbus-youtube-unified-api?

It is built and maintained by 9Ying66 (@9ying66); the current version is v1.0.0.

💬 Comments