youtube-watch-later-gist-summaries
Use when a user wants an agent to summarise every video in their YouTube Watch Later playlist, publish one secret GitHub gist per summary with gh, and return…
Skill by hugobowne
Chalk Labs
Need help deploying youtube-watch-later-gist-summaries?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hugobowne-youtube-watch-later-gist-summaries
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/youtube-watch-later-gist-summaries
What's inside
- Skill name
youtube-watch-later-gist-summaries- Description
- Use when a user wants an agent to summarise every video in their YouTube Watch Later playlist, publish one secret GitHub gist per summary with gh, and return channel/title/gists.sh summary links. Browser-tool agnostic; assumes the agent can operate the user's logged-in browser/session.
- License
- MIT
- Instructions
- 282 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (4)
- LICENSE
- README.md
- SKILL.md
- hero.png · images/
SKILL.md (first lines)
> **Project:** [YouTube Watch Later Skill](https://gist.github.com/intellectronica/a13f611b8785d33e603ae946961650e4), a public GitHub Gist published by Eleanor Berger (`intellectronica`). The skill was written by her Hermes agent, which the frontmatter credits as the author.
>
> **License:** MIT, as declared in the skill's frontmatter. Full license text is in [`LICENSE`](LICENSE) alongside this file.
>
> **Snapshot:** Frozen copy of the gist as of 2026-05-22. The maintained version lives upstream and may have evolved since this snapshot.
# YouTube Watch Later Gist Summaries
## Overview
Use this skill to produce shareable summary links for all videos currently in a user's YouTube Watch Later playlist. The output is a concise list of `Channel — Title — https://gists.sh/<owner>/<gist-id>` entries, with one secret GitHub gist per video summary.
This skill is intentionally browser-tool agnostic. Use whichever browser-control tool is available in the current environment, but operate the user's already logged-in browser/session where possible. Do not assume a particular browser automation package, profile path, or Chrome debugging port unless the environment explicitly provides one.
## Hard Boundaries
- Do not add videos to Watch Later.
- Do not remove videos from Watch Later.
- Do not mutate unrelated browser, YouTube, GitHub, or Hermes configuration.
- Do not make public gists. `gh gist create` is secret by default on current GitHub CLI versions; avoid `--public`.
- Do not paste full transcripts into chat, logs, process titles, or gist descriptions.
- Do not rely on another YouTube transcript skill being installed; transcript extraction instructions are included below.
## Prerequisites
- A browser-control tool that can inspect the user's authenticated YouTube session.
- The user is logged in to YouTube in that browser session.
- `gh` is installed and authenticated to the GitHub account that should own the gists.
- Network access to YouTube and GitHub.
- A way to fetch transcripts, preferably Python with `youtube-transcript-api`; fallback options are documented below.
Check prerequisites before doing expensive work:
```bash
gh auth status
python3 - <<'PY'
try:
import youtube_transcript_api
print('youtube-transcript-api: available')
except Exception as exc:
print(f'youtube-transcript-api: unavailable: {exc}')
PY
```
If `youtube-transcript-api` is missing and package installation is allowed in the environment, use an isolated environment such as `uv run --with youtube-transcript-api ...` rather than mutating a project dependency file.
## Workflow
### 1. Open the authenticated Watch Later playlist
In the user's logged-in browser/session, navigate to:
```text
https://www.youtube.com/playlist?list=WL
```
If YouTube redirects to sign-in or shows an empty/logged-out state, stop and ask the user to provide or unlock an authenticated browser session. Do not attempt credential entry unless the user explicitly asks and the environment permits it.
### 2. Collect the full current video list
Scroll the playlist until no new videos load. Extract, for every visible playlist item:
- `video_id` from the `v=` parameter or canonical video URL.
- `url` in canonical form: `https://www.youtube.com/watch?v=<video_id>`.
- `title` exactly as YouTube displays it, trimmed.
- `channel` if shown; otherwise use `Unknown channel` and continue.
- Optional useful fields: duration, playlist index, unavailable/private/deleted status.
De-duplicate by `video_id` while preserving playlist order. If an item is unavailable/private/deleted and no transcript can be fetched, keep it in the final report with `Summary: unavailable` rather than silently dropping it.
Browser extraction can be done by accessibility snapshots, page DOM evaluation, or exported page data. Prefer structured DOM data when available. A generic DOM strategy is:
```javascript
[...document.querySelectorAll('ytd-playlist-video-renderer, ytd-playlist-panel-video-renderer')]
.map((el, index) => {
const link = el.querySelector('a#video-title, a.yt-simple-endpoint[href*="watch"]');
const href = link?.href || '';
const url = new URL(href, location.href);
const video_id = url.searchParams.get('v');
const title = (link?.textContent || link?.getAttribute('title') || '').trim();
const channel = (el.querySelector('ytd-channel-name a, #byline a, .ytd-channel-name')?.textContent || '').trim();
const duration = (el.querySelector('ytd-thumbnail-overlay-time-status-renderer, .ytd-thumbnail-overlay-time-status-renderer')?.textContent || '').trim();
return video_id ? {index: index + 1, video_id, url: `https://www.youtube.com/watch?v=${video_id}`, title, channel, duration} : null;
})
.filter(Boolean)
```
Treat this as a starting point only; YouTube DOM changes often. Verify the extracted count and spot-check the first and last few titles in the browser.
### 3. Fetch each transcript
Try transcript sources in this order. Save transcripts only in temporary working files unless the user asked for a cache.
#### Primary: `youtube-transcript-api`
Use an isolated Python command. This example tries manually supplied captions first, then generated captions, and prefers English/English-translated text where available:
```bash
uv run --with youtube-transcript-api python - "$VIDEO_ID" > "$TRANSCRIPT_FILE" <<'PY'
import sys
from youtube_transcript_api import YouTubeTranscriptApi
video_id = sys.argv[1]
api = YouTubeTranscriptApi()
try:
transcript_list = api.list(video_id)
except Exception as exc:
raise SystemExit(f'transcript-list-failed: {exc}')
candidates = []
for transcript in transcript_list:
candidates.append(transcript)
preferred = None
for lang in ('en', 'en-US', 'en-GB'):
try:
preferred = transcript_list.find_manually_created_transcript([lang])
breakFrom hugobowne/show-us-your-agent-skills, MIT.
Signals
- Stars
- 70
- Forks
- 10
- Open issues
- 0
- Last commit (this folder)
- May 22, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get youtube-watch-later-gist-summaries running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
youtube-watch-later-gist-summaries skill. Agent Mart. https://agentmart.dev/skills/hugobowne-youtube-watch-later-gist-summaries (last updated 2026-10-24)