Skip to content
add-video-to-collection logo

Add Video to Collection

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.

SKILL.md

Full skill instructions

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

ytscriber add "<youtube-url>" --folder <collection>

[!IMPORTANT] Always quote URLs to prevent shell interpretation of ? and & characters.

CollectionDescription
library-of-mindsThought leaders, interviews, educational content
randomMiscellaneous, 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, educationallibrary-of-minds
Miscellaneous, one-off interesting contentrandom
User specifies a collectionUse that collection

2. Run the CLI Command

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:

# 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

OutputMeaning
Added video XXX to ...Success — video was added
Video XXX already exists in ...Duplicate — no action needed
Error messageSee Troubleshooting below

4. Offer Transcript Download (Optional)

After adding, ask the user if they want to download the transcript:

ytscriber download --folder <collection>

Troubleshooting

ProblemCauseSolution
command not found: ytscriberCLI not installedRun pip install -e . from project root
Invalid YouTube URLMalformed URLUse full URL: https://www.youtube.com/​watch?v=VIDEO_ID
Permission deniedFile permissionsCheck write access to data directory
Video not appearing in CSVSilent failureRun 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

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View