# Send Subtitles 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": "subtitles",
    "name": "Subtitles",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/therohitdas/subtitles",
    "canonicalUrl": "https://clawhub.ai/therohitdas/subtitles",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/subtitles",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=subtitles",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/tapi-auth.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "subtitles",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T17:16:30.626Z",
      "expiresAt": "2026-05-07T17:16:30.626Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=subtitles",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=subtitles",
        "contentDisposition": "attachment; filename=\"subtitles-1.5.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "subtitles"
      },
      "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/subtitles"
    },
    "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/subtitles",
    "downloadUrl": "https://openagent3.xyz/downloads/subtitles",
    "agentUrl": "https://openagent3.xyz/skills/subtitles/agent",
    "manifestUrl": "https://openagent3.xyz/skills/subtitles/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/subtitles/agent.md"
  }
}
```
## Documentation

### Subtitles

Fetch YouTube video subtitles 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=text&include_timestamp=false&send_metadata=true" \\
  -H "Authorization: Bearer $TRANSCRIPT_API_KEY"

ParamValuesUse casevideo_urlYouTube URL or video IDRequiredformatjson, textjson for sync'd subs with timinginclude_timestamptrue, falsefalse for clean text for reading/translationsend_metadatatrue, falseInclude title, channel, description

For language learning — clean text without timestamps:

curl -s "https://transcriptapi.com/api/v2/youtube/transcript\\
?video_url=VIDEO_ID&format=text&include_timestamp=false" \\
  -H "Authorization: Bearer $TRANSCRIPT_API_KEY"

For translation — structured segments:

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

Response (format=json):

{
  "video_id": "dQw4w9WgXcQ",
  "language": "en",
  "transcript": [
    { "text": "We're no strangers to love", "start": 18.0, "duration": 3.5 }
  ]
}

Response (format=text, include_timestamp=false):

{
  "video_id": "dQw4w9WgXcQ",
  "language": "en",
  "transcript": "We're no strangers to love\\nYou know the rules and so do I..."
}

### Tips

Many videos have auto-generated subtitles in multiple languages.
Use format=json to get timing for each line (great for sync'd reading).
Use include_timestamp=false for clean text suitable for translation apps.

### Errors

CodeAction402No credits — transcriptapi.com/billing404No subtitles available408Timeout — retry 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-30T17:16:30.626Z
- Expires at: 2026-05-07T17:16:30.626Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/subtitles)
- [Send to Agent page](https://openagent3.xyz/skills/subtitles/agent)
- [JSON manifest](https://openagent3.xyz/skills/subtitles/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/subtitles/agent.md)
- [Download page](https://openagent3.xyz/downloads/subtitles)