{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/ytb-transcript-long",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ytb-transcript-long",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/ytb-transcript-long",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "YouTube Long Video Transcript & Translation",
        "body": "Full verbatim transcription and translation workflow for long YouTube videos (>1 hour)."
      },
      {
        "title": "Prerequisites",
        "body": "DownSub API key (Bearer token starting with AIza...)\nzhiyan tool (optional, for online doc generation)\nSub-agent spawn capability (for long videos)"
      },
      {
        "title": "DownSub API Configuration",
        "body": "Endpoint: https://api.downsub.com/download\nMethod: POST\nHeaders:\n\nAuthorization: Bearer AIzaM9ifctIOxusNAldvGeajHqq4rH6e7MJNfN\nContent-Type: application/json\n\nBody:\n\n{\"url\": \"https://www.youtube.com/watch?v=VIDEO_ID\"}\n\n⚠️ CRITICAL: Always check the lang field in response. Use ONLY en or en-auto. Do NOT use random languages (e.g., lt for Lithuanian)."
      },
      {
        "title": "Pre-flight Check (Run First)",
        "body": "Check DownSub API Access\n\nVerify Authorization header is configured\nCommon error: \"401 Unauthorized\" = missing/invalid API key\n\n\n\nCheck Output Capabilities\n\nHas zhiyan tool? → Can generate online docs\nNo zhiyan? → Output local .md file\n\n\n\nCheck Session Budget\n\nEnsure sub-agent spawn capability for long context processing"
      },
      {
        "title": "Step 1: Preparation (Main Session)",
        "body": "Environment Check: Confirm DownSub API key present\nGet video link\nVerify Language: Use DownSub to check lang\n\nIF lang=\"en\" or \"en-auto\" → Proceed\nIF lang=\"lt\" or other → STOP, do not translate\n\n\nCheck Length: If >1000 lines, DO NOT process in main session\nSpawn Sub-Agent:\nTask: Translate transcript.txt to Chinese verbatim.\nProcess in 500-line chunks to separate files (part1.md, etc.).\nMerge to full_transcript.md.\nAdd Executive Summary and Key Metrics Table (Chinese) at top.\nDo NOT use zhiyan.\nBudget: 30 minutes or $2 cost limit."
      },
      {
        "title": "Step 2: Execution (Sub-Agent)",
        "body": "Read & Slice: Read in chunks (limit=500). Do NOT read full file at once.\nTranslate & Format: Translate verbatim to Chinese. Add headers (e.g., ## 开场).\nStream Write: Write each chunk to separate files or use cat >> to append.\nEnhance:\n\nRead first 500 lines to extract Key Metrics (Revenue, Growth, etc.)\nGenerate Executive Summary (3-5 bullets, Chinese)\nCreate Key Metrics Table (Markdown)\nPrepend to final file\n\n\nReport: Return path to full_transcript.md"
      },
      {
        "title": "Step 3: Delivery (Main Session)",
        "body": "Receive file path from sub-agent\nUpload: Run zhiyan MCP (parse_markdown) if available\nSend doc link/file to user"
      },
      {
        "title": "Troubleshooting",
        "body": "Q: \"What is the DownSub API Key?\"\n→ API key missing. Provide Bearer token or configure in secrets.\n\nQ: \"Tool zhiyan not found\"\n→ zhiyan MCP not installed. Solution: Skip upload, send .md file directly.\n\nQ: Translates into nonsense/random text\n→ Downloaded wrong subtitle track (e.g., Lithuanian). Solution: Check lang field, use only en.\n\nQ: Task times out or stops responding\n→ Video too long for single session. Solution: Spawn sub-agent to process in background."
      }
    ],
    "body": "YouTube Long Video Transcript & Translation\n\nFull verbatim transcription and translation workflow for long YouTube videos (>1 hour).\n\nPrerequisites\nDownSub API key (Bearer token starting with AIza...)\nzhiyan tool (optional, for online doc generation)\nSub-agent spawn capability (for long videos)\nDownSub API Configuration\n\nEndpoint: https://api.downsub.com/download Method: POST Headers:\n\nAuthorization: Bearer AIzaM9ifctIOxusNAldvGeajHqq4rH6e7MJNfN\nContent-Type: application/json\n\n\nBody:\n\n{\"url\": \"https://www.youtube.com/watch?v=VIDEO_ID\"}\n\n\n⚠️ CRITICAL: Always check the lang field in response. Use ONLY en or en-auto. Do NOT use random languages (e.g., lt for Lithuanian).\n\nPre-flight Check (Run First)\n\nCheck DownSub API Access\n\nVerify Authorization header is configured\nCommon error: \"401 Unauthorized\" = missing/invalid API key\n\nCheck Output Capabilities\n\nHas zhiyan tool? → Can generate online docs\nNo zhiyan? → Output local .md file\n\nCheck Session Budget\n\nEnsure sub-agent spawn capability for long context processing\nWorkflow\nStep 1: Preparation (Main Session)\nEnvironment Check: Confirm DownSub API key present\nGet video link\nVerify Language: Use DownSub to check lang\nIF lang=\"en\" or \"en-auto\" → Proceed\nIF lang=\"lt\" or other → STOP, do not translate\nCheck Length: If >1000 lines, DO NOT process in main session\nSpawn Sub-Agent:\nTask: Translate transcript.txt to Chinese verbatim.\nProcess in 500-line chunks to separate files (part1.md, etc.).\nMerge to full_transcript.md.\nAdd Executive Summary and Key Metrics Table (Chinese) at top.\nDo NOT use zhiyan.\nBudget: 30 minutes or $2 cost limit.\n\nStep 2: Execution (Sub-Agent)\nRead & Slice: Read in chunks (limit=500). Do NOT read full file at once.\nTranslate & Format: Translate verbatim to Chinese. Add headers (e.g., ## 开场).\nStream Write: Write each chunk to separate files or use cat >> to append.\nEnhance:\nRead first 500 lines to extract Key Metrics (Revenue, Growth, etc.)\nGenerate Executive Summary (3-5 bullets, Chinese)\nCreate Key Metrics Table (Markdown)\nPrepend to final file\nReport: Return path to full_transcript.md\nStep 3: Delivery (Main Session)\nReceive file path from sub-agent\nUpload: Run zhiyan MCP (parse_markdown) if available\nSend doc link/file to user\nTroubleshooting\n\nQ: \"What is the DownSub API Key?\" → API key missing. Provide Bearer token or configure in secrets.\n\nQ: \"Tool zhiyan not found\" → zhiyan MCP not installed. Solution: Skip upload, send .md file directly.\n\nQ: Translates into nonsense/random text → Downloaded wrong subtitle track (e.g., Lithuanian). Solution: Check lang field, use only en.\n\nQ: Task times out or stops responding → Video too long for single session. Solution: Spawn sub-agent to process in background."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/qingliu1617-art/ytb-transcript-long",
    "publisherUrl": "https://clawhub.ai/qingliu1617-art/ytb-transcript-long",
    "owner": "qingliu1617-art",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}