# Send YouTube Archiver to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "youtube-archiver",
    "name": "YouTube Archiver",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/benmillerat/youtube-archiver",
    "canonicalUrl": "https://clawhub.ai/benmillerat/youtube-archiver",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/youtube-archiver",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=youtube-archiver",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/default-summary-prompt.md",
      "references/providers.md",
      "references/troubleshooting.md",
      "scripts/yt-enrich.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/youtube-archiver"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/youtube-archiver",
    "downloadUrl": "https://openagent3.xyz/downloads/youtube-archiver",
    "agentUrl": "https://openagent3.xyz/skills/youtube-archiver/agent",
    "manifestUrl": "https://openagent3.xyz/skills/youtube-archiver/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/youtube-archiver/agent.md"
  }
}
```
## Documentation

### YouTube Archiver

Use this skill to import YouTube playlists into markdown files and optionally enrich notes with transcript, summary, and tagging.

### Requirements

Python 3.7+
yt-dlp (pip install yt-dlp or brew install yt-dlp)
A browser signed into YouTube (for private playlists like Liked/Watch Later)
macOS: terminal needs Full Disk Access to read browser cookies
Windows: browser cookie extraction can be flaky; cookies_file export is the safer path
Linux: works on desktop installs; headless servers need cookies_file

### First-run setup flow (interactive)

If no config exists at <output>/.config.json, ask these questions before running scripts.

### Required questions

Where should archived notes be stored?

Default: ./YouTube-Archive


Which playlists should be archived?

Accept playlist IDs or URLs
Default: LL (Liked Videos), WL (Watch Later)


Which browser is signed into YouTube for cookie auth?

Default: chrome

### Optional enrichment questions

Ask only if the user wants summaries/tags.

Generate AI summaries? (yes/no)
Summary provider? (openai, gemini, anthropic, openrouter, ollama, none)
Summary model name?
API key env var name?
Enable auto-tagging? (yes/no)
Tagging provider/model/env var?
Keep default tags or define custom vocabulary?

### First-run execution sequence

Run init:

python3 <skill>/scripts/yt-import.py --output <output-dir> --init


Edit <output-dir>/.config.json from the user’s answers.
Verify auth with dry run:

python3 <skill>/scripts/yt-import.py --output <output-dir> --dry-run


Run real import.
Run enrichment (optional):

python3 <skill>/scripts/yt-enrich.py --output <output-dir> --limit 10

### One-shot quick start

Use this for immediate manual sync:

python3 <skill>/scripts/yt-import.py --output <output-dir>
python3 <skill>/scripts/yt-enrich.py --output <output-dir> --limit 10

Useful import flags:

--dry-run
--playlist <ID> (repeatable)
--no-summary
--no-tags
--cookies <path/to/cookies.txt>
--browser <name>

Useful enrich flags:

--dry-run
--limit <N>
--strict-config

### Idempotency and safety behavior

Import skips already archived videos by video_id.
Filenames include video ID: Title [video_id].md.
Enrichment skips notes where frontmatter has enriched: true.
Lockfile prevents concurrent runs: <output-dir>/.yt-archiver.lock.

### Automation with cron (single-agent default)

Offer cron only after one successful manual run.

Example schedule (daily 11:00):

Import new videos
Enrich a bounded batch

Example task text:

Run yt-import.py for <output-dir>, then run yt-enrich.py --limit 10 for the same output.

Keep it single-agent by default. Do not assume multi-agent routing.

### Troubleshooting and provider details

Read these references when needed:

Provider setup, model suggestions, cost: references/providers.md
Common failures and fixes: references/troubleshooting.md
Default summary prompt template: references/default-summary-prompt.md
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: benmillerat
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/youtube-archiver)
- [Send to Agent page](https://openagent3.xyz/skills/youtube-archiver/agent)
- [JSON manifest](https://openagent3.xyz/skills/youtube-archiver/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/youtube-archiver/agent.md)
- [Download page](https://openagent3.xyz/downloads/youtube-archiver)