skills$openclaw/pocket-casts
manuelhettich6.1k

by manuelhettich

pocket-casts – OpenClaw Skill

pocket-casts is an OpenClaw Skills integration for coding workflows. Download YouTube videos and upload them to Pocket Casts Files for offline viewing. For personal use with content you own or have rights to.

6.1k stars1.4k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namepocket-casts
descriptionDownload YouTube videos and upload them to Pocket Casts Files for offline viewing. For personal use with content you own or have rights to. OpenClaw Skills integration.
ownermanuelhettich
repositorymanuelhettich/pocket-casts-yt
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @manuelhettich/pocket-casts-yt
last updatedFeb 7, 2026

Maintainer

manuelhettich

manuelhettich

Maintains pocket-casts in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
scripts
upload.sh
4.5 KB
_meta.json
298 B
SKILL.md
3.4 KB
SKILL.md

name: pocket-casts description: Download YouTube videos and upload them to Pocket Casts Files for offline viewing. For personal use with content you own or have rights to. version: 1.0.0 author: emmanuelem

Pocket Casts YouTube Uploader

Download YouTube videos and upload them to Pocket Casts Files for offline viewing.

Usage

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

Or with a custom title:

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

Prerequisites

  • yt-dlp - YouTube downloader (via uv: uvx yt-dlp)
  • ffmpeg - Video processing (apt install ffmpeg)
  • curl - HTTP requests (usually pre-installed)
  • jq - JSON parsing (apt install jq)

Recommended

  • deno - JavaScript runtime for yt-dlp challenges:
    curl -fsSL https://deno.land/install.sh | sh
    
    Add to PATH: export PATH="$HOME/.deno/bin:$PATH"

Setup

  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
    

How It Works

  1. Downloads video via yt-dlp --remux-video mp4
  2. Refreshes Pocket Casts access token using stored refresh token
  3. Requests presigned upload URL from Pocket Casts API
  4. PUTs file to S3 via presigned URL
  5. Deletes local video file

Environment Variables

  • CLAWDBOT_CREDENTIALS - Override credentials directory (default: ~/.clawdbot/credentials)
  • 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

This skill is provided for personal, fair-use purposes only.

  • YouTube Terms of Service prohibit downloading videos except via official means. Downloading may violate YouTube's ToS depending on your jurisdiction and intended use.
  • Pocket Casts Terms require that you own or have the rights to any media you upload to your Files library.
  • Copyright law varies by country. Downloading and storing copyrighted content without permission may be illegal in your jurisdiction.

By using this skill, you accept full responsibility for ensuring your use complies with all applicable terms of service and laws. The authors disclaim any liability for misuse.

Recommended uses: Personal recordings, Creative Commons content, videos you created, or content where the creator has explicitly permitted downloading.

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

### Required - **yt-dlp** - YouTube downloader (via uv: `uvx yt-dlp`) - **ffmpeg** - Video processing (`apt install ffmpeg`) - **curl** - HTTP requests (usually pre-installed) - **jq** - JSON parsing (`apt install jq`) ### Recommended - **deno** - JavaScript runtime for yt-dlp challenges: ```bash curl -fsSL https://deno.land/install.sh | sh ``` Add to PATH: `export PATH="$HOME/.deno/bin:$PATH"`

FAQ

How do I install pocket-casts?

Run openclaw add @manuelhettich/pocket-casts-yt in your terminal. This installs pocket-casts into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/manuelhettich/pocket-casts-yt. Review commits and README documentation before installing.