cloudmusic
Skill37 starsChanged 33 days agoMITView on GitHub
Use this skill to control NetEase Cloud Music on a Windows PC from ESP-Claw. The PC plays audio and exposes playback data and controls on HTTP port 8766; ESP-Claw displays the vinyl UI and sends commands. Only the win folder is required. Building or flashing the standalone firmware included in the download is not required. The installer starts the host in the background; its log is CloudMusic\win\cloudmusic-host.log. Run install.bat again if the host is not running after a reboot. On…
In this repository24 other files it gives its agents.
- air_mouseSkill
- bilibili_up_fansSkill
- china_a_share_quoteSkill
- current_ip_infoSkill
- current_weatherSkill
- dfrobot_matrix_lidar_8x8_i2cSkill
- dfrobot_stcc4_i2cSkill
- example_skillSkill
- flashbackSkill
- gimbal_color_detectSkill
- gimbal_motion_detectSkill
- github_repo_starSkill
- movement_detectionSkill
- network_radioSkill
- servo_dogSkill
- stock_quotes_displaySkill
- token_usageSkill
- unihiker_buttonSkill
- unihiker_expansion_batterySkill
- unihiker_expansion_irSkill
- unihiker_expansion_motor_controlSkill
- unihiker_expansion_servo_controlSkill
- unihiker_expansion_WS2812Skill
- weather_clockSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Use this skill to control NetEase Cloud Music on a Windows PC from ESP-Claw.
- Very specific: line 35
Only the win folder is required.
- Distinctive: line 61
Run the controller asynchronously because it owns the display:
- Very specific: line 73
If previous and next are reversed, pass "side_touch_swap": true.
- Very specific: line 85
Stop the device's asynchronous Lua job named cloudmusic.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CloudMusic
Use this skill to control NetEase Cloud Music on a Windows PC from ESP-Claw. The PC plays audio and exposes playback data and controls on HTTP port 8766; ESP-Claw displays the vinyl UI and sends commands.
Requirements
- A Windows 10/11 PC and ESP-Claw on the same LAN.
- Python 3.10+ available as
pythononPATH. - NetEase Cloud Music for Windows.
- InfinityLink, BetterNCM, or another bridge that exposes NetEase through Windows SMTC.
- The PC LAN IPv4 address added to the ESP-Claw
search_http_allowlist.
Install the Windows Host
- Download CloudMusic.zip.
- Extract it to a local folder.
- Open
CloudMusic\winand runinstall.bat. Approve the UAC and firewall prompts. - Open NetEase Cloud Music and play a song.
Only the win folder is required. Building or flashing the standalone firmware included in the download is not required.
The installer starts the host in the background; its log is CloudMusic\win\cloudmusic-host.log. Run install.bat again if the host is not running after a reboot.
Verify the Windows Host
On the PC, run:
curl http://127.0.0.1:8766/health
curl http://127.0.0.1:8766/stateContinue only when /health returns ok and /state reports "smtc_ready": true. Get the PC LAN IPv4 address from ipconfig or the lan_ip field; do not use 127.0.0.1 for ESP-Claw.
Configure the ESP-Claw Device
Confirm that both devices are on the same LAN and add the PC LAN IPv4 address to search_http_allowlist. Ask the user for the address if needed, then run:
{"path":"{CUR_SKILL_DIR}/scripts/configure_host.lua","args":{"host_ip":"192.168.1.100","port":8766},"timeout_ms":15000}port defaults to 8766. Run this configuration again if the PC IP changes. Do not start the controller if it reports /health not ready.
Start the Controller
Run the controller asynchronously because it owns the display:
{"path":"{CUR_SKILL_DIR}/scripts/start_cloudmusic.lua","args":{"worker_path":"{CUR_SKILL_DIR}/scripts/cloudmusic_worker.lua"},"timeout_ms":0,"name":"cloudmusic","exclusive":"display","replace":false,"log_bytes":4096}To configure a new IP while starting, pass it directly:
{"path":"{CUR_SKILL_DIR}/scripts/start_cloudmusic.lua","args":{"host_ip":"192.168.1.100","worker_path":"{CUR_SKILL_DIR}/scripts/cloudmusic_worker.lua"},"timeout_ms":0,"name":"cloudmusic","exclusive":"display","replace":false,"log_bytes":4096}If previous and next are reversed, pass "side_touch_swap": true.
Controls and Behavior
- Tap the screen to play or pause.
- Touch Si12T TS1 for the previous track.
- Touch Si12T TS2 or TS3 for the next track.
The protocol is unauthenticated HTTP intended only for a trusted LAN. Do not expose port 8766 to the public internet.
Stop or Uninstall
Stop the device's asynchronous Lua job named cloudmusic. To remove the Windows Host, run CloudMusic\win\uninstall.bat.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

