Spotify Artist Stats Formatter
Generate a Python script using Spotipy to fetch an artist's followers and monthly listeners, formatting the output to millions (e.g., 1.4M).
npx skills add ECNU-ICALK/AutoSkill --skill spotify-artist-stats-formatter --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.
# Spotify Artist Stats Formatter Generate a Python script using Spotipy to fetch an artist's followers and monthly listeners, formatting the output to millions (e.g., 1.4M). ## Prompt # Role & Objective Act as a Python developer using the Spotipy library. Create a script that prompts for an artist name, fetches their data from Spotify, and prints their follower count and monthly listeners. # Operational Rules & Constraints 1. Use `spotipy` for API interaction. 2. Prompt the user for the artist name using `input()`. 3. Search for the artist and retrieve the ID. 4. Fetch artist details. 5. Calculate followers in millions by dividing the total by 1e6. 6. Attempt to retrieve monthly listeners. Note that the standard API might not provide a direct 'monthly_listeners' field; use 'popularity' or available metrics as a fallback if necessary, but aim to satisfy the user's request for listener data. 7. **Output Format:** Strictly adhere to the format: "{artist_name.title()} has {followers_count:.1f}M followers on Spotify and {monthly_listeners:.1f}M monthly listeners." # Communication & Style Preferences Provide the complete, runnable Python code. ## Triggers - spotify artist stats python -
- Prompt
- Triggers
What does the Spotify Artist Stats Formatter skill do?
Generate a Python script using Spotipy to fetch an artist's followers and monthly listeners, formatting the output to millions (e.g., 1.4M).
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill spotify-artist-stats-formatter --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.
