# Send YouTube Long Video Transcript 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. 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. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ytb-transcript-long",
    "name": "YouTube Long Video Transcript",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/qingliu1617-art/ytb-transcript-long",
    "canonicalUrl": "https://clawhub.ai/qingliu1617-art/ytb-transcript-long",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ytb-transcript-long",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ytb-transcript-long",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-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/ytb-transcript-long"
    },
    "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/ytb-transcript-long",
    "downloadUrl": "https://openagent3.xyz/downloads/ytb-transcript-long",
    "agentUrl": "https://openagent3.xyz/skills/ytb-transcript-long/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ytb-transcript-long/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ytb-transcript-long/agent.md"
  }
}
```
## Documentation

### YouTube Long Video Transcript & Translation

Full verbatim transcription and translation workflow for long YouTube videos (>1 hour).

### Prerequisites

DownSub API key (Bearer token starting with AIza...)
zhiyan tool (optional, for online doc generation)
Sub-agent spawn capability (for long videos)

### DownSub API Configuration

Endpoint: https://api.downsub.com/download
Method: POST
Headers:

Authorization: Bearer AIzaM9ifctIOxusNAldvGeajHqq4rH6e7MJNfN
Content-Type: application/json

Body:

{"url": "https://www.youtube.com/watch?v=VIDEO_ID"}

⚠️ CRITICAL: Always check the lang field in response. Use ONLY en or en-auto. Do NOT use random languages (e.g., lt for Lithuanian).

### Pre-flight Check (Run First)

Check DownSub API Access

Verify Authorization header is configured
Common error: "401 Unauthorized" = missing/invalid API key



Check Output Capabilities

Has zhiyan tool? → Can generate online docs
No zhiyan? → Output local .md file



Check Session Budget

Ensure sub-agent spawn capability for long context processing

### Step 1: Preparation (Main Session)

Environment Check: Confirm DownSub API key present
Get video link
Verify Language: Use DownSub to check lang

IF lang="en" or "en-auto" → Proceed
IF lang="lt" or other → STOP, do not translate


Check Length: If >1000 lines, DO NOT process in main session
Spawn Sub-Agent:
Task: Translate transcript.txt to Chinese verbatim.
Process in 500-line chunks to separate files (part1.md, etc.).
Merge to full_transcript.md.
Add Executive Summary and Key Metrics Table (Chinese) at top.
Do NOT use zhiyan.
Budget: 30 minutes or $2 cost limit.

### Step 2: Execution (Sub-Agent)

Read & Slice: Read in chunks (limit=500). Do NOT read full file at once.
Translate & Format: Translate verbatim to Chinese. Add headers (e.g., ## 开场).
Stream Write: Write each chunk to separate files or use cat >> to append.
Enhance:

Read first 500 lines to extract Key Metrics (Revenue, Growth, etc.)
Generate Executive Summary (3-5 bullets, Chinese)
Create Key Metrics Table (Markdown)
Prepend to final file


Report: Return path to full_transcript.md

### Step 3: Delivery (Main Session)

Receive file path from sub-agent
Upload: Run zhiyan MCP (parse_markdown) if available
Send doc link/file to user

### Troubleshooting

Q: "What is the DownSub API Key?"
→ API key missing. Provide Bearer token or configure in secrets.

Q: "Tool zhiyan not found"
→ zhiyan MCP not installed. Solution: Skip upload, send .md file directly.

Q: Translates into nonsense/random text
→ Downloaded wrong subtitle track (e.g., Lithuanian). Solution: Check lang field, use only en.

Q: Task times out or stops responding
→ Video too long for single session. Solution: Spawn sub-agent to process in background.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: qingliu1617-art
- 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-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ytb-transcript-long)
- [Send to Agent page](https://openagent3.xyz/skills/ytb-transcript-long/agent)
- [JSON manifest](https://openagent3.xyz/skills/ytb-transcript-long/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ytb-transcript-long/agent.md)
- [Download page](https://openagent3.xyz/downloads/ytb-transcript-long)