🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

Youtube → Pocket Casts

by @manuelhettich

Download YouTube videos and upload them to Pocket Casts Files for offline viewing. For personal use with content you own or have rights to.

Versionv1.0.0
💡 Examples

~/skills/pocket-casts/scripts/upload.sh "YOUTUBE_URL"

Or with a custom title:

~/skills/pocket-casts/scripts/upload.sh "YOUTUBE_URL" "Custom Title"

⚙️ Configuration

1. Create credentials directory:

   mkdir -p ~/.clawdbot/credentials/pocket-casts
   chmod 700 ~/.clawdbot/credentials/pocket-casts
   

2. Add Pocket Casts refresh token: Get your refresh token from browser dev tools while logged into pocketcasts.com, then:

   cat > ~/.clawdbot/credentials/pocket-casts/config.json << 'EOF'
   {
     "refreshToken": "YOUR_REFRESH_TOKEN_HERE"
   }
   EOF
   chmod 600 ~/.clawdbot/credentials/pocket-casts/config.json
   
The refresh token lasts ~1 year. Access tokens are fetched automatically.

3. Add YouTube cookies (required for most videos): YouTube's bot detection requires cookies from a logged-in browser session. - Install "Get cookies.txt LOCALLY" browser extension (or similar) - Go to youtube.com while logged in - Export cookies via the extension - Save to ~/.clawdbot/credentials/pocket-casts/cookies.txt

   chmod 600 ~/.clawdbot/credentials/pocket-casts/cookies.txt
   

📋 Tips & Best Practices

  • Files appear in the Pocket Casts "Files" tab
  • Videos play natively in the app (iOS/Android/Web)
  • Max file size depends on your Pocket Casts subscription (~2GB for Plus)
  • Cookies may need refreshing if YouTube blocks requests
  • View on ClawHub
    TERMINAL
    clawhub install pocket-casts-yt

    🧪 Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    🔍 Can't find the right skill?

    Search 60,000+ AI agent skills — free, no login needed.

    Search Skills →