← Back to Skills Marketplace
wangzhiming1999

Felo YouTube Subtitling

by wangzhiming · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
340
Downloads
0
Stars
3
Active Installs
2
Versions
Install in OpenClaw
/install felo-youtube-subtitling
Description
Fetch YouTube video subtitles/captions using Felo YouTube Subtitling API. Use when users ask to get YouTube subtitles, extract captions from a video, fetch t...
README (SKILL.md)

\r \r

Felo YouTube Subtitling Skill\r

\r

When to Use\r

\r Trigger this skill when the user wants to:\r \r

  • Get subtitles or captions from a YouTube video\r
  • Extract transcript by video ID or video URL\r
  • Fetch subtitles in a specific language (e.g. en, zh-CN)\r
  • Get subtitles with timestamps for analysis or translation\r \r Trigger keywords (examples):\r \r
  • YouTube subtitles, get captions, video transcript, extract subtitles, YouTube 字幕\r
  • Explicit: /felo-youtube-subtitling, "use felo youtube subtitling"\r \r Do NOT use for:\r \r
  • Real-time search (use felo-search)\r
  • Web page content (use felo-web-fetch)\r
  • Generating slides (use felo-slides)\r \r

Setup\r

\r

1. Get API key\r

\r

  1. Visit felo.ai\r
  2. Open Settings -> API Keys\r
  3. Create and copy your API key\r \r

2. Configure environment variable\r

\r Linux/macOS:\r \r

export FELO_API_KEY="your-api-key-here"\r
```\r
\r
Windows PowerShell:\r
\r
```powershell\r
$env:FELO_API_KEY="your-api-key-here"\r
```\r
\r
## How to Execute\r
\r
### Option A: Use the bundled script or packaged CLI\r
\r
**Script** (from repo):\r
\r
```bash\r
node felo-youtube-subtitling/scripts/run_youtube_subtitling.mjs --video-code "dQw4w9WgXcQ" [options]\r
```\r
\r
**Packaged CLI** (after `npm install -g felo-ai`):\r
\r
```bash\r
felo youtube-subtitling -v "dQw4w9WgXcQ" [options]\r
# Short forms: -v (video-code), -l (language), -j (json)\r
```\r
\r
Options:\r
\r
| Option | Default | Description |\r
|--------|---------|-------------|\r
| `--video-code` / `-v` | (required) | YouTube **video URL** or **video ID** (e.g. `https://youtube.com/watch?v=ID` or `dQw4w9WgXcQ`) |\r
| `--language` / `-l` | - | Subtitle language code (e.g. `en`, `zh-CN`) |\r
| `--with-time` | false | Include start/duration timestamps in each segment |\r
| `--json` / `-j` | false | Print full API response as JSON |\r
\r
You can pass either a **full YouTube link** or the **11-character video ID**:\r
\r
- Supported URLs: `https://www.youtube.com/watch?v=ID`, `https://youtu.be/ID`, `https://youtube.com/embed/ID`\r
- Or plain ID: `dQw4w9WgXcQ`\r
\r
Examples:\r
\r
```bash\r
# With video URL\r
node felo-youtube-subtitling/scripts/run_youtube_subtitling.mjs --video-code "https://www.youtube.com/watch?v=dQw4w9WgXcQ"\r
felo youtube-subtitling -v "https://youtu.be/dQw4w9WgXcQ"\r
\r
# With video ID\r
node felo-youtube-subtitling/scripts/run_youtube_subtitling.mjs -v "dQw4w9WgXcQ" --language zh-CN\r
\r
# With timestamps\r
node felo-youtube-subtitling/scripts/run_youtube_subtitling.mjs -v "dQw4w9WgXcQ" --with-time --json\r
```\r
\r
### Option B: Call API with curl\r
\r
```bash\r
curl -X GET "https://openapi.felo.ai/v2/youtube/subtitling?video_code=dQw4w9WgXcQ" \\r
  -H "Authorization: Bearer $FELO_API_KEY"\r
```\r
\r
## API Reference (summary)\r
\r
- **Endpoint**: `GET /v2/youtube/subtitling`\r
- **Base URL**: `https://openapi.felo.ai`. Override with `FELO_API_BASE` env if needed.\r
- **Auth**: `Authorization: Bearer YOUR_API_KEY`\r
\r
### Query parameters\r
\r
| Parameter | Type | Required | Default | Description |\r
|-----------|------|----------|---------|-------------|\r
| video_code | string | Yes | - | YouTube video ID (e.g. dQw4w9WgXcQ) |\r
| language | string | No | - | Language code (e.g. en, zh-CN) |\r
| with_time | boolean | No | false | Include start/duration per segment |\r
\r
### Response (200)\r
\r
```json\r
{\r
  "code": 0,\r
  "message": "success",\r
  "data": {\r
    "title": "Video title",\r
    "contents": [\r
      { "start": 0.32, "duration": 14.26, "text": "Subtitle text" }\r
    ]\r
  }\r
}\r
```\r
\r
With `with_time=false`, `start`/`duration` may be absent or zero. `contents[].text` is always present.\r
\r
### Error codes\r
\r
| HTTP | Code | Description |\r
|------|------|-------------|\r
| 400 | - | Parameter validation failed (e.g. missing video_code) |\r
| 401 | INVALID_API_KEY | API key invalid or revoked |\r
| 500/502 | YOUTUBE_SUBTITLING_FAILED | Service error or subtitles unavailable for video |\r
\r
## Output Format\r
\r
- Without `--json`: print title and then each segment's text (one per line or concatenated). If `--with-time`, output includes timestamps.\r
- With `--json`: print full API response.\r
\r
On failure (no subtitles, API error): stderr message and exit 1. Example:\r
\r
```\r
YouTube subtitling failed for video dQw4w9WgXcQ: YOUTUBE_SUBTITLING_FAILED\r
```\r
\r
## Important Notes\r
\r
- Not all videos have subtitles; the API may return an error for some videos.\r
- Language code must match a subtitle track available for the video.\r
- Same `FELO_API_KEY` as other Felo skills.\r
\r
## References\r
\r
- [Felo YouTube Subtitling API](https://openapi.felo.ai/docs/api-reference/v2/youtube-subtitling.html)\r
- [Felo Open Platform](https://openapi.felo.ai/docs/)\r
Usage Guidance
The skill appears to be what it claims (calls the Felo subtitling API), but the registry metadata failed to declare the required FELO_API_KEY (and optional FELO_API_BASE). Before installing or using it: 1) Confirm the FELO_API_KEY is created on felo.ai and is a scoped, revocable API key you are comfortable exposing to this tool; 2) Do not set FELO_API_BASE unless you explicitly trust the endpoint — if you set it, the skill will send your API key to that host; 3) Prefer creating a low-privilege key that can be revoked quickly; 4) If you need stronger assurance, ask the publisher to update registry metadata to declare FELO_API_KEY and optionally FELO_API_BASE, or inspect and run the included script locally to verify behavior. The omission in metadata is a transparency issue — treat it as a risk until clarified.
Capability Analysis
Type: OpenClaw Skill Name: felo-youtube-subtitling Version: 1.0.1 The skill is a straightforward implementation for fetching YouTube subtitles via the Felo API. The core logic in `run_youtube_subtitling.mjs` uses standard Node.js APIs to communicate with the documented endpoint (openapi.felo.ai) and lacks any high-risk behaviors such as arbitrary code execution, local file access, or data exfiltration beyond the intended API parameters.
Capability Assessment
Purpose & Capability
The skill's name, description, SKILL.md, README, and bundled script are coherent with the stated purpose (fetching YouTube subtitles via the Felo API). However, the registry metadata claims no required environment variables or primary credential, while the runtime instructions and script explicitly require FELO_API_KEY (and optionally FELO_API_BASE). That metadata omission is inconsistent and reduces transparency.
Instruction Scope
SKILL.md and the script keep scope to the stated task: extracting a video ID, calling the Felo openapi /v2/youtube/subtitling endpoint with an Authorization: Bearer header, and printing results. The instructions do not request unrelated files, system credentials, or broad system access.
Install Mechanism
There is no install spec (instruction-only with a bundled Node script). No external downloads or installers are invoked by the skill. It assumes a Node runtime is available to run the included script.
Credentials
The script legitimately needs FELO_API_KEY and optionally FELO_API_BASE; those are proportionate to calling the Felo API. However, the skill registry metadata omits these requirements entirely. Additionally, FELO_API_BASE can be overridden which — if set to a malicious endpoint — would cause the script to send your FELO_API_KEY to an attacker-controlled server. The presence of an undeclared required secret and an overridable API base are two transparency/privilege issues.
Persistence & Privilege
The skill is not always-on and does not request elevated or persistent system-wide privileges. It does not modify other skills' configs or persist credentials beyond reading environment variables at runtime.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install felo-youtube-subtitling
  3. After installation, invoke the skill by name or use /felo-youtube-subtitling
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Re-publish
v1.0.0
- Initial release of felo-youtube-subtitling skill. - Fetches YouTube video subtitles or captions using the Felo YouTube Subtitling API. - Supports fetching subtitles by video ID or URL, language selection, and optional timestamps. - Usable via CLI, script, or direct API call; provides clear setup and usage instructions. - Handles error cases (e.g., missing subtitles, invalid API key) with descriptive messages.
Metadata
Slug felo-youtube-subtitling
Version 1.0.1
License
All-time Installs 3
Active Installs 3
Total Versions 2
Frequently Asked Questions

What is Felo YouTube Subtitling?

Fetch YouTube video subtitles/captions using Felo YouTube Subtitling API. Use when users ask to get YouTube subtitles, extract captions from a video, fetch t... It is an AI Agent Skill for Claude Code / OpenClaw, with 340 downloads so far.

How do I install Felo YouTube Subtitling?

Run "/install felo-youtube-subtitling" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Felo YouTube Subtitling free?

Yes, Felo YouTube Subtitling is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Felo YouTube Subtitling support?

Felo YouTube Subtitling is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Felo YouTube Subtitling?

It is built and maintained by wangzhiming (@wangzhiming1999); the current version is v1.0.1.

💬 Comments