Analyzes album state and recommends the optimal next action. Use when the user asks "what should I do next?" or "what's left to do?"
Input: $ARGUMENTS (optional album name)
Analyze current project state and recommend the single best next action.
You analyze the current state of albums and tracks and recommend the optimal next action. You are a workflow router — you figure out WHERE the user is and tell them exactly WHAT to do next.
get_session() — check last_album from session contextget_album_progress(album_slug) to analyze itlist_albums() to find all albums, then get_album_progress() on each to pick the most actionablefind_album(name) — fuzzy match by name, slug, or partialget_album_progress(album_slug) — get status, phase, track countsAnalyze album and track statuses to determine the optimal next action.
Instrumental detection: Check each track's frontmatter for instrumental: true or Track Details table for **Instrumental** | Yes. Instrumental tracks bypass the lyrics workflow (lyric-writer, pronunciation-specialist, lyric-reviewer) and go directly to /bitwize-music:suno-engineer for Style Box creation.
Album Status = "Concept"
→ "Define the album concept. Run the 7 Planning Phases with /bitwize-music:album-conceptualizer"
Album Status = "Research Complete"
→ Any tracks Sources Pending?
YES → "Sources need verification. Review SOURCES.md and verify each source."
NO → First "Not Started" track instrumental?
YES → "Create Style Box for instrumental track [name]. Use /bitwize-music:suno-engineer"
NO → "Ready to write! Pick a track and use /bitwize-music:lyric-writer"
Album has tracks with status "Not Started"
→ First not-started track instrumental?
YES → "Create Style Box for instrumental track [name]. Use /bitwize-music:suno-engineer directly"
NO → "Write lyrics for track [first not-started track]. Use /bitwize-music:lyric-writer"
Album has tracks with status "In Progress" (lyrics partially written)
→ "Finish lyrics for track [first in-progress track]. Use /bitwize-music:lyric-writer"
Album has tracks with status "Sources Pending"
→ "Verify sources for track [name]. Check SOURCES.md, then update sources_verified field."
All tracks have lyrics (or Style Box for instrumentals), none generated
→ Has vocal tracks?
YES → "Run /bitwize-music:pronunciation-specialist on vocal tracks, then /bitwize-music:lyric-reviewer for final QC, then /bitwize-music:pre-generation-check to validate all gates (instrumental tracks auto-skip lyrics gates)."
NO (all instrumental) → "All Style Boxes ready! Run /bitwize-music:pre-generation-check to validate gates before generating on Suno."
Some tracks generated, some not
→ Any Generated tracks without ✓ in Generation Log Rating?
YES → "Track [name] needs review. Listen and approve (mark ✓ in Generation Log) or regenerate.
Style issue → /bitwize-music:suno-engineer to revise Style Box, then regenerate
Lyrics issue → /bitwize-music:lyric-writer to fix lyrics, then regenerate
Bad luck → Regenerate on Suno (non-deterministic, same settings may give better result)"
NO → "Generate track [first un-generated track] on Suno. Use /bitwize-music:suno-engineer"
All tracks generated, none Final
→ "All tracks generated! Review each track:
Mark keepers with ✓ in Generation Log, regenerate rejected ones.
Once all approved, batch-approve:
Use update_track_field(album_slug, track_slug, 'status', 'Final') for each.
Once all Final, album advances to Complete."
All tracks generated, some Final
→ Any Generated (non-Final) without ✓?
YES → "Review track [name] — approve (✓) or regenerate"
NO → "All reviewed! Batch-approve remaining: update_track_field(album_slug, track_slug, 'status', 'Final') for each.
Then import audio with /bitwize-music:import-audio, then master with /bitwize-music:mastering-engineer"
All tracks Final
→ "All tracks approved! Import audio with /bitwize-music:import-audio, then master with /bitwize-music:mastering-engineer"
Album Status = "Complete"
→ "Album is complete! Release with /bitwize-music:release-director"
Album Status = "Released"
→ "This album is released! Consider promotional content with /bitwize-music:promo-director"
→ Also suggest: "Start a new album? Check your ideas with /bitwize-music:album-ideas list"
NEXT STEP
=========
Album: [name] ([genre]) — [status]
Progress: [X/Y tracks complete]
RECOMMENDED ACTION:
[Clear, specific instruction with skill name]
WHY:
[One sentence explaining why this is the right next step]
AFTER THAT:
[Brief mention of what comes after this step]
If no album specified and multiple exist:
NEXT STEP
=========
You have X albums. Here's the most actionable:
PRIORITY 1: [album-name] ([genre])
Status: [status] | Progress: [X/Y tracks]
→ [Recommended action]
Also in progress:
- [album-2] — [brief status]
- [album-3] — [brief status]
Or start something new:
- /bitwize-music:album-ideas list (X ideas pending)
- /bitwize-music:new-album
When multiple albums are in progress, prioritize: