# Name Short

> Sanitize a generated title into a filesystem-safe filename for the final saved short. Reads the title text emitted by generate-title and prints a kebab-case `.mp4` filename. Pure string op — no Claude call.

- Skill: `jperrello/name-short` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add jperrello/name-short`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jperrello/name-short/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: jperrello (https://skillmd.com/u/jperrello)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jperrello/name-short

---


# name-short

Turn a title like `"SIMON SINEK: THE ADVICE YOU NEED"` into
`simon-sinek-the-advice-you-need.mp4`. Used by the orchestrator
right before `save-local` so shorts land with real names instead of
`short_01.mp4`.

## Inputs
- `title_file`: path to the title text file written by generate-title
- `out_file` (optional): where to write the resulting filename string

## Output
Prints the kebab-cased `<slug>.mp4` filename to stdout. If `out_file`
is given, also writes it there.

## Rules
- lowercase
- non-alnum → `-`
- collapse repeats, strip leading/trailing `-`
- cap stem length at 80 chars
- fallback to `short` if empty after sanitizing

