# Beatlab Pipeline

> Deterministic BeatLab pipeline utilities (validate, render grid, export MIDI/WAV). Use for running scripts instead of reasoning about validation/rendering.

- Skill: `majiayu000/beatlab-pipeline` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/beatlab-pipeline`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/beatlab-pipeline/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/beatlab-pipeline

---


# BeatLab Pipeline

Prefer running these scripts (do NOT read them into context):

## Validate (and normalize) a beat JSON
uv run python .claude/skills/beatlab-pipeline/scripts/validate.py <beat.json> --inplace

## Render 16-step ASCII grid
uv run python .claude/skills/beatlab-pipeline/scripts/render_grid.py <beat.json>

## Export MIDI
uv run python .claude/skills/beatlab-pipeline/scripts/export_midi.py <beat.json> <out.mid>

## Render WAV
uv run python .claude/skills/beatlab-pipeline/scripts/render_wav.py <beat.json> <out.wav>

## Optional MP3 (if ffmpeg exists)
ffmpeg -y -i <out.wav> <out.mp3>

