# Pm Youtube Data

> YouTube Data connector knowledge and safe action guide.

- Skill: `polymetrics-ai/pm-youtube-data` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add polymetrics-ai/pm-youtube-data`
- Raw SKILL.md: https://api.skillmd.com/api/skills/polymetrics-ai/pm-youtube-data/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: polymetrics-ai (https://skillmd.com/u/polymetrics-ai)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/polymetrics-ai/pm-youtube-data

---


# 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

- id: pm-sample
- asset: icons/pm-sample.svg
- source: polymetrics
- review_status: polymetrics
- review_url: https://github.com/polymetrics-ai/cli

## 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

```bash
pm connectors inspect youtube-data
```

### Inspect as structured JSON

```bash
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.

