dsh-skill-netease-playlist
Manifest validNetEase Cloud Music playlist toolkit: reuse the desktop client login state to search tracks, create and edit playlists, download playlist audio as mp3, and bulk-import MusicBee .mbp playlists into the
dsh-skill-netease-playlist
English | 中文
A DeepSeek Harness (dsh) plugin that ships the
netease-playlist skill: drive NetEase Cloud Music (网易云音乐) playlists through the local desktop
client's own login state — no QR scan, no password, no browser automation, and no cookie written to
disk.
It is a skill plugin: installing it registers one agent skill (plus its scripts) into the harness,
so the agent can search tracks, build playlists, and move MusicBee .mbp playlists to the cloud.
How the login state is obtained
The NetEase desktop client embeds Chromium (CEF). Its cookies live in an encrypted SQLite store, and the AES key is wrapped by Windows DPAPI under the current user. The skill:
- DPAPI-unwraps
os_crypt.encrypted_key→ an AES-256-GCM key; - decrypts each
v10cookie with it, extractingMUSIC_U(the login credential) and__csrf; - encrypts every
weapi/*request body the way the client does and callsmusic.163.com.
The key and cookie copies are written only to a system temp directory and deleted immediately after reading; cookies live in process memory only. Every command re-derives them (~1 s) by design.
What the skill does
| Command | Purpose |
|---|---|
ne login | Verify the login state, print nickname and uid |
ne search <keywords> | Search tracks |
ne create / rename / desc / privacy | Create a playlist and edit its name, description, privacy (public or private) |
ne add / remove / list / delete | Add tracks (--order preserves the given order), remove tracks, list, delete a playlist |
ne download <id> | Download every track as local mp3 (320k, resumable) |
ne import-mbp [target] --groups a,b | Bulk-import MusicBee .mbp playlists: parse → read tags → fuzzy-match → create → add in order → verify; --sync re-aligns the cloud playlist after the local one changed |
Requirements
- Windows — DPAPI and the desktop client's CEF store are Windows-only, and the scripts are
.cmd. - NetEase Cloud Music desktop client installed and logged in as the same Windows user that runs
dsh(DPAPI cannot decrypt another user's key). - Node ≥ 22.5 (the CLI uses the built-in
node:sqliteto read the cookie store). The bundled DSH host already satisfies this.
Install
dsh plugin --profile web add @chenhao6682108/dsh-skill-netease-playlist # npm (once published)
dsh plugin --profile web add github:chenhao6682108/dsh-skill-netease-playlist # straight from the repo
dsh plugin --profile web add . # from a local checkout
Restart dsh web; the skill catalog lists netease-playlist.
Uninstall with dsh plugin --profile web remove @chenhao6682108/dsh-skill-netease-playlist.
Known traps the skill documents
- Adding tracks inserts them in reverse (and batches of 25 internally too) —
--ordersubmits the reversed array so display order matches; preserving order after an edit means "clear and rebuild". - Write endpoints intermittently return
404 playlist not found; the CLI retries 3× at 1.5 s. - Rename/privacy only work through the plaintext
/api/playlist/update/*endpoints. - Search results are polluted by covers/remixes/live takes; the importer scores title/artist/duration and refuses to substitute a different recording for the original.
- Downloading needs
weapi/song/enhance/download/url/v1; streaming CDN URLs return 403. - The
.mbpprefix length varies per library, so the parser probes offsets 40–120 and requires an exact end-of-file match.
Layout
package.json dsh.bundle.patch + engines.dsh
cordis.patch.yml inserts the plugin into the profile layer stack
lib/index.js registers the bundled skill (no dependencies, no build)
skills/netease-playlist/
SKILL.md the skill body the agent loads
scripts/ ne.cmd / ne.mjs (CLI), mbp-import.mjs, mbp.mjs, tagread.mjs,
extract-key.ps1 + Dpapi.cs (credential extraction)
Notes
- Pairs with
@chenhao6682108/dsh-skill-musicbee: download from NetEase, tag the files, publish the playlist into MusicBee. extract-key.ps1andDpapi.csare deliberately ASCII-only — Windows PowerShell 5.1 decodes BOM-less UTF-8 as ANSI and would mangle non-ASCII source.
License
MIT
Comments
Loading…
From the same category
DeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.
★ 41.7k
↓ 58/wk
MIT
Aug 24, 2026
dsh plugin --profile web add dsh-plugin-reactive-resumeby dsh-market
The plugin market inside DeepSeek Harness — browse, search, one-click install · DSH 可视化插件市场
★ 13.3k
↓ 275.8k/wk
MIT
TypeScript
Nov 23, 2026
dsh plugin --profile web add dshmarketby kingcharleslzy-ai
Community-maintained dsh-purge fork with host-policy patches, prompt and rule settings, diagnostics, separate update-check and install controls, and local backup/rollback.
★ 12k
MIT
JavaScript
Nov 18, 2026
dsh plugin --profile web add dsh-purge-communityby Tencent
Let AI agents use your real, logged-in browser without interrupting your work. CLI + extension for browser automation across any shell-capable AI agent.
★ 10.7k
↓ 17.5k/wk
MIT
TypeScript
Nov 23, 2026
dsh plugin --profile terminal add @wxg-prc-cpg/browser-skill-dsh-pluginby superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
★ 8.8k
NOASSERTION
Python
Nov 24, 2026
dsh plugin --profile web add treg-dshby yjh051108
dsh-routing-suite — injector + router-standard kit: install the runtime injector first, then the task-aware reasoning-mode router preset (measured P1-P23).
★ 7k
MIT
JavaScript
Sep 18, 2026
dsh plugin --profile web add @dsh-external/dsh-super-injector