yt-agent

yt-agent is a skill for Claude Code, Codex from dasein108/yt-mem-ai. It costs 134 tokens per session (2,403 once invoked), scanned A, original, MIT.

A YouTube workbench for fetching video transcripts and turning videos into summaries, highlights, question-and-answer notes, presentations, or subscription digests.

In plain words
What is it for?
It helps analyse one YouTube video, catch up on new subscription uploads, create dated digests, and find transcript-backed highlights.
Why use it?
It removes the need to watch every video in full or manually search transcripts for useful sections.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps analyse one YouTube video, catch up on new subscription uploads, create dated digests, and find transcript-backed highlights.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dasein108/yt-mem-ai/yt-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dasein108/yt-mem-ai --skill yt-agent
Clone the repo
git clone --depth 1 https://github.com/dasein108/yt-mem-ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yt-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/dasein108/yt-mem-ai/yt-agent/github.svg)](https://agentmods.dev/skills/dasein108/yt-mem-ai/yt-agent)
Your own site
<a href="https://agentmods.dev/skills/dasein108/yt-mem-ai/yt-agent"><img src="https://agentmods.dev/badge/skills/dasein108/yt-mem-ai/yt-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for yt-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/dasein108/yt-mem-ai/yt-agent"><img src="https://agentmods.dev/badge/skills/dasein108/yt-mem-ai/yt-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,403 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00134 $0.02403
Opus 5 $0.00067 $0.01202
Sonnet 5 $0.00027 $0.00481
Haiku 4.5 $0.00013 $0.00240

Measured 11d ago against content hash 4546e702d5e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

yt-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/yt-agent/SKILL.md · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.

yt-agent — summarize / highlights / Q&A / presentation / digest / review

One entry point for turning YouTube into artifacts. All data access goes through the uvx yt-mem-ai <cmd> CLI (see [[yt]] for the full command surface) — never touch the LanceDB store directly. Always invoke it exactly that way: zero-install and cached, so nothing has to be on PATH. Do not go looking for a yt-ai binary — the native plugins install no package. (Only inside a source checkout may you use uv run yt-ai <cmd>.) Single-quote every URL — YouTube URLs contain ?/&, which the shell globs on, so a bare URL fails: uvx yt-mem-ai fetch 'https://www.youtube.com/watch?v=ID' --captions-only. Everything is grounded in the transcript; highlight timestamps come from uvx yt-mem-ai search, never invented. The analysis is done by this agent — no API key, no OpenRouter.

Pick the scenario

  • A — one video (a URL, a bare 11-char video_id, or "this video" as a follow-up): produce a summarize / highlights / qa / presentation artifact.
  • B — process latest subscriptions ("catch up", "daily", "new uploads"): discover + fetch + analyze each + write a dated digest.
  • C — subscriptions review ("review my subs", "themes lately", "what's been happening"): one cross-video synthesis over a date range.
  • D — group (arbitrary set) ("process/review these videos <ids/urls>", "review channel ''", "review from to "): ingest a user-specified set, then per-video analysis + a group synthesis.

Core: analyze one video (used by A and B)

Given a video_id (and a URL if it may not be ingested yet):

  1. Ensure ingested (idempotent): uvx yt-mem-ai show <video_id> --json.
    • not found and you have a URL → uvx yt-mem-ai fetch '<url>' --captions-only. If that prints no captions available: ..., fall back to uvx yt-mem-ai fetch '<url>' --whisper (downloads audio + transcribes — slower, always yields a transcript).
    • Blocked instead? Sign in to confirm you're not a bot → run uvx yt-mem-ai config set YT_COOKIES_BROWSER chrome and retry; captions blocked ... IP rate-limited → cookies won't help, see [[yt]]'s When YouTube blocks a fetch.
    • Already ingested → instant, no download (is_seen skips it).
  2. Reuse if present: if the show --json output has a non-null summary, reuse it — skip generation unless the user asked for a fresh artifact.
  3. Anchor highlights: for each candidate highlight phrase, run uvx yt-mem-ai search "<phrase>" --vector -k 3 and use the MM:SS from a returned line whose video_id matches. Never invent timestamps.
  4. Produce (you, the model — no API): summary_md (2–4 sentence exec summary
    • key bullets), highlights JSON [{"start_s": <seconds>, "label": "..."}] (3–8, seconds from step 3), qa JSON [{"q": "...", "a": "..."}] (3–6).
  5. Persist: uvx yt-mem-ai save-summary <video_id> "<summary_md>" --highlights '<json>' --qa '<json>'.

Read the full file on GitHub · 154 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 154 lines · 0 tokens per session scan A 4546e702d5e7

Subscribe to this mod's changes

yt-agent is a skill published in the GitHub repository dasein108/yt-mem-ai (7 stars, last pushed 19d ago), licensed MIT. It adds 134 tokens to every session and 2,403 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

rag-vault

Use this when someone asks to "search documents", "query RAG", "ingest file", "ingest PDF", "save web page", "add to knowledge base", or mentions document search, semantic search, vector search, or RAG operations. Covers score interpretation ( 0.5 skip), query tips, and ingestion guidance for querydocuments…

RobThePCGuy/rag-vault · 90 tokens

data-charts-tako

Search and visualize the world's data - get charts, insights, and embeddable knowledge cards for finance, economics, demographics, sports, and more.

gooseworks-ai/goose-skills · 35 tokens

apollo-lead-finder

Two-phase Apollo.io prospecting: free People Search to discover ICP-matching leads, then selective enrichment to reveal emails/phones (credits per contact). Creates Apollo lists. Deduplicates against existing contacts by LinkedIn URL.

gooseworks-ai/goose-skills · 51 tokens

monorepo-management

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

wshobson/agents · 54 tokens

browse-and-evaluate

Use when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing. Always use --fields to limit output size and --dry-run before committing to an install.

MoizIbnYousaf/Ai-Agent-Skills · 43 tokens

render-airdrop-carousel

Assemble a viral iOS "AirDrop" notification-carousel video ad (≈6–8s, 9:16) from a brand line plus 6–16 real product photos — a native AirDrop share-sheet card ("Brand would like to share a · Decline / Accept") springs up and its preview window CYCLES through the products, landing on a range/lineup payoff with an…

gooseworks-ai/goose-skills · 207 tokens