# YouTube Channel & Transcript Researcher — Agent Skill

> Search high-performing YouTube videos on any topic, pull full timestamped transcripts, and mine viewer comments for unanswered questions and content angles.

- **Canonical URL**: https://duang.ai/skills/youtube-content-research
- **Steps**: 3 live data APIs
- **Estimated cost**: From $0.00675/run (~148 full runs on the $1 free welcome credit)
- **Outcome**: Audience voice-of-customer brief and outline grounded in real videos and viewer comments.
- **Works with**: Claude Code, Cursor, Claude Desktop, Codex, OpenClaw, CLI & HTTP

## Example Prompt

> Use Duang to search top YouTube videos on 'Claude Code MCP workflow', pull the transcript of the top video, and summarize the top viewer questions from its comments.

## Workflow Steps & Pricing

| Step | Capability | Starting Price | Providers |
| :--- | :--- | :--- | :--- |
| 1. Search relevant YouTube videos | [`youtube.videos.search`](https://duang.ai/data/youtube/videos-search) | From $0.00225 | Just One API, Scrape Creators, TikHub |
| 2. Pull full video transcript | [`youtube.video.transcript`](https://duang.ai/data/youtube/video-transcript) | From $0.00225 | Just One API, Scrape Creators |
| 3. Mine viewer comments for pain points | [`youtube.video.comments`](https://duang.ai/data/youtube/video-comments) | From $0.00225 | Just One API, Scrape Creators |

## Ready-to-Use `SKILL.md`

```markdown
---
name: youtube-content-research
description: "Search high-performing YouTube videos on any topic, pull full timestamped transcripts, and mine viewer comments for unanswered questions and content angles."
---

# YouTube Channel & Transcript Researcher

## Prerequisites
- Connect Duang first via `https://duang.ai/SKILL.md` or remote MCP `https://api.duang.ai/mcp`.
- Never ask the user to paste raw third-party API keys into chat—Duang executes managed calls from the team USD balance (new teams start with $1 free) or connected team vault accounts.

## Workflow Steps
1. **Search relevant YouTube videos** — call `youtube.videos.search` (providers: Just One API, Scrape Creators, TikHub)
   - Goal: Find top-performing videos, channels, view counts, and publish dates for a target query.
   - Example input: `{"query":"Claude Code MCP tutorial"}`
2. **Pull full video transcript** — call `youtube.video.transcript` (providers: Just One API, Scrape Creators)
   - Goal: Extract full spoken text without downloading media so the agent can analyze chapters and takeaways.
   - Example input: `{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}`
3. **Mine viewer comments for pain points** — call `youtube.video.comments` (providers: Just One API, Scrape Creators)
   - Goal: Surface recurring objections, follow-up questions, and feature requests directly from viewers.
   - Example input: `{"video_id":"dQw4w9WgXcQ","limit":20}`

## Output Requirements
- Audience voice-of-customer brief and outline grounded in real videos and viewer comments.
- Cite the exact source URLs and note the Duang provider and USD receipt returned by each call.
- If any step fails due to an upstream error, report it clearly (failed upstream calls cost $0 on Duang) rather than fabricating data.
```

## CLI Pipeline

```bash
npx @fastagent-sh/duang call youtube.videos.search --input '{"query":"Claude Code MCP tutorial"}'
npx @fastagent-sh/duang call youtube.video.transcript --input '{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'
npx @fastagent-sh/duang call youtube.video.comments --input '{"video_id":"dQw4w9WgXcQ","limit":20}'
```

## Frequently Asked Questions

### How much does the YouTube Research skill cost to run?

Running all 3 steps once starts at From $0.00675/run—meaning the $1 free welcome credit for new teams covers roughly 148 full runs. You never pay monthly vendor subscriptions, virtual credits are never used, and failed upstream or platform calls cost $0.

### How do I install the YouTube Research skill in Claude Code, Cursor, or Codex?

First connect Duang once (paste `https://api.duang.ai/mcp` as a remote MCP server or tell your agent `set up https://duang.ai/SKILL.md`). Then save the SKILL.md snippet above into your project's skills folder or paste the prompt directly.

### Which Duang data APIs does this skill chain together?

This workflow combines 3 normalized Duang capabilities: youtube.videos.search, youtube.video.transcript, youtube.video.comments. You can inspect schemas, test any individual step live in your browser, or swap to your own provider keys anytime.
