Skip to content
Agentmart
Submit a tool

gmp-yt

YouTube Data API v3: channel stats, video performance, and public video search.

Skill by lucianfialho

IndexedApache-2.0★ 33
Write a review

Chalk Labs

Need help deploying gmp-yt?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/lucianfialho-gmp-yt

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

YouTube Data API v3: channel stats, video performance, and public video search.

Use cases: backend, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/gmp-yt

What's inside

Skill name
gmp-yt
Description
YouTube Data API v3: channel stats, video performance, and public video search.
License
Apache-2.0
Instructions
92 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# yt (YouTube Data API v3)

> **PREREQUISITE:** Read `../gmp-shared/SKILL.md` for auth, global flags, and output formats.

```bash
gmp yt <command> [flags]
```

## Commands

| Command | Description |
|---------|-------------|
| [`videos`](../gmp-yt-videos/SKILL.md) | List channel videos with views, likes and comments |
| `channel` | Channel overview: subscribers, total views, video count |
| `video` | Stats for one or more videos by ID |
| `search` | Search public videos (100 quota units per call) |

## Credentials

`gmp yt` accepts either an API key or the standard OAuth login. Prefer the API key: these are public metrics and the key never expires.

```bash
export YOUTUBE_API_KEY=AIza...       # APIs & Services > Credentials
export YOUTUBE_CHANNEL_ID=@handle    # optional default channel
```

Requires **YouTube Data API v3** to be enabled in the Google Cloud project. Without `YOUTUBE_API_KEY`, the CLI falls back to the `gmp auth login` token (scope `youtube.readonly`), and omitting `--channel` then resolves to the authenticated user's own channel.

## Channel References

`--channel` accepts either form:

| Form | Example |
|------|---------|
| Channel ID | `UCBJycsmduvYEL83R_U4JriQ` |
| Handle | `@mkbhd` |

## Quick Reference

### Channel overview

```bash
gmp yt channel -c @mkbhd
gmp yt channel -c UCBJycsmduvYEL83R_U4JriQ -f json
```

Columns: `channelId`, `title`, `handle`, `subscribers`, `totalViews`, `videoCount`, `publishedAt`.

### Video stats by ID

```bash
gmp yt video -i dQw4w9WgXcQ
gmp yt video -i dQw4w9WgXcQ,9bZkp7q19f0 -f table
```

### Search public videos

```bash
gmp yt search -q "product analytics" -n 20
gmp yt search -q "tutorial" -c UCBJycsmduvYEL83R_U4JriQ -o viewCount
```

| Flag | Default | Description |
|------|---------|-------------|
| `-q, --query <q>` | -- | Search query (required) |
| `-c, --channel <id>` | -- | Restrict to a channel ID (`UC...` only) |
| `-n, --limit <n>` | `10` | Max results (1-50) |
| `-o, --order <order>` | `relevance` | relevance, date, viewCount, rating |

## Quota

Default allowance is 10,000 units per day.

| Command | Cost |
|---------|------|
| `yt channel` | 1 unit |
| `yt videos` | ~2 units per 50 videos |
| `yt video` | 1 unit per 50 IDs |
| `yt search` | 101 units |

Avoid `yt search` in loops. To enumerate a channel, `yt videos` walks the uploads playlist and costs about 50x less.

## Scope

Public metrics only. Watch time, audience retention, impression CTR, traffic sources and demographics belong to the **YouTube Analytics API**, which is a different API and is not implemented in this CLI.

## See Also

- [gmp-shared](../gmp-shared/SKILL.md) -- Global flags and auth
- [gmp-yt-videos](../gmp-yt-videos/SKILL.md) -- Channel video listing in detail

From lucianfialho/gmp-cli, Apache-2.0.

More from lucianfialho/gmp-cli

Signals

Stars
33
Forks
3
Open issues
5
Last commit (this folder)
Aug 12, 2026 (2 months ago)
Last release
Apr 27, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from lucianfialho

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get gmp-yt running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying gmp-yt?

CallGet help
Cite this page

gmp-yt skill. Agent Mart. https://agentmart.dev/skills/lucianfialho-gmp-yt (last updated 2026-10-24)