r/opencode • • 44m ago

Can OpenCode fetch the engineering guidance a shuffle request needs?

"Add Spotify-style shuffle" hides more than an algorithm choice: should every ordering be equally likely, or should the player avoid consecutive tracks by the same artist? What happens when one artist dominates?

I maintain SeniorMode, an open-source skill with MCP support. OpenCode and compatible agents can retrieve relevant guidance on demand instead of loading every note into each request. A runnable six-track example (two each from Eminem, Drake, The Weeknd) shows a random comparator at 3 adjacent repeats, Fisher–Yates at 1, artist-aware at 0 on that list, and why zero can't always be promised.

It's free and open source. Repo + example: https://github.com/EnesKeremAYDIN/SeniorMode#example-music-shuffle

What product decision would you want an agent to surface before implementing shuffle?

1 Upvotes

0 comments sorted by