← 返回 Skills 市场
rappo

Lidarr

作者 rappo · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
1550
总下载
2
收藏
6
当前安装
1
版本数
在 OpenClaw 中安装
/install lidarr
功能描述
Search and add music to Lidarr. Supports artists, albums, and quality profiles (FLAC preferred).
使用说明 (SKILL.md)

Lidarr

Add music (artists and albums) to your Lidarr library.

Setup

Create ~/.clawdbot/credentials/lidarr/config.json:

{
  "url": "http://192.168.1.50:8686",
  "apiKey": "efbd6c29db184911a7b0f4707ae8f10f",
  "defaultQualityProfile": 2,
  "defaultMetadataProfile": 7
}
  • defaultQualityProfile: Quality profile ID (FLAC, MP3, etc. — run config to see options)
  • defaultMetadataProfile: Metadata profile ID (albums only, discography, etc. — run config to see options)

Quality Profiles

Typically you'll want FLAC:

  • Lossless (FLAC)
  • Lossless 24bit (FLAC 24-bit)

Metadata Profiles

  • Albums only (recommended) — just studio albums
  • Standard — albums + some extras
  • Discography / Everything — all releases

Workflow

1. Search for an artist

bash scripts/lidarr.sh search "Artist Name"

Returns numbered list with MusicBrainz links.

2. Check if artist exists

bash scripts/lidarr.sh exists \x3CforeignArtistId>

3. Add artist

bash scripts/lidarr.sh add \x3CforeignArtistId>

If artist already exists, this will monitor them instead of failing.

Options:

  • --discography — add full discography instead of albums only
  • --no-search — don't search immediately

4. List albums for an artist

bash scripts/lidarr.sh list-artist-albums \x3CartistId>

Shows all albums with their IDs and monitored status.

5. Monitor specific albums

bash scripts/lidarr.sh monitor-album \x3CalbumId>

Monitor and optionally search for a specific album.

Options:

  • --no-search — monitor but don't search yet

Commands

Search for artists

bash scripts/lidarr.sh search "KMFDM"

Check if artist exists

bash scripts/lidarr.sh exists 45074d7c-5307-44a8-854f-ae072e1622ae

Add an artist (FLAC + albums only by default)

bash scripts/lidarr.sh add 45074d7c-5307-44a8-854f-ae072e1622ae

Add with full discography

bash scripts/lidarr.sh add 45074d7c-5307-44a8-854f-ae072e1622ae --discography

List albums for an artist

bash scripts/lidarr.sh list-artist-albums 382

Monitor a specific album

bash scripts/lidarr.sh monitor-album 11116

List your library

bash scripts/lidarr.sh list

Refresh artist metadata

bash scripts/lidarr.sh refresh \x3CartistId>

Remove an artist

bash scripts/lidarr.sh remove \x3CartistId>              # keep files
bash scripts/lidarr.sh remove \x3CartistId> --delete-files  # delete files too

Get configuration

bash scripts/lidarr.sh config
安全使用建议
This skill appears coherent and limited to controlling a Lidarr instance, but check these before installing: - Inspect the full scripts/lidarr.sh file yourself (the provided listing was truncated) to confirm there are no unexpected network endpoints or commands in the remaining sections. - The skill requires storing your Lidarr API key in ~/.clawdbot/credentials/lidarr/config.json; ensure that file has restrictive permissions (chmod 600) and that the configured url points to a trusted Lidarr instance on your network. - Because the script issues HTTP requests to whatever URL you configure, do not point it at unknown or public hosts you don't control. If you suspect misuse, revoke the Lidarr API key and recreate a new one. - If you need greater assurance, run the script in a restricted environment (container or isolated user) so the scope of access is limited.
功能分析
Type: OpenClaw Skill Name: lidarr Version: 1.0.0 The OpenClaw Lidarr skill is benign. It correctly uses `curl` and `jq` to interact with a user-configured Lidarr API, reading credentials from the designated `~/.clawdbot/credentials/lidarr/config.json` file. User input is properly URL-encoded using `jq -sRr @uri` before being passed to `curl`, mitigating command injection risks. The `SKILL.md` provides clear instructions without any prompt injection attempts against the agent. All network activity is confined to the specified Lidarr instance, and there is no evidence of data exfiltration, malicious execution, persistence, or obfuscation.
能力评估
Purpose & Capability
Name/description ask to search/add music to Lidarr. The shipped script calls the Lidarr HTTP API (via a user-provided url and apiKey in ~/.clawdbot/credentials/lidarr/config.json) and uses only curl/jq as declared — coherent with the stated purpose.
Instruction Scope
SKILL.md instructs creating a local config file with Lidarr URL and API key and then running the included bash script. The script only reads that config file and makes HTTP calls to the configured Lidarr API endpoints; it does not read other unrelated system files or environment variables in the shown portion.
Install Mechanism
No install spec — it's instruction-only with an included script. It requires standard CLI tools (curl, jq) already declared. There are no downloads or archive extraction steps.
Credentials
No environment variables or unrelated credentials are requested. The only secret is the Lidarr API key stored in the local JSON config file, which is appropriate and proportional for a local Lidarr controller script.
Persistence & Privilege
always is false and the skill does not request system-wide changes in the visible code. There is nothing that indicates it modifies other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lidarr
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lidarr 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Add and manage artists/albums in Lidarr with flexible quality and metadata profile support. - Search for artists and view MusicBrainz links. - Add artists (albums only or full discography) with quality profile preference (FLAC recommended). - List and monitor albums, with options to search or just add to monitoring. - Supports removing artists, refreshing metadata, and viewing library/configuration. - Requires simple config file with Lidarr URL, API key, and profile IDs.
元数据
Slug lidarr
版本 1.0.0
许可证
累计安装 7
当前安装数 6
历史版本数 1
常见问题

Lidarr 是什么?

Search and add music to Lidarr. Supports artists, albums, and quality profiles (FLAC preferred). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1550 次。

如何安装 Lidarr?

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

Lidarr 是免费的吗?

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

Lidarr 支持哪些平台?

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

谁开发了 Lidarr?

由 rappo(@rappo)开发并维护,当前版本 v1.0.0。

💬 留言讨论