Agent skill
tidal-library
Add or remove artists, albums, or tracks from your Tidal favorites library. Use when the user wants to save music, like a song, follow an artist, or remove items from their library.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/tidal-library
SKILL.md
Tidal Library
Add or remove artists, albums, and tracks from your Tidal favorites library.
Commands
library add
- Usage:
tidal-cli --json library add <--artist-id|--album-id|--track-id> <id> - Arguments: exactly one of
--artist-id,--album-id, or--track-id(required) - Output:
{status, type, id, name}
library remove
- Usage:
tidal-cli --json library remove <--artist-id|--album-id|--track-id> <id> - Arguments: exactly one of
--artist-id,--album-id, or--track-id(required) - Output:
{status, type, id, name}
Instructions
-
Parse
$ARGUMENTS:- First word: operation (
addorremove) - Remaining: the ID flag and its value (
--artist-id <id>,--album-id <id>, or--track-id <id>) - If no operation given, show usage:
/tidal-library <add|remove> <--artist-id|--album-id|--track-id> <id> - If operation is provided but no ID flag, show: "Please specify one ID:
--artist-id <id>,--album-id <id>, or--track-id <id>"
- First word: operation (
-
Build and run the command:
bashtidal-cli --json library <add|remove> <--artist-id|--album-id|--track-id> <id> -
Parse JSON output and display confirmation:
- add → "Added (, ID:
<id>) to your library." - remove → "Removed (, ID:
<id>) from your library."
- add → "Added (, ID:
Error Handling
- If exit code is non-zero, read stderr:
"Error: Not authenticated"→ "You need to authenticate first. Run/tidal-authto log in.""Error: Artist/Album/Track not found"→ "Item not found (ID:<id>). Please verify the ID is correct.""Error: You must provide exactly one of --artist-id, --album-id or --track-id"→ "Please provide exactly one ID type:--artist-id,--album-id, or--track-id.""Error: Unable to connect to Tidal"→ "Network error: unable to reach Tidal. Check your internet connection."- Any other error → display the raw error message with label "Error:"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?