Skip to content
Back to skills

Sandbox Subtitle

ASecurity

Parse and stringify SRT/WebVTT captions in a Code node or CodeAct action, with subtitle running on the host

  • 552 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 1, 2026
ai-agentsgonode

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 1, 2026

npx -y skills add nodetool-ai/nodetool --skill sandbox-subtitle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sandbox Subtitle?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sandbox Subtitle
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nodetool-ai-sandbox-subtitle/badge)](https://www.skillsdirectory.com/skills/nodetool-ai-sandbox-subtitle)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sandbox-subtitle
description: Parse and stringify SRT/WebVTT captions in a Code node or CodeAct action, with subtitle running on the host
---

# Captions in the sandbox

Specifier: `@nodetool-ai/sandbox-subtitle`. Import it at the top of the body.

The published subtitle bundle uses streams the guest refuses, so this pack
is a **host module**. You work with plain cue objects.

## parse — SRT or VTT to cues

```js
import { parse } from "@nodetool-ai/sandbox-subtitle";

const cues = await parse(inputs.captions);
return { cues };
```

Each cue is `{ start, end, text }` with times in milliseconds.

## stringify — cues to SRT or VTT

```js
import { stringify } from "@nodetool-ai/sandbox-subtitle";

const srt = await stringify(inputs.cues, { format: "SRT" });
return { srt };
```

Pass `{ format: "WebVTT" }` for VTT.

## Gotchas

- **Async host calls.** Always `await`.
- **Cue text keeps newlines.** Split on `\n` if you need lines.

Files in this skill

  • SKILL.md953 B
  • package.json856 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.