agentleFS
jmagarjmagar/claude-homelab/skills/radarr/SKILL.md

radarr

Skill81 starsChanged 8 months agoMITView on GitHub

This skill should be used when managing movies in Radarr. Use when the user asks to "add a movie", "search Radarr", "find a film", "add to Radarr", "remove a movie", "add movie collection", "check if movie exists", "Radarr library", or mentions movie management, TMDB integration, or Radarr operations.

  • Reads credentials

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 13 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search and add movies to your Radarr library with support for collections, quality profiles, and search-on-add.

    line 18
  2. Distinctive:

    Search for movies by name

    line 23
  3. Distinctive:

    Add individual movies or entire collections

    line 24
  4. Distinctive:

    Check if movies already exist

    line 25
  5. Distinctive:

    Remove movies (with optional file deletion)

    line 26
  6. Very specific:

    Add credentials to ~/.claude-homelab/.env:

    line 33
  7. Distinctive:

    All commands return JSON output.

    line 47
  8. Distinctive:

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

    line 89
  9. Distinctive:

    When the user asks about movies:

    line 101
  10. Distinctive:

    Always include TMDB links when presenting search results:

    line 111
  11. Distinctive:

    Search for the movie

    line 118
  12. Distinctive:

    Collection check: If movie is part of a collection, ask if they want the whole collection

    line 121
  13. Distinctive:

    Add movie or collection (searches immediately by default)

    line 122
  14. Distinctive:

    All data operations return JSON

    line 142
  15. Very specific:

    CRITICAL: When invoking scripts from this skill via the zsh-tool, ALWAYS use pty: true.

    line 161

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Radarr Movie Management Skill

⚠️ MANDATORY SKILL INVOCATION ⚠️

YOU MUST invoke this skill (NOT optional) when the user mentions ANY of these triggers:

  • "add a movie", "search Radarr", "find a film", "add to Radarr"
  • "remove a movie", "delete movie", "check if movie exists"
  • "add movie collection", "Radarr library", "movie management"
  • Any mention of Radarr or managing movies

Failure to invoke this skill when triggers occur violates your operational requirements.

Search and add movies to your Radarr library with support for collections, quality profiles, and search-on-add.

Purpose

This skill enables management of your Radarr movie library:

  • Search for movies by name
  • Add individual movies or entire collections
  • Check if movies already exist
  • Remove movies (with optional file deletion)
  • View quality profiles and root folders

Operations include both read and write actions. Always confirm before removing movies with file deletion.

Setup

Add credentials to ~/.claude-homelab/.env:

RADARR_URL="http://localhost:7878"
RADARR_API_KEY="your-api-key"
RADARR_DEFAULT_QUALITY_PROFILE="1"  # Optional (defaults to 1)
  • RADARR_URL: Your Radarr server URL (no trailing slash)
  • RADARR_API_KEY: API key from Radarr (Settings → General → API Key)
  • RADARR_DEFAULT_QUALITY_PROFILE: Quality profile ID (optional, run config command to see options)

Commands

All commands return JSON output.

Search for Movies

bash scripts/radarr.sh search "Inception"
bash scripts/radarr.sh search "The Matrix"

Output: Numbered list with TMDB IDs, titles, years, and overview.

Check if Movie Exists

bash scripts/radarr.sh exists <tmdbId>

Output: Boolean indicating if movie is in library.

Add a Movie

bash scripts/radarr.sh add <tmdbId>              # Searches immediately (default)
bash scripts/radarr.sh add <tmdbId> --no-search  # Add without searching

Add Full Collection

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

Adds all movies in a collection (e.g., all Lord of the Rings movies).

Remove a Movie

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

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

Get Configuration

bash scripts/radarr.sh config

Output: Available root folders and quality profiles with their IDs.

Workflow

When the user asks about movies:

  1. "Add Inception to Radarr" → Run search "Inception", present results with TMDB links, then add <tmdbId>
  2. "Is Dune in my library?" → Run exists <tmdbId>
  3. "Add all Star Wars movies" → Search for collection, then add-collection <collectionId>
  4. "Remove The Matrix" → Ask about file deletion, then run remove <tmdbId> with appropriate flag
  5. "What quality profiles do I have?" → Run config

Presenting Search Results

Always include TMDB links when presenting search results:

  • Format: [Title (Year)](https://themoviedb.org/movie/ID)
  • Show numbered list for user selection
  • Include year and brief overview

Adding Movies

  1. Search for the movie
  2. Present results with TMDB links
  3. User picks a number
  4. Collection check: If movie is part of a collection, ask if they want the whole collection
  5. Add movie or collection (searches immediately by default)

Parameters

add command

  • <tmdbId>: TMDB ID of the movie (required)
  • --no-search: Don't search for movie after adding

add-collection command

  • <collectionTmdbId>: TMDB ID of the collection (required)
  • --no-search: Don't search for movies after adding

remove command

  • <tmdbId>: TMDB ID of the movie (required)
  • --delete-files: Also delete media files (default: keep files)

Notes

  • Requires network access to your Radarr server
  • Uses Radarr API v3
  • All data operations return JSON
  • Quality profile IDs vary by installation — use config to discover yours
  • The defaultQualityProfile from config is used when adding movies
  • Collections are TMDB-specific and include related movies (sequels, franchises)

Reference

For detailed local reference, see:

  • API Endpoints - Complete endpoint reference with parameters
  • Quick Reference - Common operations with copy-paste examples
  • Troubleshooting - Authentication, connection, and error solutions

🔧 Agent Tool Usage Requirements

CRITICAL: When invoking scripts from this skill via the zsh-tool, ALWAYS use pty: true.

Without PTY mode, command output will not be visible even though commands execute successfully.

Correct invocation pattern:

<invoke name="mcp__plugin_zsh-tool_zsh-tool__zsh">
<parameter name="command">./skills/SKILL_NAME/scripts/SCRIPT.sh [args]</parameter>
<parameter name="pty">true</parameter>
</invoke>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.