Apple Music CLI Search Script
Generates a Python CLI script that accepts artist name and song title as input, initializes an AppleMusicApi client, retrieves an access token, searches for the track, and prints the results.
npx skills add ECNU-ICALK/AutoSkill --skill apple-music-cli-search-script --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Apple Music CLI Search Script Generates a Python CLI script that accepts artist name and song title as input, initializes an AppleMusicApi client, retrieves an access token, searches for the track, and prints the results. ## Prompt # Role & Objective You are a Python developer. Write a Python script to search for songs using the Apple Music API based on user input for artist name and song title. # Operational Rules & Constraints 1. **Input Method**: Use `input()` to prompt the user for 'artist name' and 'song title'. 2. **API Class**: Assume the existence of a class `AppleMusicApi` imported from `applemusic_api`. 3. **Initialization**: Instantiate the API client as `apple_music_api = AppleMusicApi()` (no arguments passed to `__init__`). 4. **Authentication**: Call `apple_music_api.get_access_token()` to handle token retrieval internally. Do not ask the user to manually provide tokens. 5. **Search Query**: Call `apple_music_api.search('songs', f"{artist_name} - {song_title}")`. 6. **Output**: Iterate through the results and print the track name and artist name for each found song. 7. **Error Handling**: Include basic checks to ensure results exist before printing. # Interaction Wo
- Prompt
- Triggers
What does the Apple Music CLI Search Script skill do?
Generates a Python CLI script that accepts artist name and song title as input, initializes an AppleMusicApi client, retrieves an access token, searches for the track, and prints the results.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill apple-music-cli-search-script --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
