add-video-to-collection
Manually add individual YouTube URLs to a custom collection CSV. Use when adding one-off videos to folders like library-of-minds or random, not from a channel extraction.
Best use case
add-video-to-collection is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Manually add individual YouTube URLs to a custom collection CSV. Use when adding one-off videos to folders like library-of-minds or random, not from a channel extraction.
Teams using add-video-to-collection should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/add-video-to-collection/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How add-video-to-collection Compares
| Feature / Agent | add-video-to-collection | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Manually add individual YouTube URLs to a custom collection CSV. Use when adding one-off videos to folders like library-of-minds or random, not from a channel extraction.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# Add Video to Collection **Why?** Curated collections contain videos from multiple sources—manually editing CSVs causes formatting bugs and duplicates. This skill uses the CLI to add videos safely. ## Quick Start ```bash ytscriber add "<youtube-url>" --folder <collection> ``` > [!IMPORTANT] > **Always quote URLs** to prevent shell interpretation of `?` and `&` characters. | Collection | Description | |------------|-------------| | library-of-minds | Thought leaders, interviews, educational content | | random | Miscellaneous, one-off interesting content | | (custom) | Any folder name you specify | --- ## Workflow ### 1. Identify the Target Collection Determine which collection the video belongs to: | If the video is... | Use collection | |--------------------|----------------| | Thought leader, interview, educational | `library-of-minds` | | Miscellaneous, one-off interesting content | `random` | | User specifies a collection | Use that collection | ### 2. Run the CLI Command ```bash ytscriber add "<youtube-url>" --folder <collection> ``` > [!CAUTION] > **NEVER manually edit CSV files** to add videos. Always use `ytscriber add` to ensure proper formatting and duplicate detection. **Examples:** ```bash # Add to library-of-minds ytscriber add "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --folder library-of-minds # Add to random collection ytscriber add "https://www.youtube.com/watch?v=jNQXAC9IVRw" --folder random # Verbose output for debugging ytscriber add "https://www.youtube.com/watch?v=9bZkp7q19f0" --folder random -v ``` ### 3. Verify the Output | Output | Meaning | |--------|---------| | `Added video XXX to ...` | Success — video was added | | `Video XXX already exists in ...` | Duplicate — no action needed | | Error message | See Troubleshooting below | ### 4. Offer Transcript Download (Optional) After adding, ask the user if they want to download the transcript: ```bash ytscriber download --folder <collection> ``` --- ## Troubleshooting | Problem | Cause | Solution | |---------|-------|----------| | `command not found: ytscriber` | CLI not installed | Run `pip install -e .` from project root | | `Invalid YouTube URL` | Malformed URL | Use full URL: `https://www.youtube.com/watch?v=VIDEO_ID` | | `Permission denied` | File permissions | Check write access to data directory | | Video not appearing in CSV | Silent failure | Run with `-v` flag to see debug output | --- ## Common Mistakes 1. **Unquoted URLs** — Shell interprets `?` as glob. Always wrap URLs in double quotes. 2. **Editing CSV directly** — Causes newline corruption and duplicate entries. Always use CLI. 3. **Using short URLs** — `youtu.be/XXX` works, but full `youtube.com/watch?v=XXX` is preferred. 4. **Wrong collection** — Double-check the collection name matches an existing folder or will be created. 5. **Forgetting to download transcript** — Adding to CSV doesn't download content. Run `ytscriber download` separately. --- ## Reference **What the CLI handles automatically:** - Duplicate detection (skips existing URLs) - URL normalization to canonical format - Proper CSV escaping and formatting - Header creation for new CSV files - Folder creation if it doesn't exist **Metadata populated during transcript download:** - Video title - Duration - Upload date - Channel name
Related Skills
chrome-debug
This skill empowers AI agents to debug web applications and inspect browser behavior using the Chrome DevTools Protocol (CDP), offering both collaborative (headful) and automated (headless) modes.
ontopo
An AI agent skill to search for Israeli restaurants, check table availability, view menus, and retrieve booking links via the Ontopo platform, acting as an unofficial interface to its data.
grail-miner
This skill assists in setting up, managing, and optimizing Grail miners on Bittensor Subnet 81, handling tasks like environment configuration, R2 storage, model checkpoint management, and performance tuning.
vly-money
Generate crypto payment links for supported tokens and networks, manage access to X402 payment-protected content, and provide direct access to the vly.money wallet interface.
ux
This AI agent skill provides comprehensive guidance for creating professional and insightful User Experience (UX) designs, covering user research, information architecture, interaction design, visual guidance, and usability evaluation. It aims to produce actionable, user-centered solutions that avoid generic AI aesthetics.
astro
This skill provides essential Astro framework patterns, focusing on server-side rendering (SSR), static site generation (SSG), middleware, and TypeScript best practices. It helps AI agents implement secure authentication, manage API routes, and debug rendering behaviors within Astro projects.
tech-blog
Generates comprehensive technical blog posts, offering detailed explanations of system internals, architecture, and implementation, either through source code analysis or document-driven research.
modal-deployment
Run Python code in the cloud with serverless containers, GPUs, and autoscaling using Modal. This skill enables agents to generate code for deploying ML models, running batch jobs, serving APIs, and scaling compute-intensive workloads.
thor-skills
An entry point and router for AI agents to manage various THOR-related cybersecurity tasks, including running scans, analyzing logs, troubleshooting, and maintenance.
whisper-transcribe
Transcribes audio and video files to text using OpenAI's Whisper CLI, enhanced with contextual grounding from local markdown files for improved accuracy.
lets-go-rss
A lightweight, full-platform RSS subscription manager that aggregates content from YouTube, Vimeo, Behance, Twitter/X, and Chinese platforms like Bilibili, Weibo, and Douyin, featuring deduplication and AI smart classification.
advanced-skill-creator
Meta-skill that generates domain-specific skills using advanced reasoning techniques. PROACTIVELY activate for: (1) Create/build/make skills, (2) Generate expert panels for any domain, (3) Design evaluation frameworks, (4) Create research workflows, (5) Structure complex multi-step processes, (6) Instantiate templates with parameters. Triggers: "create a skill for", "build evaluation for", "design workflow for", "generate expert panel for", "how should I approach [complex task]", "create skill", "new skill for", "skill template", "generate skill"