agentleFS
JCodesMoreJCodesMore/youtube-for-ai-agents/skills/setup/SKILL.md

setup

Skill75 starsChanged 4 days agoApache-2.0View on GitHub

Check that the YouTube plugin works, sign in to YouTube or out, and change its settings.

192 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-discord, add-slack and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    add-discord

    Add Discord bot channel integration via Chat SDK.

    Also in 11 projects that use this

  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 11 projects that use this

  • +10 more from microsoft

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 168 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run doctor. It checks Node, sign-in, settings, and a live search, video lookup and transcript from this computer.

    line 17
  2. Distinctive:

    All OK: say so in a sentence, and mention whether they're signed in.

    line 19
  3. Very specific:

    After a sign-in or settings change, run doctor again to confirm, and tell them to restart Claude Code (or run /mcp and reconnect youtube) …

    line 39

“Common” is measured: kept by at least 6 in 10 of the 168 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

YouTube setup

Walk the user through setup like a friendly colleague. The plugin's command line does the work; run it with Bash and summarise what it says rather than pasting raw output.

node "${CLAUDE_PLUGIN_ROOT}/dist/index.js" <command>

1. Check it works

Run doctor. It checks Node, sign-in, settings, and a live search, video lookup and transcript from this computer.

  • All OK: say so in a sentence, and mention whether they're signed in.
  • node not found, or a version below 20: they need Node.js 22 or newer from https://nodejs.org, then a restart of Claude Code.
  • Transcript failing with a rate limit or bot check: YouTube is limiting their network. Signing in (step 2) usually fixes it; a VPN or cloud machine makes it likelier.
  • Anything else: show the FAIL lines and their hints.

2. Offer the choices

Everything works anonymously: search, transcripts, frames, comments, downloads. Signing in is optional and helps when YouTube rate-limits their network, for age-restricted videos, and for search results shaped by their own history. Offer:

  1. Sign in — run login. A separate browser window opens (Chrome, Edge or Brave, in its own profile, so their everyday browser is untouched). They sign in to Google there; the command waits up to 10 minutes, saves the sign-in and closes the window. Run it in the background or with a long timeout, and tell them to finish signing in in that window.
  2. Sign out — run logout.
  3. Change settings — run config to show every setting and its value, then config set <key> <value> for each change (config reset [key] undoes). The useful ones:
    • transcript.defaultLanguage: a language code such as en to always translate into; empty means the language the video is spoken in.
    • search.defaultLimit, channel.defaultVideoLimit: how many results by default.
    • download.defaultQuality: 720p by default.
    • download.maxDurationMinutes, download.maxAudioDurationMinutes: how long a video (30 minutes) or audio-only download (180 minutes) can be before the tools ask to confirm.
    • network.proxy: an http://user:pass@host:port proxy for all YouTube traffic, for networks YouTube blocks.
    • innertube.language, innertube.location: interface language and country, such as en and US.
  4. Done — nothing to change.

After a sign-in or settings change, run doctor again to confirm, and tell them to restart Claude Code (or run /mcp and reconnect youtube) so the running server picks it up.

Sign-in and settings live in ~/.youtube-for-ai-agents (the YOUTUBE_AI_AGENTS_HOME environment variable moves it). The sign-in file holds their YouTube session, so it stays on this computer and out of chat.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.