Agent skill
beat
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/beat
SKILL.md
Beat Generator
16ステップビートシーケンサー。スタイルプロンプトから JSON / MIDI / WAV / MP3 を生成する。
Context (auto-collected)
実行時に以下を取得:
- run_id:
date +%Y%m%d_%H%M%S - ffmpeg:
which ffmpeg || echo "(no ffmpeg)"
Pipeline
Step 0: Prepare dirs
beats/と.beatlab/を作成- 出力先:
beats/<run_id>/
Step 1: Generate (up to 3 attempts)
最大3回リトライ:
music-reference-agentでスタイルプロンプト → BeatSpec YAMLmusic-generation-agentで BeatSpec → Beat JSON- JSON を
beats/<run_id>/beat.jsonに保存 - バリデーション:
bash
uv run python .claude/skills/beatlab-pipeline/scripts/validate.py beats/<run_id>/beat.json --inplace - 失敗時は
music-generation-agentに修正を依頼してリトライ
Step 2: Update current
cp beats/<run_id>/beat.json .beatlab/current.json
Step 3: Render grid
uv run python .claude/skills/beatlab-pipeline/scripts/render_grid.py beats/<run_id>/beat.json
Step 4: Export files
# MIDI
uv run python .claude/skills/beatlab-pipeline/scripts/export_midi.py beats/<run_id>/beat.json beats/<run_id>/beat.mid
# WAV
uv run python .claude/skills/beatlab-pipeline/scripts/render_wav.py beats/<run_id>/beat.json beats/<run_id>/beat.wav
# MP3 (ffmpeg がある場合)
ffmpeg -y -i beats/<run_id>/beat.wav beats/<run_id>/beat.mp3
Output Format
レスポンスに含める:
- Summary: bpm, swing, run_id
- ファイルパス: beat.json / beat.mid / beat.wav (/ beat.mp3)
- ASCII 16-step grid
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?