ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified media Safety 5/5

lastfm

Access Last.fm listening history, music stats, and discovery. Query recent tracks, top artists/albums/tracks, loved tracks, similar artists, and global charts.

Why use this skill?

Connect your Last.fm account to OpenClaw to analyze listening history, top artists, tracks, and discovery metrics through conversational AI commands.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/gumadeiras/lastfm
Or

What This Skill Does

The Last.fm skill empowers your OpenClaw AI agent to serve as a deep-dive music intelligence interface. By integrating directly with the Last.fm API, the agent retrieves detailed listening history, statistical summaries of musical taste, and discovery data. Whether you want to know what is currently playing, investigate your most-listened-to artists of the last year, or cross-reference your loved tracks, this skill translates raw scrobbling data into actionable insights and summaries. It essentially acts as a personal music archivist, providing immediate access to historical trends and granular listening metadata.

Installation

To enable this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/gumadeiras/lastfm. After installation, ensure you have configured your environment variables. You must add your unique LASTFM_API_KEY and your LASTFM_USER handle to your shell profile or your ~/.clawdbot/.env file. Without these credentials, the API calls will fail to authenticate, preventing the agent from fetching your data.

Use Cases

This skill is perfect for users who track their listening habits religiously and want a conversational way to query their data. You can use it to generate "end of year" style summaries, track personal growth in musical taste, or perform quick lookups on what you were listening to during specific time periods. It is also highly effective for discovery, as it allows the agent to analyze your top artists and provide suggestions based on the metrics retrieved from your account history.

Example Prompts

  1. "What are my top five most played artists over the last six months, and how many plays do they each have?"
  2. "Can you check my recent listening history? I want to know if I have any tracks marked as currently playing right now."
  3. "Summarize my top albums of this week and let me know if any of my 'loved' tracks were among them."

Tips & Limitations

Note that this skill is strictly a read-only interface for your Last.fm data; it cannot modify your account or submit new scrobbles. Always ensure your API key is kept secure and not hardcoded into scripts. Because the skill relies on the Last.fm API, performance depends on their server availability. Additionally, queries using wide time frames (like 'all time') may return large datasets that the agent must parse, so be specific with your time ranges to get faster, more relevant results.

Metadata

Stars2387
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-gumadeiras-lastfm": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#music#analytics#lastfm#streaming#media
Safety Score: 5/5

Flags: network-access, external-api