AGENT SKILL

pm-youtube-data

YouTube Data connector knowledge and safe action guide.

License 许可
AGPL-3.0
所属仓库
polymetrics-ai/cli
最近更新
2026-09-21
Stars
★ 7
Forks
0

01 前言 Front Matter

name
pm-youtube-data
description
YouTube Data connector knowledge and safe action guide.

02 资源文件 1

03 SKILL.md 正文

pm-youtube-data

Purpose

Reads channels, videos, playlists, playlist items, comment threads, search results, video categories, and i18n region/language reference data through the YouTube Data API.

Icon

Capabilities

  • check=true catalog=true read=true write=false query=false
  • Integration type: api

Authentication

  • Use pm credentials add with --from-env or --value-stdin for secret fields.

Configuration

  • base_url
  • channel_ids
  • ids
  • mode
  • playlist_ids
  • region_code
  • search_query
  • video_ids
  • api_key (secret) (required)

ETL Streams

  • channels:
    • primary key: id
    • fields: id(string), title(string), view_count(string)
  • videos:
    • primary key: id
    • fields: id(string), published_at(string), title(string)
  • playlists:
    • primary key: id
    • fields: id(string), published_at(string), title(string)
  • playlist_items:
    • primary key: id
    • cursor: published_at
    • fields: id(string), playlist_id(string), published_at(string), title(string), video_id(string)
  • comment_threads:
    • primary key: id
    • cursor: published_at
    • fields: id(string), published_at(string), text(string), video_id(string)
  • search:
    • primary key: id
    • cursor: published_at
    • fields: id(string), published_at(string), title(string)
  • video_categories:
    • primary key: id
    • fields: id(string), title(string)
  • i18n_regions:
    • primary key: id
    • fields: id(string), name(string)
  • i18n_languages:
    • primary key: id
    • fields: id(string), name(string)

Sync Modes

  • ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped

Security

  • read risk: external YouTube Data API read of public channel, video, playlist, playlist item, comment, search result, and reference data
  • approval: none; read-only
  • Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

Commands

Inspect as a manual

pm connectors inspect youtube-data

Inspect as structured JSON

pm connectors inspect youtube-data --json

Agent Rules

  • Run pm connectors inspect youtube-data before creating credentials or plans.
  • Use --json only when the caller needs structured output; use the manual for human-readable guidance.
  • Never ask the user to paste secret values into chat.

04 同仓库更多 Skills