Transform Encode Hls Video

Added March 5, 2026 Source: Transloadit

Encode local video files into HLS renditions and playlists. This uses the Transloadit CLI with a built-in template, taking your input and saving the HLS output to a local directory. It’s a straightforward way to get HLS streams from an MP4.

Installation

This skill is self-contained. Copy the SKILL.md below directly into your project to get started.

.claude/skills/transform-encode-hls-video/SKILL.md    # Claude Code
.cursor/skills/transform-encode-hls-video/SKILL.md    # Cursor

Or install as a personal skill (available across all your projects):

~/.claude/skills/transform-encode-hls-video/SKILL.md

You can also install using the skills CLI:

npx skills add transloadit/skills --skill transform-encode-hls-video-with-transloadit

Requires Node.js 18+.

SKILL.md

---
name: transform-encode-hls-video-with-transloadit
description: One-off HLS encoding (local video -> HLS renditions + playlist) using Transloadit via the `transloadit` CLI. Prefer builtin templates (`builtin/encode-hls-video@latest`) and download outputs locally via `-o`.
---

# Run (Local Input Video)

```bash
npx -y @transloadit/node assemblies create \
  --template builtin/encode-hls-video@latest \
  -i ./input.mp4 \
  -o ./out/ \
  -j
```

Footnote (discover more builtin templates):
```bash
npx -y @transloadit/node templates list --include-builtin exclusively-latest --fields id,name --json
```

# Debug If It Fails

```bash
npx -y @transloadit/node assemblies get <assemblyIdOrUrl> -j
```

Originally by Transloadit, adapted here as an Agent Skills compatible SKILL.md.

This skill follows the Agent Skills open standard, supported by Claude Code, Cursor, Codex, Gemini CLI, and 20+ more editors.

Works with

Agent Skills format — supported by 20+ editors. Learn more