{
  "schemaVersion": "1.0",
  "item": {
    "slug": "lastfm",
    "name": "Last.fm",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/gumadeiras/lastfm",
    "canonicalUrl": "https://clawhub.ai/gumadeiras/lastfm",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/lastfm",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=lastfm",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/lastfm"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/lastfm",
    "agentPageUrl": "https://openagent3.xyz/skills/lastfm/agent",
    "manifestUrl": "https://openagent3.xyz/skills/lastfm/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/lastfm/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Last.fm API Skill",
        "body": "Access Last.fm listening history, music stats, and discovery."
      },
      {
        "title": "Configuration",
        "body": "Required env vars (add to your shell profile or optionally ~/.clawdbot/.env):\n\nLASTFM_API_KEY — your Last.fm API key (get one here)\nLASTFM_USER — your Last.fm username\n\nBase URL: http://ws.audioscrobbler.com/2.0/\nDocs: https://lastfm-docs.github.io/api-docs/"
      },
      {
        "title": "Example Output",
        "body": "Here's what 17+ years of scrobbling looks like:\n\nTotal scrobbles: 519,778\nUnique artists: 13,763\nUnique tracks: 68,435\nUnique albums: 33,637\n\nTop Artists (all time):\n• System of a Down (52,775 plays)\n• Eminem (15,400 plays)\n• Dashboard Confessional (10,166 plays)\n• Edguy (10,161 plays)\n• Metallica (9,927 plays)\n\nTop Tracks (all time):\n• System of a Down - Aerials (1,405 plays)\n• System of a Down - Toxicity (1,215 plays)\n• System of a Down - Sugar (1,149 plays)\n• System of a Down - Chop Suey (1,116 plays)\n• System of a Down - Prison Song (1,102 plays)"
      },
      {
        "title": "Quick Reference",
        "body": "All requests use GET with these base params:\n\n?api_key=$LASTFM_API_KEY&format=json&user=$LASTFM_USER"
      },
      {
        "title": "User Endpoints",
        "body": "Recent Tracks (what's playing / recently played)\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\nFirst track with @attr.nowplaying=true is currently playing\nReturns: artist, track name, album, timestamp, images\n\nUser Info (profile stats)\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.getinfo&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json\"\n\nReturns: playcount, artist_count, track_count, album_count, registered date\n\nTop Artists\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.gettopartists&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json&period=7day&limit=10\"\n\nperiod: overall | 7day | 1month | 3month | 6month | 12month\n\nTop Albums\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.gettopalbums&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json&period=7day&limit=10\"\n\nTop Tracks\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.gettoptracks&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json&period=7day&limit=10\"\n\nLoved Tracks\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.getlovedtracks&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\nWeekly Charts\n\n# Weekly artist chart\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.getweeklyartistchart&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json\"\n\n# Weekly track chart\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.getweeklytrackchart&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json\"\n\n# Weekly album chart\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.getweeklyalbumchart&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json\""
      },
      {
        "title": "Artist/Track/Album Info",
        "body": "Artist Info\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist=Tame+Impala&api_key=$LASTFM_API_KEY&format=json&username=$LASTFM_USER\"\n\nAdding username includes user's playcount for that artist\n\nSimilar Artists\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=artist.getsimilar&artist=Tame+Impala&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\nArtist Top Tracks\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=artist.gettoptracks&artist=Tame+Impala&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\nTrack Info\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=track.getinfo&artist=Tame+Impala&track=The+Less+I+Know+The+Better&api_key=$LASTFM_API_KEY&format=json&username=$LASTFM_USER\"\n\nSimilar Tracks\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=track.getsimilar&artist=Tame+Impala&track=Elephant&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\nAlbum Info\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=album.getinfo&artist=Tame+Impala&album=Currents&api_key=$LASTFM_API_KEY&format=json&username=$LASTFM_USER\""
      },
      {
        "title": "Search",
        "body": "Search Artists\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=artist.search&artist=tame&api_key=$LASTFM_API_KEY&format=json&limit=5\"\n\nSearch Tracks\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=track.search&track=elephant&api_key=$LASTFM_API_KEY&format=json&limit=5\"\n\nSearch Albums\n\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=album.search&album=currents&api_key=$LASTFM_API_KEY&format=json&limit=5\""
      },
      {
        "title": "Charts (Global)",
        "body": "# Top artists globally\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=chart.gettopartists&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\n# Top tracks globally\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=chart.gettoptracks&api_key=$LASTFM_API_KEY&format=json&limit=10\""
      },
      {
        "title": "Tags",
        "body": "# Top albums for a tag/genre\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=tag.gettopalbums&tag=psychedelic&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\n# Top artists for a tag\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=tag.gettopartists&tag=brazilian&api_key=$LASTFM_API_KEY&format=json&limit=10\""
      },
      {
        "title": "Useful jq Filters",
        "body": "For JSON processing, see the jq skill on ClawdHub.\n\n# Recent tracks: artist - track\njq '.recenttracks.track[] | \"\\(.artist[\"#text\"]) - \\(.name)\"'\n\n# Top artists: name (playcount)\njq '.topartists.artist[] | \"\\(.name) (\\(.playcount))\"'\n\n# Check if currently playing\njq '.recenttracks.track[0] | if .[\"@attr\"].nowplaying == \"true\" then \"Now playing: \\(.artist[\"#text\"]) - \\(.name)\" else \"Last played: \\(.artist[\"#text\"]) - \\(.name)\" end'"
      },
      {
        "title": "Notes",
        "body": "No auth needed for read-only endpoints (just API key)\nRate limit: be reasonable, no hard limit documented\nURL-encode artist/track/album names (spaces → + or %20)\nImages come in sizes: small, medium, large, extralarge"
      }
    ],
    "body": "Last.fm API Skill\n\nAccess Last.fm listening history, music stats, and discovery.\n\nConfiguration\n\nRequired env vars (add to your shell profile or optionally ~/.clawdbot/.env):\n\nLASTFM_API_KEY — your Last.fm API key (get one here)\nLASTFM_USER — your Last.fm username\n\nBase URL: http://ws.audioscrobbler.com/2.0/\nDocs: https://lastfm-docs.github.io/api-docs/\n\nExample Output\n\nHere's what 17+ years of scrobbling looks like:\n\nTotal scrobbles: 519,778\nUnique artists: 13,763\nUnique tracks: 68,435\nUnique albums: 33,637\n\nTop Artists (all time):\n• System of a Down (52,775 plays)\n• Eminem (15,400 plays)\n• Dashboard Confessional (10,166 plays)\n• Edguy (10,161 plays)\n• Metallica (9,927 plays)\n\nTop Tracks (all time):\n• System of a Down - Aerials (1,405 plays)\n• System of a Down - Toxicity (1,215 plays)\n• System of a Down - Sugar (1,149 plays)\n• System of a Down - Chop Suey (1,116 plays)\n• System of a Down - Prison Song (1,102 plays)\n\nQuick Reference\n\nAll requests use GET with these base params:\n\n?api_key=$LASTFM_API_KEY&format=json&user=$LASTFM_USER\n\nUser Endpoints\nRecent Tracks (what's playing / recently played)\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\nFirst track with @attr.nowplaying=true is currently playing\nReturns: artist, track name, album, timestamp, images\nUser Info (profile stats)\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.getinfo&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json\"\n\nReturns: playcount, artist_count, track_count, album_count, registered date\nTop Artists\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.gettopartists&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json&period=7day&limit=10\"\n\nperiod: overall | 7day | 1month | 3month | 6month | 12month\nTop Albums\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.gettopalbums&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json&period=7day&limit=10\"\n\nTop Tracks\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.gettoptracks&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json&period=7day&limit=10\"\n\nLoved Tracks\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.getlovedtracks&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\nWeekly Charts\n# Weekly artist chart\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.getweeklyartistchart&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json\"\n\n# Weekly track chart\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.getweeklytrackchart&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json\"\n\n# Weekly album chart\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=user.getweeklyalbumchart&user=$LASTFM_USER&api_key=$LASTFM_API_KEY&format=json\"\n\nArtist/Track/Album Info\nArtist Info\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist=Tame+Impala&api_key=$LASTFM_API_KEY&format=json&username=$LASTFM_USER\"\n\nAdding username includes user's playcount for that artist\nSimilar Artists\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=artist.getsimilar&artist=Tame+Impala&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\nArtist Top Tracks\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=artist.gettoptracks&artist=Tame+Impala&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\nTrack Info\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=track.getinfo&artist=Tame+Impala&track=The+Less+I+Know+The+Better&api_key=$LASTFM_API_KEY&format=json&username=$LASTFM_USER\"\n\nSimilar Tracks\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=track.getsimilar&artist=Tame+Impala&track=Elephant&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\nAlbum Info\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=album.getinfo&artist=Tame+Impala&album=Currents&api_key=$LASTFM_API_KEY&format=json&username=$LASTFM_USER\"\n\nSearch\nSearch Artists\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=artist.search&artist=tame&api_key=$LASTFM_API_KEY&format=json&limit=5\"\n\nSearch Tracks\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=track.search&track=elephant&api_key=$LASTFM_API_KEY&format=json&limit=5\"\n\nSearch Albums\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=album.search&album=currents&api_key=$LASTFM_API_KEY&format=json&limit=5\"\n\nCharts (Global)\n# Top artists globally\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=chart.gettopartists&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\n# Top tracks globally\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=chart.gettoptracks&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\nTags\n# Top albums for a tag/genre\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=tag.gettopalbums&tag=psychedelic&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\n# Top artists for a tag\ncurl -s \"http://ws.audioscrobbler.com/2.0/?method=tag.gettopartists&tag=brazilian&api_key=$LASTFM_API_KEY&format=json&limit=10\"\n\nUseful jq Filters\n\nFor JSON processing, see the jq skill on ClawdHub.\n\n# Recent tracks: artist - track\njq '.recenttracks.track[] | \"\\(.artist[\"#text\"]) - \\(.name)\"'\n\n# Top artists: name (playcount)\njq '.topartists.artist[] | \"\\(.name) (\\(.playcount))\"'\n\n# Check if currently playing\njq '.recenttracks.track[0] | if .[\"@attr\"].nowplaying == \"true\" then \"Now playing: \\(.artist[\"#text\"]) - \\(.name)\" else \"Last played: \\(.artist[\"#text\"]) - \\(.name)\" end'\n\nNotes\nNo auth needed for read-only endpoints (just API key)\nRate limit: be reasonable, no hard limit documented\nURL-encode artist/track/album names (spaces → + or %20)\nImages come in sizes: small, medium, large, extralarge"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/gumadeiras/lastfm",
    "publisherUrl": "https://clawhub.ai/gumadeiras/lastfm",
    "owner": "gumadeiras",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/lastfm",
    "downloadUrl": "https://openagent3.xyz/downloads/lastfm",
    "agentUrl": "https://openagent3.xyz/skills/lastfm/agent",
    "manifestUrl": "https://openagent3.xyz/skills/lastfm/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/lastfm/agent.md"
  }
}