360 Secure SkillHub
360 安全技能中心

Radarr Fixed

该 Skill 用 Bash 脚本封装 Radarr API:按关键词搜索电影、检查是否已入库、添加单部影片或整个合集、移除影片(可选删除文件),并可读取根文件夹与质量配置。运行依赖 curl、jq 及 Radarr 地址与 API Key 配置,配置路径面向 openclaw 环境。

frannunpal
frannunpal
热度 55.71
最近更新 2026-05-11 17:27:08
分类:自动化依赖:代码执行 / 读写文件 / 第三方 API应用场景:自动化脚本 / API 集成 / 工作流 / 推荐

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add radarr-fixed
Metadata
name
radarr-fixed
version
1.0.4
changelog
Fixed config path from .openclagent to .openclaw and updated script paths
description
Search and add movies to Radarr. Supports collections, search-on-add option. FORK of jordyvandomselaar/radarr with fixed metadata.
metadata
{"openclaw":{"emoji":"🎬","requires":{"bins":["curl","jq"],"config":[{"path":"~/.openclaw/credentials/radarr/config.json","description":"Radarr API configuration with url, apiKey, and defaultQualityProfile"}],"env":[{"name":"RADARR_URL","optional":true,"description":"Radarr instance URL (overrides config file)"},{"name":"RADARR_API_KEY","optional":true,"description":"Radarr API key (overrides config file)"}]},"fork":{"original":"jordyvandomselaar/radarr","original_url":"https://clawhub.com/jordyvandomselaar/radarr","reason":"Fixed metadata to properly declare required credentials and config paths"}}}

Radarr (Fixed)

⚠️ FORK NOTICE: This is a fork of jordyvandomselaar/radarr with corrected metadata declarations.

Add movies to your Radarr library with collection support.

Setup

Create ~/.openclaw/credentials/radarr/config.json:

{
  "url": "http://localhost:7878",
  "apiKey": "your-api-key",
  "defaultQualityProfile": 1
}
  • defaultQualityProfile: Quality profile ID (run config to see options)

Alternative: Environment Variables

Instead of config file, you can use:

  • RADARR_URL - Radarr instance URL
  • RADARR_API_KEY - Radarr API key

Workflow

  1. Search: search "Movie Name" - returns numbered list
  2. Present results with TMDB links - always show clickable links
  3. Check: User picks a number
  4. Collection prompt: If movie is part of collection, ask user
  5. Add: Add movie or full collection

Important

  • Always include TMDB links when presenting search results to user
  • Format: [Title (Year)](https://themoviedb.org/movie/ID)
  • Uses defaultQualityProfile from config; can override per-add

Commands

Search for movies

bash scripts/radarr.sh search "Inception"

Check if movie exists in library

bash scripts/radarr.sh exists <tmdbId>

Add a movie (searches immediately by default)

bash scripts/radarr.sh add <tmdbId>           # searches right away
bash scripts/radarr.sh add <tmdbId> --no-search  # don't search

Add full collection (searches immediately by default)

bash scripts/radarr.sh add-collection <collectionTmdbId>
bash scripts/radarr.sh add-collection <collectionTmdbId> --no-search

Remove a movie

bash scripts/radarr.sh remove <tmdbId>              # keep files
bash scripts/radarr.sh remove <tmdbId> --delete-files  # delete files too

Always ask user if they want to delete files when removing!

Get root folders & quality profiles (for config)

bash scripts/radarr.sh config

Original skill by jordyvandomselaar. Fork maintained with permission under open source principles.