# Send Captions 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": "captions",
    "name": "Captions",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/therohitdas/captions",
    "canonicalUrl": "https://clawhub.ai/therohitdas/captions",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/captions",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=captions",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/tapi-auth.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "captions",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T05:56:00.133Z",
      "expiresAt": "2026-05-06T05:56:00.133Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=captions",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=captions",
        "contentDisposition": "attachment; filename=\"captions-1.4.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "captions"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/captions"
    },
    "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/captions",
    "downloadUrl": "https://openagent3.xyz/downloads/captions",
    "agentUrl": "https://openagent3.xyz/skills/captions/agent",
    "manifestUrl": "https://openagent3.xyz/skills/captions/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/captions/agent.md"
  }
}
```
## Documentation

### Captions

Extract closed captions from YouTube videos via TranscriptAPI.com.

### Setup

If $TRANSCRIPT_API_KEY is not set, help the user create an account (100 free credits, no card):

Step 1 — Register: Ask user for their email.

node ./scripts/tapi-auth.js register --email USER_EMAIL

→ OTP sent to email. Ask user: "Check your email for a 6-digit verification code."

Step 2 — Verify: Once user provides the OTP:

node ./scripts/tapi-auth.js verify --token TOKEN_FROM_STEP_1 --otp CODE

API key saved to ~/.openclaw/openclaw.json. See File Writes below for details. Existing file is backed up before modification.

Manual option: transcriptapi.com/signup → Dashboard → API Keys.

### File Writes

The verify and save-key commands save the API key to ~/.openclaw/openclaw.json (sets skills.entries.transcriptapi.apiKey and enabled: true). Existing file is backed up to ~/.openclaw/openclaw.json.bak before modification.

To use the API key in terminal/CLI outside the agent, add to your shell profile manually:
export TRANSCRIPT_API_KEY=<your-key>

### GET /api/v2/youtube/transcript

curl -s "https://transcriptapi.com/api/v2/youtube/transcript\\
?video_url=VIDEO_URL&format=json&include_timestamp=true&send_metadata=true" \\
  -H "Authorization: Bearer $TRANSCRIPT_API_KEY"

ParamRequiredDefaultValuesvideo_urlyes—YouTube URL or video IDformatnojsonjson (structured), text (plain)include_timestampnotruetrue, falsesend_metadatanofalsetrue, false

Response (format=json — best for accessibility/timing):

{
  "video_id": "dQw4w9WgXcQ",
  "language": "en",
  "transcript": [
    { "text": "We're no strangers to love", "start": 18.0, "duration": 3.5 },
    { "text": "You know the rules and so do I", "start": 21.5, "duration": 2.8 }
  ],
  "metadata": { "title": "...", "author_name": "...", "thumbnail_url": "..." }
}

start: seconds from video start
duration: how long caption is displayed

Response (format=text — readable):

{
  "video_id": "dQw4w9WgXcQ",
  "language": "en",
  "transcript": "[00:00:18] We're no strangers to love\\n[00:00:21] You know the rules..."
}

### Tips

Use format=json for sync'd captions (accessibility tools, timing analysis).
Use format=text with include_timestamp=false for clean reading.
Auto-generated captions are available for most videos; manual CC is higher quality.

### Errors

CodeMeaningAction402No creditstranscriptapi.com/billing404No captionsVideo doesn't have CC enabled408TimeoutRetry once after 2s

1 credit per request. Free tier: 100 credits, 300 req/min.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: therohitdas
- Version: 1.4.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T05:56:00.133Z
- Expires at: 2026-05-06T05:56:00.133Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/captions)
- [Send to Agent page](https://openagent3.xyz/skills/captions/agent)
- [JSON manifest](https://openagent3.xyz/skills/captions/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/captions/agent.md)
- [Download page](https://openagent3.xyz/downloads/captions)