Skip to content
Back to skills

Lyric Sense

ASecurity

Lyric Sense

  • 33 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
developmentjavascriptjavashellbashdockergitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill lyric-sense --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lyric Sense?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lyric Sense
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-lyric-sense/badge)](https://www.skillsdirectory.com/skills/dvcrn-lyric-sense)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lyric-sense
description: "Lyric Sense"
---

# LyricSense Skill

让 AI 通过歌词「听」音乐的 OpenClaw 技能。

## 触发词

- "听歌"
- "歌词"
- "播放音乐"
- "搜索歌词"
- "显示歌词"
- "lyrics"

## 功能

1. **搜索歌词** - 通过歌手+歌名获取歌词
2. **显示歌词** - 实时显示当前播放的句子
3. **同步进度** - 配合网易云音乐使用
4. **本地 API** - 支持自部署 LrcApi

## 使用方法

### 获取歌词

```
小溪,帮我搜索《晚安》这首歌的歌词
```

### 显示歌词

```
小溪,帮我显示颜人中《晚安》的歌词
```

### 配合网易云

1. 在网易云播放音乐
2. 让小溪获取歌词
3. 实时同步显示当前句子

## 部署方式

### 在线 API (默认)

使用免费公开 API,无需部署:

```
歌词: https://api.lrc.cx/lyrics?artist={歌手}&title={歌名}
封面: https://api.lrc.cx/cover?artist={歌手}&title={歌名}
```

### 本地部署 (推荐)

**Windows 可执行文件:**
```powershell
# 运行本地 API
.\scripts\LrcApi\lrcapi-1.6.0-Windows-AMD64.exe --port 8080
```

**Docker:**
```bash
docker run -d -p 8080:8080 hisatri/lrcapi:latest
```

### 自定义 API 地址

修改 `index.html` 中的 API 地址:

```javascript
const API_BASE = 'http://localhost:8080';  // 改为你的本地地址
```

## 更新 Skill

Skill 跟随项目一起更新,pull 最新代码即可:

```bash
cd lyric-sense
git pull origin main
```

## 示例

### 获取歌词

```
用户: 小溪,帮我搜索《夜空中最亮的星》的歌词

小溪: 让我搜索一下...
[调用 API 获取歌词]

🎵 夜空中最亮的星 - 逃跑计划
─────────────────────
[00:19] 夜空中最亮的星 能否听清
[00:24] 那仰望的人 心底的孤独和叹息
[00:29] 夜空中最亮的星 能否记起
[00:33] 曾与我同行 消失在风里的身影
─────────────────────
```

## 注意事项

- 🎵 歌词 API 可能返回空结果,可尝试不同搜索词
- 📝 歌词包含时间戳,可用于同步播放进度
- 🎨 配合 LyricSense HTML 界面效果更佳
- 🖥️ 本地部署响应更快,无 API 限制

## 项目主页

- GitHub: https://github.com/adminlove520/lyric-sense
- 演示: https://adminlove520.github.io/lyric-sense

## 依赖

无额外依赖(使用内置 fetch)

---

🦞 Skill for OpenClaw | Made by 小溪 | 2026-03-10

Files in this skill

  • CHANGELOG.md652 B
  • README.md2.8 KB
  • SKILL.md2.4 KB
  • index.html16.6 KB
  • scripts/LrcApi/README.md5.4 KB
  • scripts/LrcApi/README_EN.md5.9 KB
  • scripts/LrcApi/api/__import__.py153 B
  • scripts/LrcApi/api/__init__.py2.5 KB
  • scripts/LrcApi/api/cover.py2.6 KB
  • scripts/LrcApi/api/db.py6.7 KB
  • scripts/LrcApi/api/file.py5.2 KB
  • scripts/LrcApi/api/login.py1 KB
  • scripts/LrcApi/api/lyrics.py8.2 KB
  • scripts/LrcApi/api/source.py2.3 KB
  • scripts/LrcApi/api/tag.py2.6 KB
  • scripts/LrcApi/api/time.py291 B
  • scripts/LrcApi/api/waf.py2.9 KB
  • scripts/LrcApi/app.py2 KB
  • scripts/LrcApi/build.sh74 B
  • scripts/LrcApi/buildup.py1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…