Last.fm Profile Skill for Openclaw

Integrate Last.fm listening data into your AI workflow to monitor now-playing tracks, top charts, and user profiles.

dennisooki
v1.0.0
Feb 26, 2026
1
898
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install lastfm-openclaw

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install lastfm-openclaw using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Last.fm Profile Skill?

The Last.fm Profile Skill is a powerful integration for Openclaw Skills that bridges your AI agent with the Last.fm music database. It allows users to query real-time listening history, aggregate top artists, albums, and tracks over specific timeframes, and manage loved tracks directly through their agent.

Designed for music enthusiasts and data-driven users, this skill provides a seamless way to visualize music consumption patterns. By leveraging the Last.fm API, it transforms raw listening data into actionable insights and interactive commands within the Openclaw environment.

Last.fm Profile Skill Use Cases

  • Sharing your current 'Now Playing' status in a chat or documentation workflow.
  • Generating reports on your top artists or tracks for weekly or monthly reviews.
  • Searching through your loved tracks list to find specific songs.
  • Automated track management, such as 'loving' a song via CLI or AI interaction.

How Last.fm Profile Skill Works

  1. The agent validates that the required environment variables are configured within the Openclaw Skills environment.
  2. It checks for system dependencies like curl and jq to handle network requests and data parsing.
  3. Upon receiving a command (e.g., np or top-tracks), the skill identifies the specific Last.fm API method required.
  4. A request is constructed and sent to the Last.fm AudioScrobbler API endpoint.
  5. The JSON response is parsed to extract metadata like track names, playcounts, and timestamps.
  6. The processed data is presented in a clean, human-readable format for the user.

Last.fm Profile Skill Setup

To enable this skill within Openclaw Skills, follow these steps:

  1. Obtain an API key from the Last.fm API account creation page.
  2. Add the configuration to your ~/.openclaw/openclaw.json file:
{
  "skills": {
    "entries": {
      "lastfm": {
        "enabled": true,
        "env": {
          "LASTFM_API_KEY": "your_api_key_here",
          "LASTFM_USERNAME": "your_username"
        }
      }
    }
  }
}
  1. Ensure curl and jq are installed on your system to allow the skill to execute commands properly.

Last.fm Profile Skill Data Schema & Taxonomy

The skill organizes music data based on the Last.fm API structure. Key data points captured include:

Object Fields Captured
Tracks Name, Artist, Album, Now Playing status
Artists Name, Playcount, Rank
User Profile Username, Total Scrobbles, Country, Registration Date
Charts 7day, 1month, 3month, 6month, 12month, overall

Last.fm Profile Skill Advanced Features

  • Write Operations: Supports love and unlove commands when an optional session key is provided.
  • Custom Timeframes: Filter top items by specific periods ranging from 7 days to all-time stats.
  • Recent History Tracking: Fetch up to 200 of the most recently played tracks for deep history analysis.
  • Error Guardrails: Built-in rate limiting and secure environment variable handling for Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*