Parse and stringify SRT/WebVTT captions in a Code node or CodeAct action, with subtitle running on the host
Scanned 9/1/2026
Install to Claude Code
npx -y skills add nodetool-ai/nodetool --skill sandbox-subtitle --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Sandbox Subtitle?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/nodetool-ai-sandbox-subtitle)More formats (shields.io, HTML) on the badges page.
---
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.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...