← 返回 Skills 市场
keyfrog-21k

last.fm

作者 keyfrog-21K · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1603
总下载
2
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install last-fm
功能描述
Provides detailed music data and user info from Last.fm, including artists, albums, tracks, charts, tags, and user listening stats via Last.fm API.
使用说明 (SKILL.md)
# OpenClaw-Last.fm
A openclaw Skill with Last.fm API

## Requirements
- Last.fm API Key ([Get in website](https://www.last.fm/api))

## How to request API
- Root URL: `https://ws.audioscrobbler.com/2.0/` (GET/POST)

### Required parameters
- `api_key`: API Key
- `method`: Method name
- `format`: XML (default) or JSON

---

## Methods

Below are commonly used Last.fm methods grouped by resource type.  
All requests use the same base URL and append query parameters.

---

### Artist

#### `artist.getInfo`
Get detailed information about a specific artist (bio, images, stats, tags, similar artists, etc.).

**Example request (JSON):**
```http
GET https://ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist=Radiohead&api_key=YOUR_API_KEY&format=json

artist.getTopTracks

Get the top tracks for an artist, ordered by playcount.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=artist.gettoptracks&artist=Radiohead&api_key=YOUR_API_KEY&format=json

artist.getTopAlbums

Get the top albums for an artist, ordered by playcount.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=artist.gettopalbums&artist=Radiohead&api_key=YOUR_API_KEY&format=json

artist.search

Search for artists by name and get a list of matching artists.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=artist.search&artist=Radiohead&api_key=YOUR_API_KEY&format=json

Album

album.getInfo

Get album metadata (tracks, tags, playcount, cover art, etc.) for a given artist and album.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=album.getinfo&artist=Radiohead&album=OK+Computer&api_key=YOUR_API_KEY&format=json

album.getTopTags

Get the most popular tags applied to a specific album.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=album.gettoptags&artist=Radiohead&album=OK+Computer&api_key=YOUR_API_KEY&format=json

album.search

Search for albums by name and get possible matches.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=album.search&album=OK+Computer&api_key=YOUR_API_KEY&format=json

Track

track.getInfo

Get detailed metadata for a track, including album, duration, listeners, playcount, and wiki (if available).

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=track.getinfo&artist=Radiohead&track=Karma+Police&api_key=YOUR_API_KEY&format=json

track.getTopTags

Get the most popular tags for a given track.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=track.gettoptags&artist=Radiohead&track=Karma+Police&api_key=YOUR_API_KEY&format=json

track.search

Search for tracks by name (and optionally by artist) and get a list of matches.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=track.search&track=Karma+Police&api_key=YOUR_API_KEY&format=json

User

user.getInfo

Get profile information about a user (playcount, country, age (if public), images, etc.).

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=user.getinfo&user=someusername&api_key=YOUR_API_KEY&format=json

user.getRecentTracks

Get the list of recently scrobbled tracks by a user, including timestamps and “now playing” status.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=someusername&limit=20&api_key=YOUR_API_KEY&format=json

user.getTopArtists

Get a user’s top artists over a specific period (overall, 7day, 1month, 3month, 6month, 12month).

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=user.gettopartists&user=someusername&period=1month&limit=20&api_key=YOUR_API_KEY&format=json

user.getTopTracks

Get a user’s top tracks over a selected period.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=user.gettoptracks&user=someusername&period=3month&limit=20&api_key=YOUR_API_KEY&format=json

Library

library.getArtists

Get a paginated list of all artists in a user’s library with play counts and tag counts.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=library.getartists&user=someusername&limit=10&page=1&api_key=YOUR_API_KEY&format=json

library.getAlbums

Get albums from a user’s library, optionally filtered by artist.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=library.getalbums&user=someusername&limit=10&page=1&api_key=YOUR_API_KEY&format=json

library.getTracks

Get tracks from a user’s library with their play counts.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=library.gettracks&user=someusername&limit=10&page=1&api_key=YOUR_API_KEY&format=json

Chart

chart.getTopArtists

Get the global top artists chart on Last.fm.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=chart.gettopartists&api_key=YOUR_API_KEY&format=json

chart.getTopTracks

Get the global top tracks chart.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=chart.gettoptracks&api_key=YOUR_API_KEY&format=json

chart.getTopTags

Get the global top tags chart.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=chart.gettoptags&api_key=YOUR_API_KEY&format=json

Tag

tag.getInfo

Get metadata for a tag (description, reach, total uses, etc.).

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=tag.getinfo&tag=k-pop&api_key=YOUR_API_KEY&format=json

tag.getTopArtists

Get top artists associated with a specific tag.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=tag.gettopartists&tag=k-pop&api_key=YOUR_API_KEY&format=json

tag.getTopTracks

Get top tracks associated with a tag.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=tag.gettoptracks&tag=k-pop&api_key=YOUR_API_KEY&format=json

tag.getTopAlbums

Get top albums associated with a tag.

Example request:

GET https://ws.audioscrobbler.com/2.0/?method=tag.gettopalbums&tag=k-pop&api_key=YOUR_API_KEY&format=json

安全使用建议
This skill appears to be a simple Last.fm API helper, but before installing: 1) Confirm the publisher/source (there is no homepage or origin listed). 2) The SKILL.md requires a Last.fm API key, yet the skill metadata doesn't declare how that key should be provided — ask the publisher or avoid storing the key in a global env variable. 3) If you supply an API key, prefer entering it only when needed (or store it under a scoped secret) and consider disabling autonomous invocation so the agent cannot call the API without explicit user consent. 4) If you need stronger assurance, request a version with explicit metadata declaring the required credential and a verified homepage or repository.
功能分析
Type: OpenClaw Skill Name: last-fm Version: 1.0.0 The skill bundle provides instructions for interacting with the Last.fm API. All API calls and examples in SKILL.md point to the legitimate Last.fm API endpoint (https://ws.audioscrobbler.com/2.0/) and use standard parameters. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts to subvert the agent's intended purpose. The content is purely descriptive and aligns with a benign integration.
能力评估
Purpose & Capability
The SKILL.md clearly documents Last.fm API methods and example requests — this matches the skill name and expected purpose. However, the instructions say a Last.fm API key is required, while the registry metadata declares no required environment variables or primary credential. That mismatch is unexpected (the skill should declare how it expects the API key to be supplied).
Instruction Scope
The runtime instructions are limited to constructing HTTP requests to the official Last.fm API endpoint (ws.audioscrobbler.com). There are no instructions to read local files, access unrelated system state, or transmit data to third-party endpoints beyond Last.fm.
Install Mechanism
This is an instruction-only skill with no install spec and no code files — lowest-risk install model because nothing is written to disk by the skill itself.
Credentials
The SKILL.md explicitly requires a Last.fm API key, but requires.env and primary credential are empty in the metadata. That means the skill's expected secret handling is unspecified: a user might be prompted to paste a key into a conversation or store it in an agent env var without guidance. Because the skill can be invoked by the model autonomously (default), an undisclosed key could be used without clear user control. No other unrelated credentials are requested.
Persistence & Privilege
The skill does not request permanent presence (always: false) and does not request system-level configuration. Note: model invocation is enabled by default (disable-model-invocation: false), which is normal — if you prefer to avoid autonomous network calls using any provided API key, consider disabling autonomous invocation for the agent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install last-fm
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /last-fm 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the last-fm skill. - Provides detailed documentation in README.md for accessing the Last.fm API through Openclaw. - Includes example API requests for multiple resource types: artist, album, track, user, library, chart, and tag. - Lists required API parameters and demonstrates usage with JSON formatting. - Groups relevant Last.fm API methods by resource for easier reference.
v0.1.0
Initial release of OpenClaw-Last.fm skill. - Provides a comprehensive guide for integrating with the Last.fm API. - Documents required setup, including obtaining an API key. - Lists available API methods grouped by resource: Artist, Album, Track, User, Library, Chart, and Tag. - Details example requests for each method, supporting JSON and XML responses. - Includes usage tips and parameter descriptions to help users get started quickly.
元数据
Slug last-fm
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

last.fm 是什么?

Provides detailed music data and user info from Last.fm, including artists, albums, tracks, charts, tags, and user listening stats via Last.fm API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1603 次。

如何安装 last.fm?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install last-fm」即可一键安装,无需额外配置。

last.fm 是免费的吗?

是的,last.fm 完全免费(开源免费),可自由下载、安装和使用。

last.fm 支持哪些平台?

last.fm 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 last.fm?

由 keyfrog-21K(@keyfrog-21k)开发并维护,当前版本 v1.0.0。

💬 留言讨论