← All skills
Tencent SkillHub · Developer Tools

OpenSubtitles Read-only

Read-only OpenSubtitles skill to search and download subtitles via API, then extract scene context by timestamp to answer user questions regarding a show in...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Read-only OpenSubtitles skill to search and download subtitles via API, then extract scene context by timestamp to answer user questions regarding a show in...

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, references/opensubtitles-api.md, scripts/opensubtitles-api.sh, scripts/subtitle-context.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

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

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.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.4

Documentation

ClawHub primary doc Primary doc: SKILL.md 11 sections Open source page

OpenSubtitles

Use this skill to fetch subtitle context around a timestamp. This is read‑only: no uploads or modifications.

Setup

Users should obtain an API key at: https://www.opensubtitles.com/consumers Required env vars: OPENSUBTITLES_API_KEY OPENSUBTITLES_USER_AGENT (e.g., OpenClaw 1.0) Optional (for downloads): OPENSUBTITLES_USERNAME OPENSUBTITLES_PASSWORD OPENSUBTITLES_TOKEN (if already logged in) OPENSUBTITLES_BASE_URL (hostname from login response, e.g., api.opensubtitles.com)

Commands

Scripts live in {baseDir}/scripts/.

Search subtitles

{baseDir}/scripts/opensubtitles-api.sh search --query "Show Name" --season 3 --episode 5 --languages en Prefer IDs when available (imdb/tmdb). Use parent IDs for TV episodes. Follow redirects for search (script already uses -L).

Login (token)

{baseDir}/scripts/opensubtitles-api.sh login Note: Login is rate limited (1/sec, 10/min, 30/hour). If you get 401, stop retrying. Use base_url from the response as OPENSUBTITLES_BASE_URL for subsequent requests.

Request a download link

Before downloading, check the local subtitle cache (see below). Only call the download API if the file is not already cached. OPENSUBTITLES_TOKEN=... {baseDir}/scripts/opensubtitles-api.sh download-link --file-id 123

Extract context at timestamp

After downloading an .srt file (default window: 10 minutes before timestamp): On Windows, use findstr or PowerShell Select-String to replicate the awk logic (use the shell script as a guide). The agent should pick the best option available on that system. {baseDir}/scripts/subtitle-context.sh ./subtitle.srt 00:12:34,500 Custom window: {baseDir}/scripts/subtitle-context.sh ./subtitle.srt 00:12:34,500 --window-mins 5

Trakt synergy

Pair with trakt-readonly to identify current episode; when Trakt adds playback progress support, update the Trakt skill to supply a precise timestamp for context‑aware, spoiler‑safe responses.

Cache

Store downloaded subtitles under {baseDir}/storage/subtitles/ (create if missing). Use a stable filename like: {baseDir}/storage/subtitles/<file_id>__<language>.srt Check this cache before calling /download to avoid wasting limited daily downloads.

Guardrails

Never log or expose API keys, passwords, or tokens. Only call https://api.opensubtitles.com/api/v1 (or the base_url returned by login). Do not cache download links. Prefer IDs over fuzzy queries for accuracy. Avoid wasting downloads: store downloaded subtitle files locally and check the cache before calling the download API again. If a download is requested, always append the remaining download quota (from the remaining field) in the user response. Subtitle context should include the window from 10 minutes before the timestamp to the timestamp (default), unless the user specifies otherwise. The agent can adjust --window-mins to get more or less context as needed. Only read subtitle files from {baseDir}/storage/subtitles/ to avoid arbitrary file access.

References

references/opensubtitles-api.md

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs2 Scripts
  • SKILL.md Primary doc
  • references/opensubtitles-api.md Docs
  • scripts/opensubtitles-api.sh Scripts
  • scripts/subtitle-context.sh Scripts