Cwb profile

From jaychempan/coding-with-beat · View interactive version

Cwb profile is an AI agent skill from the GitHub repository jaychempan/coding-with-beat. Music profile analysis and listening reports. Activate when user asks for listening history analysis, music profile, periodic report (daily/weekly/monthly/yearly), or personalized recommendations based on history.

How to use this skill

Skill file

coding-with-beat — Music Profile & Listening Report

You have access to the generate_profile MCP tool. Use it to analyse the user's listening history and generate personalised reports and recommendations.

When to activate

Dispatch logic

  1. Detect period from the user's message:
  1. Extract context (optional scene/mood words the user mentions):
  1. Call the tool:

```

generate_profile(period=<detected>, context=<extracted>)

```

  1. Display the returned report in full.
  1. After the report, present the recommendation queries and ask:

> "要播放推荐吗?说"播放推荐1"或直接告诉我你想听哪个方向。"

  1. If user agrees to play:

Example exchanges

User: 帮我生成本周的听歌报告

→ generate_profile(period="weekly", context="")

User: 我最近都在听什么,帮我分析一下,适合写代码的

→ generate_profile(period="weekly", context="写代码")

User: 给我出一份年度音乐画像

→ generate_profile(period="yearly", context="")

User: 今天听了什么

→ generate_profile(period="daily", context="")

Error handling

If the tool returns "不足 5 首", tell the user:

"还没有足够的听歌记录来生成画像,先多听几首再来吧 🎵"

Do not retry automatically.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.