Skip to content
Back to search

youtube-marketing-skills

Open-source agent-agnostic YouTube growth toolkit — 21 AI commands + live channel MCP. Works with Claude Code, Cursor, Codex, Windsurf, Gemini CLI & any MCP client. SEO, scripts, Shorts, thumbnails, analytics, WordPress publishing. Free VidIQ/TubeBuddy alternative.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/adityaarsharma--youtube-marketing-skills/badge.svg)](/listings/adityaarsharma--youtube-marketing-skills)

HTML

<a href="/listings/adityaarsharma--youtube-marketing-skills"><img src="/api/listings/adityaarsharma--youtube-marketing-skills/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Full guide: [INSTALL.md](INSTALL.md).

**Requirements:** Node.js 18+, Google Cloud project with YouTube Data API v3 + YouTube Analytics API enabled, OAuth 2.0 Desktop credentials.

# 1. Clone + install
git clone https://github.com/adityaarsharma/youtube-marketing-skills.git
cd youtube-marketing-skills && npm install

# 2. Drop your Google OAuth credentials.json into the directory

# 3. Authenticate — opens browser once, saves tokens locally
node auth.js

# 4. Install the skill files into your agent
cp -r skills/youtube-marketing ~/.claude/skills/

Add the MCP server to your agent's config (`~/.claude/settings.json`, `~/.cursor/mcp.json`, etc.):

{
  "mcpServers": {
    "youtube": {
      "command": "node",
      "args": ["/full/path/to/youtube-marketing-skills/server.js"]
    }
  }
}

Open your agent (Claude Code, Cursor, Codex, Windsurf, Gemini CLI — any MCP+Skills client) and type `/youtube-strategy`. You now have all 21 commands + live channel data + SEO write-back.

*A no-install hosted option is coming soon for users who don't want to set up Node + Google Cloud.*

Add to Claude Code `settings.json`:

{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["youtube-channel-mcp"]
    }
  },
  "skills": ["/path/to/youtube-marketing-skills/skills/youtube-marketing/SKILL.md"]
}

Configure your channel once — open `skills/youtube-marketing/SKILL.md` and set:

Channel: [Your channel name and handle]
Products: [Your products with URLs]
Best publish time: [Your optimal time + timezone]
Fixed links: [Product / docs / community URLs to embed in every description]

Every command now knows your business. Start with:

/youtube-ideate

---

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

SKILL.md · Manifest · 1 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. /Users/adityasharma/.claude/skills/youtube-marketing/skills/youtube-marketing/SKILL.md
README.md · README · 401 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. # YouTube Marketing Skills
  2. **Build a YouTube personal brand with live channel data, AI-generated SEO, and organic-only growth strategy — no paid ads, no $99/month subscription.**
  3. [![npm version](https://img.shields.io/npm/v/youtube-channel-mcp?style=for-the-badge&color=CB3837&logo=npm)](https://www.npmjs.com/package/youtube-channel-mcp)
  4. [![npm downloads](https://img.shields.io/npm/dm/youtube-channel-mcp?style=for-the-badge&color=CB3837&logo=npm)](https://www.npmjs.com/package/youtube-channel-mcp)
  5. [![GitHub Stars](https://img.shields.io/github/stars/adityaarsharma/youtube-marketing-skills?style=for-the-badge&logo=github)](https://github.com/adityaarsharma/youtube-marketing-skills)
  6. [![License MIT](https://img.shields.io/badge/License-MIT-blue?style=for-the-badge)](LICENSE)
  7. [![Node.js](https://img.shields.io/badge/Node.js-18%2B-43853D?style=for-the-badge&logo=node.js)](https://nodejs.org)
  8. [![Leave a tip](https://img.shields.io/badge/Leave%20a%20tip-Ko--fi-FF5E5B?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/adityaarsharma)
  9. 21 commands · 10 live channel tools · Works with Claude Code, Cursor, Codex, Gemini CLI · MIT
  10. ---
  11. ### ⭐ Star Goal: 500 in 30 days → unlocks v1.1 (CTR rescue + plateau buster + outlier detector)
  12. **[⭐ Star this repo](https://github.com/adityaarsharma/youtube-marketing-skills)** if you've ever spent a Sunday planning a video that got 43 views. Every star tells me what to ship next — and v1.1 unlocks at 500.
  13. ---
  14. ## What This Is
  15. An **agent-agnostic** skill suite + MCP server that connects your AI agent of choice to your **real YouTube channel** — reads your private analytics, writes SEO back to YouTube, and publishes companion posts to WordPress. Works with Claude Code, Claude Desktop, Cursor, Windsurf, OpenAI Codex, Gemini CLI, or any MCP-compatible client. Not locked to any single LLM or vendor.
  16. **Three things no other YouTube AI tool does:**
  17. 1. **Reads your private analytics** via OAuth — watch time, retention %, traffic sources, demographics. Not just public stats anyone can scrape.
  18. 2. **Writes back to YouTube** — pushes updated titles, descriptions, and tags directly from your agent. No opening YouTube Studio.
  19. 3. **Double-ranks on Google** — publishes a companion WordPress post with VideoObject schema so the same topic ranks on both Google and YouTube simultaneously.
  20. ```
  21. /youtube-ideate → /youtube-script → /youtube-seo → push to YouTube
  22. ↓
  23. /youtube-wp-post → published to WordPress
  24. ```
  25. ---
  26. ## Who This Is For
  27. Built for **developers, consultants, and product makers** who use YouTube to build authority — not entertainment creators chasing trending content.
  28. - You make tutorials, walkthroughs, or educational content in your niche
  29. - You want **organic-only growth** — no paid ads, no bought subscribers, no gaming the system
  30. - You have a product, service, open-source project, or community to grow through video
  31. - You want **evergreen content** — videos that get discovered for years, not just 48 hours after upload
  32. One subscriber from your niche is worth more than 10,000 random views. This tool understands that.
  33. ---
  34. ## Quick Start
  35. Full guide: [INSTALL.md](INSTALL.md).
  36. **Requirements:** Node.js 18+, Google Cloud project with YouTube Data API v3 + YouTube Analytics API enabled, OAuth 2.0 Desktop credentials.
  37. ```bash
  38. # 1. Clone + install
  39. git clone https://github.com/adityaarsharma/youtube-marketing-skills.git
  40. cd youtube-marketing-skills && npm install
  41. # 2. Drop your Google OAuth credentials.json into the directory
  42. # 3. Authenticate — opens browser once, saves tokens locally
  43. node auth.js
  44. # 4. Install the skill files into your agent
  45. cp -r skills/youtube-marketing ~/.claude/skills/
  46. ```
  47. Add the MCP server to your agent's config (`~/.claude/settings.json`, `~/.cursor/mcp.json`, etc.):
  48. ```json
  49. {
  50. "mcpServers": {
  51. "youtube": {
  52. "command": "node",
  53. "args": ["/full/path/to/youtube-marketing-skills/server.js"]
  54. }
  55. }
  56. }
  57. ```
  58. Open your agent (Claude Code, Cursor, Codex, Windsurf, Gemini CLI — any MCP+Skills client) and type `/youtube-strategy`. You now have all 21 commands + live channel data + SEO write-back.
  59. *A no-install hosted option is coming soon for users who don't want to set up Node + Google Cloud.*
  60. Add to Claude Code `settings.json`:
  61. ```json
  62. {
  63. "mcpServers": {
  64. "youtube": {
  65. "command": "npx",
  66. "args": ["youtube-channel-mcp"]
  67. }
  68. },
  69. "skills": ["/path/to/youtube-marketing-skills/skills/youtube-marketing/SKILL.md"]
  70. }
  71. ```
  72. Configure your channel once — open `skills/youtube-marketing/SKILL.md` and set:
  73. ```markdown
  74. Channel: [Your channel name and handle]
  75. Products: [Your products with URLs]
  76. Best publish time: [Your optimal time + timezone]
  77. Fixed links: [Product / docs / community URLs to embed in every description]
  78. ```
  79. Every command now knows your business. Start with:
  80. ```
  81. /youtube-ideate
  82. ```
  83. ---
  84. ## 21 Commands
  85. ### Strategy & Planning
  86. | Command | What It Does |
  87. |---------|-------------|
  88. | `/youtube-strategy` | Channel positioning, content pillars, 30/60/90-day growth milestones |
  89. | `/youtube-ideate` | 10 ranked video ideas with live keyword volume + SERP gap analysis |
  90. | `/youtube-calendar` | Monthly content plan with Shorts supplement + upload cadence |
  91. | `/youtube-competitor` | Keyword gaps, format gaps, live SERP map of your niche |
  92. ### Production
  93. | Command | What It Does |
  94. |---------|-------------|
  95. | `/youtube-script` | Retention-engineered tutorial script, pattern interrupts every 60–90s |
  96. | `/youtube-hook` | 5 hook variants with drop-off risk ratings |
  97. | `/youtube-thumbnail` | 3 A/B thumbnail briefs with full design specs and CTR predictions |
  98. | `/youtube-shorts` | Vertical-format Short: script, metadata, visual markers |
  99. ### SEO & Upload
  100. | Command | What It Does |
  101. |---------|-------------|
  102. | `/youtube-seo` | 3 title variants, full description, 20 ordered tags — grounded in live keyword data |
  103. | `/youtube-metadata` | Copy-paste upload package with pre-publish checklist |
  104. | `/youtube-wp-post` | Companion blog post → WordPress publish + VideoObject schema |
  105. | `/youtube-plugin-demo` | Script + SEO template for software demo and tutorial videos |
  106. ### Analytics & Optimization
  107. | Command | What It Does |
  108. |---------|-------------|
  109. | `/youtube-audit` | 4-dimension channel health audit with A–F grades |
  110. | `/youtube-analyze` | CTR, retention, traffic sources, sub conversion — diagnosis + priority actions |
  111. | `/youtube-batch-seo` | Bulk SEO update across your lowest-performing videos, auto-pushed to YouTube |
  112. | `/youtube-comment-intel` | Mine comments for feature requests, pain points, reply templates |
  113. ### Growth & Expansion
  114. | Command | What It Does |
  115. |---------|-------------|
  116. | `/youtube-repurpose` | 7-platform expansion: Shorts, blog, LinkedIn, X, email, podcast, Community post |
  117. | `/youtube-shorts-from-long` | Extract 3–5 Shorts from any existing long-form video |
  118. | `/youtube-funnel` | Video → landing page → product purchase funnel map |
  119. | `/youtube-collab` | Collaboration opportunity finder — channels to partner with in your niche |
  120. | `/youtube-monetize` | Revenue strategy across 7 streams |
  121. ---
  122. ## Live Channel Tools
  123. What makes this different from every other YouTube AI skill: **it connects to your real channel.**
  124. Direct read/write via OAuth2. Runs entirely on your machine — your data never leaves your computer.
  125. | Tool | What It Does |
  126. |------|-------------|
  127. | `get_video_details` | Full metadata — title, description, tags, privacy status, stats |
  128. | `search_my_videos` | Search your own channel by keyword |
  129. | `update_video_seo` | Push title, description, tags directly to YouTube |
  130. | `get_channel_overview` | Subscribers, total views, video count |
  131. | `get_all_videos` | All videos with stats, sorted by date or views |
  132. | `get_analytics_over_time` | Day-by-day views, watch time, subscribers for any date range |
  133. | `get_top_videos_analytics` | Top videos by views — with retention %, subs gained |
  134. | `get_audience_demographics` | Countries, device types, age groups, gender |
  135. | `get_traffic_sources` | Search, Suggested, Browse, External — with percentages |
  136. | `analyze_and_suggest_topics` | Channel data → AI-powered gap analysis and topic suggestions |
  137. ---
  138. ## The Organic Growth Playbook
  139. No ads. No paid promotion. No viral luck. This is how personal brands compound on YouTube.
  140. ### 1. Find Evergreen Gaps
  141. Evergreen content = keywords with consistent monthly search volume, not trending spikes that collapse in a week.
  142. `/youtube-ideate` pulls live keyword data and surfaces gaps: real searches with volume that your competitors aren't targeting yet.
  143. **What to look for:** Keywords where the top-ranking videos are 12+ months old, have weak titles, or come from channels outside your niche. That's unclaimed territory.
  144. ### 2. One Video, Three Discovery Paths
  145. Every video you make should be built to win across three separate discovery systems:
  146. - **YouTube Search** — title + description + tags targeting one specific query
  147. - **Google Search** — companion WordPress post with VideoObject schema (same topic, two rankings)
  148. - **Suggested** — thumbnail + hook optimized for your existing subscriber cohort
  149. `/youtube-seo` + `/youtube-wp-post` handles all three in one workflow.
  150. ### 3. The Compounding Loop
  151. ```
  152. Month 1: Publish optimized tutorial → earns YouTube Search traffic
  153. Month 2: Companion post ranks on Google → new audience discovers the video
  154. Month 3: Video earns Suggested placement from a similar viewer cohort
  155. Month 6: Run /youtube-batch-seo → refresh titles with updated keyword data
  156. Year 1: This video drives 30–40% of your channel's total subscriber growth
  157. ```
  158. `/youtube-batch-seo` automates the quarterly refresh. It finds your underperforming videos and pushes improved SEO — without you touching YouTube Studio.
  159. ### 4. Build a Gap Map, Not Just a Content Calendar
  160. Most creators plan content by topic. Personal brands should plan by competitive gap.
  161. ```
  162. /youtube-competitor → find what your niche isn't covering yet
  163. /youtube-ideate → rank those gaps by keyword volume and competition score
  164. /youtube-calendar → sequence by production effort and seasonal timing
  165. ```
  166. This is the difference between a content calendar and a growth strategy.
  167. ---
  168. ## Channel Templates
  169. Pick the template that fits your channel type — configure it once in `SKILL.md`:
  170. | Template | Built For |
  171. |----------|-----------|
  172. | `personal-brand.md` | Consulting, coaching, courses, authority building |
  173. | `product-company.md` | Plugin / SaaS / software companies |
  174. | `tutorial-channel.md` | Pure tutorial — ad revenue + affiliates |
  175. | `saas-channel.md` | Free trial → paid conversion funnel |
  176. | `wordpress-specialist.md` | WordPress ecosystem, affiliate revenue |
  177. | `agency-channel.md` | Client acquisition through authority content |
  178. ---
  179. ## Integrations
  180. ### Live Data Layer
  181. | Integration | What It Enables | Used By |
  182. |-------------|----------------|---------|
  183. | **DataForSEO MCP** | Live keyword volume + YouTube SERP data + search trends | `/youtube-ideate`, `/youtube-seo`, `/youtube-competitor` |
  184. | **WordPress MCP** | Companion post publishing with VideoObject schema | `/youtube-wp-post` |
  185. ### Video Production Stack
  186. Chain these together to produce finished videos from inside your agent — no manual editing, no leaving your terminal.
  187. | Integration | What It Enables | Used By |
  188. |-------------|----------------|---------|
  189. | **Remotion MCP** | Programmatic video creation — animated intros, code reveals, lower-thirds, outros (React → MP4) | `/youtube-tutorial-build`, `/youtube-channel-trailer` *(roadmap)* |
  190. | **FFmpeg MCP** | Video assembly, vertical 9:16 reframe, caption burn-in, clip extraction, format conversion | `/youtube-shorts-build`, `/youtube-clip-from-long` *(roadmap)* |
  191. | **ElevenLabs MCP** | AI voiceover for Shorts and tutorials — 10k credits/month free, voice cloning supported | `/youtube-shorts-build`, `/youtube-tutorial-build` *(roadmap)* |
  192. | **Whisper MCP** | Auto-captions — word-level SRT/VTT for burned-in animated captions. 85% of Shorts watched on mute — captions are non-negotiable | `/youtube-shorts-build`, `/youtube-clip-from-long` *(roadmap)* |
  193. | **Pexels MCP** | Free vertical B-roll stock footage matched to your script keywords | `/youtube-shorts-build` *(roadmap)* |
  194. | **Freesound MCP** | Viral SFX (whoosh, bell, ding, transitions) + royalty-free music | `/youtube-shorts-build` *(roadmap)* |
  195. | **Nano Banana 2 MCP** | Thumbnail image generation from briefs (Gemini Flash Image, ~$0.03/image) | `/youtube-thumbnail-image` *(roadmap)* |
  196. Roadmap details: [`marketing/integration-roadmap.md`](marketing/integration-roadmap.md) — 5 new orchestrator skills that chain these MCPs into one-command video production workflows.
  197. ---
  198. ## Works With
  199. | Agent | How |
  200. |-------|-----|
  201. | Claude Code | Skill files + live channel tools |
  202. | Claude Desktop | Live channel tools via MCP |
  203. | Cursor | Live channel tools via MCP |
  204. | Windsurf | Live channel tools via MCP |
  205. | OpenAI Codex | Skill files |
  206. | Gemini CLI | Skill files |
  207. | Any MCP client | Remote HTTP/SSE |
  208. ---
  209. ## Research Foundation
  210. Every recommendation in every command is grounded in published data — not opinions.
  211. | Source | Finding Used |
  212. |--------|-------------|
  213. | Retention Rabbit (150M+ minutes analyzed) | Hook length 28–42s is optimal for tutorials |
  214. | Wistia, 2024 | Pattern interrupts every 60–90s → −40% drop-off |
  215. | Focus Digital, Dec 2025 | CTR benchmarks: Poor <3%, Average 3–5%, Good 5–8%, Excellent >8% |
  216. | vidIQ (5M channel dataset) | 2–3 uploads/week → 4x subscriber growth rate |
  217. | vidIQ (5M channel dataset) | Face in thumbnail → +38% CTR |
  218. | BrightEdge, 2025 | Blog post with YouTube embed → +53% Google ranking lift |
  219. | Yoast SEO Study, 2024 | VideoObject schema on WordPress → +31% Google CTR |
  220. | ConversionXL, 2024 | Software demo videos convert at 2.8–6% |
  221. | YouTube Official, Sept 2025 | Shorts freshness decay: 28–30 day cliff |
  222. | HubSpot, 2024 | Content repurposed to 3+ formats → 3.5x total reach |
  223. | Demand Curve, 2025 | Top 20% of videos drive 80% of channel subscriber growth |
  224. | Semrush, 2025 | WordPress tutorial queries spike Jan–Mar and Sep–Nov |
  225. Full citations: [`references/whitepapers.md`](references/whitepapers.md)
  226. ---
  227. ## What's Inside
  228. ```
  229. skills/youtube-marketing/
  230. SKILL.md ← entry point — configure your channel once here
  231. sub-skills/ ← 21 command files
  232. references/ ← 9 knowledge guides (algorithm, analytics, SEO, Shorts, retention)
  233. templates/ ← 6 channel type configs
  234. references/
  235. whitepapers.md ← full citation database (14 published studies)
  236. ```
  237. ---
  238. ## vs. VidIQ / TubeBuddy
  239. | VidIQ / TubeBuddy | YouTube Marketing Skills |
  240. |-------------------|--------------------------|
  241. | Suggests keywords | Pulls live SERP data + pushes the optimized title directly to YouTube |
  242. | Shows a CTR score | Diagnoses why CTR is low + rewrites the thumbnail brief |
  243. | Gives a tag list | Generates 20 prioritized tags + validates against YouTube policy |
  244. | Dashboard only | Publishes a companion blog post to WordPress with VideoObject schema |
  245. | One-size-fits-all | Learns your products, pricing, audience, and fixed links |
  246. | No script help | Full retention-engineered script with pattern interrupts every 60–90s |
  247. | $49–$99/month | Free. Open source. MIT. Runs entirely on your machine. |
  248. ---
  249. ## Other Install Options
  250. See **[INSTALL.md](INSTALL.md)** for the full guide — skill-only (no Node.js), full live mode, remote mode for teams, and Cursor / Claude Desktop / Codex / Gemini CLI configs.
  251. ---
  252. ## FAQ
  253. ### Is this a free VidIQ alternative?
  254. Yes. 100% free, open source, MIT licensed. No subscription, no paywalled features, no usage limits. Everything VidIQ charges $49–$99/month for — keyword research, SEO scoring, bulk SEO updates, channel audits — runs locally on your machine with this toolkit.
  255. ### Can my AI agent manage my YouTube channel?
  256. Yes — with Mode 2 (Hosted MCP) or Mode 3 (Local MCP), your agent connects to your channel via OAuth and can read your private analytics (watch time, retention, traffic sources) and write back SEO updates (title, description, tags) directly. Works with Claude Code, Cursor, Windsurf, Codex, Gemini CLI, or any MCP-compatible client. You stay in control: the agent proposes changes, you approve before they push.
  257. ### Do I need to install Node.js?
  258. Yes — Node.js 18+ runs the MCP server that connects to your live YouTube data and pushes SEO updates back. That's how all 21 commands actually work against your real channel.
  259. A hosted, no-install version is coming soon for users who don't want to set up Node + Google Cloud locally.
  260. ### How is this different from claude-youtube by AgriciDaniel?
  261. claude-youtube is skill-only — you paste analytics in manually. This repo offers both: pure skill mode + a live MCP server that reads private analytics and writes SEO directly to YouTube. You also get a WordPress companion-post pipeline, batch SEO updates, and 21 commands vs 14.
  262. ### How is this different from VidIQ or TubeBuddy?
  263. VidIQ and TubeBuddy show you scores. This gives you a workflow. They suggest keywords; this pushes the optimized title directly to YouTube. They give you a CTR number; this diagnoses why CTR is low and rewrites your thumbnail brief. They cost $49–$99/month; this is free and runs on your machine.
  264. ### How do I grow a YouTube channel without paid ads?
  265. Use the **Organic Growth Playbook** above: find evergreen keyword gaps (`/youtube-ideate`), publish optimized tutorials with companion WordPress posts (`/youtube-wp-post`), then run `/youtube-batch-seo` quarterly to refresh older videos. This stacks YouTube Search + Google Search + Suggested traffic into one compounding system. No paid ads required.
  266. ### What is a YouTube MCP server?
  267. An MCP (Model Context Protocol) server is a local program that gives AI agents like Claude direct access to a service. This repo's MCP server exposes 10 YouTube tools — read analytics, search your channel, update video SEO — so Claude can act on your real channel data. It runs entirely on your machine via OAuth2; nothing is sent to third parties.
  268. ### Does this work with channels that have a product to sell?
  269. Yes — it was specifically built for channels where one subscriber is worth more than 10,000 ad views. Configure your products and fixed links once in `SKILL.md`, then every command writes descriptions, CTAs, and funnels around your real product pages. There are channel templates for plugin/SaaS, agency, consultancy, personal brand, and tutorial channels.
  270. ### Will this work for new channels under 1,000 subscribers?
  271. Yes — the strategy and ideation commands work without any channel data (`/youtube-strategy`, `/youtube-ideate`, `/youtube-script`, `/youtube-hook`, `/youtube-thumbnail`). Live analytics commands obviously need an existing channel. The Organic Growth Playbook is designed to take a channel from zero to its first thousand subscribers using SEO-driven discovery.
  272. ---
  273. ## License
  274. MIT — [Aditya Sharma](https://adityaarsharma.com)
  275. ---
  276. *Built for channels where one subscriber is worth more than ten thousand ad views.*
install.sh · Bundled script · 54 lines · 1 finding marked
  1. #!/bin/bash
  2. # YouTube Marketing Skills — Install Script
  3. # Usage: curl -fsSL https://raw.githubusercontent.com/adityaarsharma/youtube-marketing-skills/main/install.sh | bash
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 3 on GitHub
  4. set -e
  5. REPO="adityaarsharma/youtube-marketing-skills"
  6. INSTALL_DIR="$HOME/.claude/skills/youtube-marketing"
  7. CLAUDE_SETTINGS="$HOME/.claude/settings.json"
  8. echo ""
  9. echo "Installing YouTube Marketing Skills..."
  10. echo ""
  11. # Check Node.js
  12. if ! command -v node &>/dev/null; then
  13. echo "Error: Node.js is required. Install from https://nodejs.org"
  14. exit 1
  15. fi
  16. # Clone or update
  17. if [ -d "$INSTALL_DIR" ]; then
  18. echo "Updating existing install at $INSTALL_DIR"
  19. git -C "$INSTALL_DIR" pull --quiet
  20. else
  21. echo "Cloning to $INSTALL_DIR"
  22. git clone --quiet "https://github.com/$REPO.git" "$INSTALL_DIR"
  23. fi
  24. # Install dependencies
  25. cd "$INSTALL_DIR"
  26. npm install --quiet
  27. echo ""
  28. echo "Skill files installed at: $INSTALL_DIR/skills/youtube-marketing/"
  29. echo ""
  30. echo "Next steps:"
  31. echo ""
  32. echo " 1. Add to Claude Code settings (~/.claude/settings.json):"
  33. echo ' "skills": ["'"$INSTALL_DIR"'/skills/youtube-marketing/SKILL.md"]'
  34. echo ""
  35. echo " 2. (Optional) Add the MCP server for direct YouTube API access:"
  36. echo ' "mcpServers": {'
  37. echo ' "youtube-marketing": {'
  38. echo ' "command": "node",'
  39. echo ' "args": ["'"$INSTALL_DIR"'/server.js"]'
  40. echo ' }'
  41. echo ' }'
  42. echo ""
  43. echo " 3. (Optional) Set up YouTube OAuth for MCP tools:"
  44. echo " node $INSTALL_DIR/auth.js"
  45. echo ""
  46. echo "Done. Open Claude Code and try /youtube ideate"
  47. echo ""

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.