TopRank Skills

Home / Claw Skills / 其他 / lyrics-search
Official OpenClaw rules 15%

lyrics-search

Search song lyrics by title and artist using the LrcApi public API. Use when the user asks to find, display, or print lyrics for a song.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 lyrics-search 技能。 若已安装,则直接安装 lyrics-search 技能。

Overview

Skill Key
hone1983/lyrics-search
Author
hone1983
Source Repo
openclaw/skills
Version
-
Source Path
skills/hone1983/lyrics-search
Latest Commit SHA
1e61b657c263b37ff02a8f64bfc3ff50596435a0

Extracted Content

SKILL.md excerpt

# Lyrics Search

Search lyrics via the LrcApi public API (`api.lrc.cx`).

## API

```
GET https://api.lrc.cx/lyrics?title={title}&artist={artist}
```

- Returns LRC format (with timestamps) as `text/plain`
- `artist` is optional but improves accuracy
- URL-encode Chinese/special characters

## Usage

1. Fetch lyrics via `web_fetch` on the API URL
2. The response is LRC format with `[mm:ss.xxx]` timestamps and metadata lines at the top
3. Strip timestamps and metadata lines (credits, producer info at `[00:00]`–`[00:24]`) for clean display
4. For printing: format as plain text with song title, artist, and credits header

## Example

```
web_fetch("https://api.lrc.cx/lyrics?title=世界赠予我的&artist=王菲")
```

## Notes

- Public API may be slow; set a reasonable timeout
- If no results, try with only `title` (omit `artist`)
- If still no results, try alternate song name spellings

Related Claw Skills