一键导入
rec
Recommend 5 music releases to check out today based on ListenBrainz listening history and gonic library
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Recommend 5 music releases to check out today based on ListenBrainz listening history and gonic library
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | rec |
| description | Recommend 5 music releases to check out today based on ListenBrainz listening history and gonic library |
Generate 5 release recommendations based on listening patterns and existing library.
sentrizhttps://api.listenbrainz.org/1ssh sam "sqlite3 /mnt/containers/gonic/gonic.db \"<query>\"" (on server "sam")The gonic plays table is NOT accurate for play counts. ListenBrainz is the source of truth for what the user actually listens to. The gonic DB is only used to check what releases are in the library.
ListenBrainz stats endpoints only support predefined calendar-based ranges (no custom date windows):
all_time, year, month, week, this_year, this_month, this_week, quarter, half_yearly
Fetch these in parallel:
Top 150 artists (long-term) - overall taste profile:
https://api.listenbrainz.org/1/stats/user/sentriz/artists?count=150&range=half_yearly
Recent listens - what's playing right now, always reliable regardless of calendar boundaries:
https://api.listenbrainz.org/1/user/sentriz/listens?count=100
Top releases (this month) - what's in heavy rotation:
https://api.listenbrainz.org/1/stats/user/sentriz/releases?count=30&range=this_month
Based on the listening data, brainstorm ~15 candidate album recommendations. Think about:
For each candidate, check if it exists in the gonic DB:
SELECT a.name, al.tag_title, al.tag_year
FROM artists a
JOIN album_artists aa ON a.id = aa.artist_id
JOIN albums al ON aa.album_id = al.id
WHERE al.tag_title IS NOT NULL
AND a.name LIKE '%<artist>%'
Batch multiple artist checks into a single SSH/sqlite3 call where possible.
For each candidate:
If fewer than 5 candidates survive, go back to step 2 and generate more. Aim for a good mix:
Present the 5 recommendations as a concise list. For each:
Keep it short. No preamble, no lengthy analysis of listening habits - just the recs.