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

lastfm

Access Last.fm user profile, now playing, top tracks/artists/albums by period, loved tracks, and optionally love/unlove tracks.

Why use this skill?

Easily track your music habits, retrieve top charts, and manage your loved tracks on Last.fm directly from your OpenClaw agent with this official skill integration.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/dennisooki/lastfm-openclaw
Or

What This Skill Does

The Last.fm skill for OpenClaw provides a powerful interface for interacting with your personal music listening history. It acts as an bridge between your terminal agent and the Last.fm API, allowing you to fetch detailed insights about your auditory patterns, such as your current 'Now Playing' status, long-term top charts for artists, albums, and tracks, as well as your recent listening history. Furthermore, the skill supports administrative actions like 'loving' or 'unloving' specific tracks directly from your command line, provided the necessary authentication tokens are supplied.

Installation

To integrate this skill, use the ClawHub manager. Run the following command in your terminal: clawhub install openclaw/skills/skills/dennisooki/lastfm-openclaw

Once installed, ensure your shell environment is configured with the following variables for full functionality:

  • LASTFM_API_KEY: Your unique key from Last.fm API settings.
  • LASTFM_USERNAME: Your Last.fm username.
  • LASTFM_SESSION_KEY & LASTFM_API_SECRET: (Optional) Required only if you intend to use write commands like 'love' or 'unlove'.

Use Cases

This skill is perfect for music enthusiasts and data-driven users who want to monitor their listening habits without opening a browser. Use it to generate reports for end-of-year summaries, quickly check if a specific track you heard is in your library, or maintain your 'loved' track list while you focus on other workflows. It is also an excellent tool for developers or power users who want to pipe music metadata into other logging scripts.

Example Prompts

  1. "Lastfm, what am I listening to right now?"
  2. "Show me my top tracks from the last 6 months."
  3. "Love this track: Radiohead, Creep."

Tips & Limitations

  • Time periods are case-sensitive and must be one of: 7day, 1month, 3month, 6month, 12month, or overall.
  • Write operations (love/unlove) are restricted by Last.fm's API security requirements, so ensure your Session Key is refreshed if you experience auth errors.
  • The 'recent' command defaults to 10 tracks, but you can pass an integer argument to retrieve more or less data depending on your needs. Always ensure your network has access to ws.audioscrobbler.com.

Metadata

Stars2387
Views1
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-dennisooki-lastfm-openclaw": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#lastfm#music#streaming#metadata#analytics
Safety Score: 4/5

Flags: network-access, external-api