← Skills

/sync-youtube

Daily watch history from your browser.

What it does

Reads your local browser history for YouTube videos you've watched and saves them as daily markdown files. Feeds into your identity profile and surfaces patterns in your interests over time. No YouTube account or API key needed.

Connections used

None. Reads directly from your browser's local SQLite database (Chrome, Arc, or Dia).

Setup

Paste this into Claude Code:

Set up content history tracking for my Patina. Create a /sync-youtube skill that creates a youtube/ directory and a script to read my local browser history SQLite database (try Chrome, Arc, and Dia), filter for youtube.com/watch URLs, fetch titles via oEmbed, and write daily markdown files.

How it works

  1. Finds your browser's history SQLite database (tries Dia, Arc, Chrome)
  2. Extracts youtube.com/watch URLs
  3. Fetches video titles via YouTube's oEmbed API
  4. Groups videos by date
  5. Writes daily files to youtube/YYYY-MM-DD.md