Agent skill
beatlab-contract
BeatLab JSON contract for 16-step (0-15) pianoSequence & drumSequence. Use when generating or editing beats.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/beatlab-contract
SKILL.md
BeatLab Contract (v1)
You must follow this exact contract (Mastra AI Beats Lab compatible):
- Steps: 16 (0-15)
- Output JSON must include:
- "pianoSequence": object mapping each allowed note -> array of step numbers (0-15)
- "drumSequence": object mapping each allowed drum sound -> array of step numbers (0-15)
Allowed piano notes (fixed): C5, B4, A4, G4, F4, E4, D4, C4, B3, A3, G3
Allowed drum sounds (fixed): Kick, Snare, HiHat, Clap, OpenHat, Tom, Crash, Ride, Shaker, Cowbell
Musical defaults (helpful heuristics):
- Kick often on 0 and/or 8
- Snare often on 4 and/or 12
- HiHat can be steady (e.g., every 2 steps) but avoid over-density
- Keep melody minimal (few notes, repeating motif)
Output should be ONLY JSON when asked for Beat JSON.
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?