Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

youtube-to-links

Skill by solana-foundation

Imports a YouTube video or full playlist into the media app's links collection as Keystatic MDX entries. It is for developers working on the Solana Foundation media app.

  • Score 74
  • 538 stars
  • GPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install youtube-to-links

Built from the published package, never by AI.

git clone --depth 1 https://github.com/solana-foundation/solana-com /tmp/solana-com && mkdir -p ~/.claude/skills && cp -r /tmp/solana-com/skills/youtube-to-links ~/.claude/skills/youtube-to-links

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install youtube-to-links in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill turns a YouTube URL into one MDX file per video under apps/media/content/links/. It accepts single videos, Shorts and playlists, and it matches the schema in apps/media/keystatic.config.tsx. A helper script, import_youtube.py, runs the import and reads the YouTube API key from the environment or from apps/media/.env.local.

Files are named with a slug that follows Keystatic's own rules, and existing files with the same slug are left untouched, so re-runs are safe. Videos from the Solana Foundation channel (@SolanaFndn) get the solana-foundation tag automatically. After writing, the script checks for duplicate YouTube video IDs and reports any groups it finds. It is intended for users who add YouTube content to the media app's links collection.

Written from the project's SKILL.md and checked against it.

What it can do

  • Single video importTurns one YouTube watch, youtu.be or Shorts URL into one MDX entry.
  • Playlist importCreates one MDX entry for each video in a YouTube playlist URL.
  • Channel taggingAdds the solana-foundation tag to videos from the @SolanaFndn channel.
  • Keystatic-compatible slugsBuilds filenames using Keystatic's slug rules so they match CMS-authored entries.
  • Safe re-runsLeaves existing files with the same slug untouched when run again.
  • Duplicate checkScans existing link files and reports groups that point to the same video.

What you need

  • YouTube Data API key in YOUTUBE_DATA_API_KEY or YOUTUBE_API_KEY
  • Python 3 to run import_youtube.py
  • The media app repository with apps/media/content/links/ and keystatic.config.tsx

Try asking

  • Add this YouTube video to the media app's links collection: <url>
  • Import every video in this YouTube playlist as link entries: <playlist url>
  • Import these YouTube URLs and skip any that already exist in the links folder

Good to know

  • The duplicate check reports matching files but does not delete them.
  • Categories are left empty by default and must be added in Keystatic.
  • Channel tagging is set only for the Solana Foundation channel unless the script is changed.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/youtube-to-links/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md4 KB
  • import_youtube.py10 KB

Alternatives to youtube-to-links

All alternatives →
video-shortformnexu-io
94

Generates 3 to 10 second short-form video clips for product reveals, motion teasers and ambient loops. It defaults to Seedance 2 and also works with Kling 3 and 4, Veo 3 and Sora 2, saving one MP4 to the project folder.

AAA Skill 110k
seo-plansickn33
94

Builds a strategic SEO plan for new or existing websites, covering competitors, architecture, content, technical setup and a 12-month roadmap. It is aimed at people who need an SEO strategy rather than a one-time audit.

AAA Skill 50k
linkedin-profilealirezarezvani
94

Audits and rewrites a LinkedIn profile for people who want their headline, About section and other parts improved. It scores the headline, audits the whole profile from 0 to 100 and drafts an About section that works above the fold.

AAA Skill 31k
linkedin-strategyalirezarezvani
94

Builds a LinkedIn plan covering content pillars, positioning, posting cadence and whether to start a newsletter. Aimed at people pursuing a career change, consulting, thought leadership or similar goals on LinkedIn.

AAA Skill 31k
landing-pageMengTo
94

Guides an AI assistant to design or rewrite a single-offer landing page for SaaS, apps and services. It covers structure, layout, copywriting, conversion tactics, and SEO/AEO.

AAA Skill 8.5k
linkedin-analyticsalirezarezvani
94

Analyzes your own exported LinkedIn post data to show which posts worked, test whether a pattern is real, and plan posting experiments. Built for people who want to understand their own LinkedIn numbers. It refuses to draw conclusions from fewer than 10 posts.

AAA Skill 31k

Compare with video-shortform, seo-plan or linkedin-profile

youtube-to-links: common questions

What does the youtube-to-links skill write to the repo?

It writes one MDX file per video into apps/media/content/links/. The frontmatter includes the title, URL, linkType video, source YouTube, publishedAt and featured set to false.

Will running the import twice create duplicate entries?

No. Existing files matched by slug are left untouched, so re-runs are safe. The script also reports any duplicate groups by video ID after writing.

How are videos from the Solana Foundation channel tagged?

Videos from the @SolanaFndn channel get the solana-foundation tag automatically. Other channels get no tag unless the script's channel mappings are extended.

How do I install youtube-to-links?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is youtube-to-links free?

The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.

Is youtube-to-links safe to use?

It scores 74 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to youtube-to-links?

Similar skills: video-shortform, seo-plan, linkedin-profile, linkedin-strategy.

youtube-to-links Install

Add to stack

Loading.