Xpersona
M

Music Identify

CLAWHUB · Unverified

Identify songs from audio clips using AudD API and optionally queue them to Spotify. Triggers on /songsearch command, voice messages with song identification... Skill: Music Identify Owner: playoffp Summary: Identify songs from audio clips using AudD API and optionally queue them to Spotify. Triggers on /songsearch command, voice messages with song identification... Tags: latest:1.2.0 Version history: v1.2.0 | 2026-03-24T20:22:05.166Z | user v1.2.0: Security fix — removed all Telegram bot token references and config path grep instructions from SKILL.md. Audio download from m

62
Rank
84
Safety
980
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 980 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17270caa9rndzqeqjfnten0j183hwwc:music-identify
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-playoffp-music-identify/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

21,843 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: music-identify
description: Identify songs from audio clips using AudD API and optionally queue them to Spotify. Triggers on /songsearch command, voice messages with song identification intent, or when user asks "what song is this." Also handles recall queries like "what did I shazam" or "what was that song" by reading the music log. Works with any audio file (OGG, MP3, WAV, etc.).
---

# Music Identify

Identify songs from audio using AudD, return song info with Spotify link, and optionally queue to the user's active Spotify session.

## Runtime Dependencies

Required on `$PATH`:
- `curl` — HTTP requests to AudD and Spotify APIs
- `jq` — JSON parsing for all API responses
- `python3` — Spotify OAuth flow only (`scripts/spotify-auth.py`)

## Credentials

| Credential | Location | Required | Purpose |
|---|---|---|---|
| AudD API key | `~/.config/audd/api_key` | Yes | Song identification |
| Spotify OAuth tokens | `~/.config/spotify/tokens.json` | No (optional) | Queue to Spotify |
| Spotify app credentials | `~/.config/spotify/credentials.json` | No (optional) | Token refresh |

**Security notes:**
- All credential files should be restricted: `chmod 600`.
- This skill does not read, store, or access any platform tokens (Telegram, Discord, etc.). Audio file download from messaging platforms is handled by the host agent, not by this skill.

## Trigger

- User sends `/songsearch` then follows with a voice message or audio file
- User asks to identify a song from audio ("what song is this", "identify this song", "shazam this")
- User asks to recall previously identified songs ("what was that song", "what did I shazam")

## Setup

### AudD API Key (required)

1. Sign up at <https://audd.io> (free tier: 300 requests, no credit card)
2. Save key:
   ```bash
   mkdir -p ~/.config/audd
   echo "YOUR_KEY" > ~/.config/audd/api_key
   chmod 600 ~/.config/audd/api_key
   ```

### Spotify Integration (optional)

1. Create a Spotify Developer app at <https://developer.spotify.com/dashboard>
2. Set redirect URI to your callback URL
3. Save credentials:
   ```bash
   mkdir -p ~/.config/spotify
   cat > ~/.config/spotify/credentials.json << 'EOF'
   {"client_id": "...", "client_secret": "...", "redirect_uri": "https://your-host/callback"}
   EOF
   chmod 600 ~/.config/spotify/credentials.json
   ```
4. Run the auth flow: `python3 scripts/spotify-auth.py`
5. Open the printed URL in a browser, authorize, tokens save automatically
6. `chmod 600 ~/.config/spotify/tokens.json`

## Workflow — Song Identification

When a song identification is triggered:

1. Prompt user for a voice clip if not already provided.
2. Save the audio file to a temp location (e.g., `/tmp/music-identify-<timestamp>.ogg`). The host agent handles downloading audio from the messaging platform (Telegram, Discord, etc.) — this skill only needs the local file path.
3. Run identification:
   ```bash
   scripts/identify.sh /path/to/audio-file.ogg
   ```
4. Parse the JSON result and respond.
5

_meta.json

{
  "ownerId": "kn78sk6hz38f9ppt3zbhyzvzvh83dyeg",
  "slug": "music-identify",
  "version": "1.2.0",
  "publishedAt": 1774383725166
}

references/audd-api.md

# AudD API Reference (Summary)

## Endpoint
- POST https://api.audd.io/

## Parameters (multipart/form-data)
- `file`: Audio file to identify (OGG/Opus accepted)
- `api_token`: AudD API key
- `return`: Optional; set to `spotify` to include Spotify metadata

## Response Format (JSON)
- Success with match:
  - `status`: "success"
  - `result`: object with fields such as `title`, `artist`, `album`, and `spotify`
  - `result.spotify.external_urls.spotify`: Spotify URL
- Success with no match:
  - `status`: "success"
  - `result`: null
- Error:
  - `status`: "error"
  - `error`: object with `error_message` (and optionally `error_code`)

skill-card.md

## Description:

Music Identify identifies songs from local audio clips with the AudD API, returns song details and Spotify links, can optionally queue matches to Spotify, and can recall prior identifications from its music log.

This skill is ready for commercial/non-commercial use.

## Publisher:

[playoffp](https://clawhub.ai/user/playoffp)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agent operators use this skill to identify music from local audio clips, return song metadata and Spotify links, optionally queue matched tracks to Spotify, and recall prior identifications.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The server security summary reports a crafted-URI code execution flaw in the Spotify queue helper.

Mitigation: Do not use the Spotify queue feature until URI handling is fixed and reviewed.

Risk: Spotify credentials, OAuth tokens, and the music log contain private data.

Mitigation: Create credential and token files with mode 600, use a localhost OAuth callback with state validation, and treat the music log as private.

Risk: Audio clips are uploaded to AudD for recognition.

Mitigation: Only send audio clips that the user is comfortable uploading to AudD.

## Reference(s):

- [Music Identify ClawHub Skill Page](https://clawhub.ai/playoffp/skills/music-identify)
- [AudD API Reference](references/audd-api.md)
- [AudD API](https://api.audd.io/)
- [AudD](https://audd.io)
- [Spotify Developer Dashboard](https://developer.spotify.com/dashboard)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration]

**Output Format:** [JSON from helper scripts and concise Markdown or plain-text responses for users.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May append newline-delimited JSON identification records to memory/music-log.json and may call AudD and Spotify APIs when credentials are configured.]

## Skill Version(s):

1.2.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Music Identify and adjacent AI workflows.