# Remotion Captions

Dealing with captions in Remotion

- Repository: https://github.com/guanyang/open-agent-hub (985 stars)
- Category: Media
- License: MIT
- Last updated: 2026-10-31
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add guanyang/open-agent-hub --skill remotion-captions -g -a claude-code -y`
Codex: `npx skills add guanyang/open-agent-hub --skill remotion-captions -g -a codex -y`
Cursor: `npx skills add guanyang/open-agent-hub --skill remotion-captions -g -a cursor -y`
Gemini CLI: `npx skills add guanyang/open-agent-hub --skill remotion-captions -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add guanyang/open-agent-hub`

## Description

Dealing with captions in Remotion

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

All captions must be processed in JSON. The captions must use the [`Caption`](https://www.remotion.dev/docs/captions/caption.md) type which is the following:

```ts
import type { Caption } from "@remotion/captions";
```

This is the definition:

```ts
type Caption = {
  text: string;
  startMs: number;
  endMs: number;
  timestampMs: number | null;
  confidence: number | null;
};
```

## Generating captions

To transcribe video and audio files to generate captions, load the [transcribe-captions.md](transcribe-captions.md) file for more instructions.

## Displaying captions

To display captions in your video, load the [display-captions.md](display-captions.md) file for more instructions.

## Importing captions

To import captions from a .srt file, load the [import-srt-captions.md](import-srt-captions.md) file for more instructions.

