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

prowlarr

Skill81 starsChanged 8 months agoMITView on GitHub

Search indexers and manage Prowlarr. Use when the user asks to "search for a torrent", "search indexers", "find a release", "check indexer status", "list indexers", "prowlarr search", "sync indexers", or mentions Prowlarr/indexer management.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search across all your indexers and manage Prowlarr via API.

    line 19
  2. Distinctive:

    Search for releases across all configured indexers

    line 24
  3. Distinctive:

    When the user asks about indexers or searches:

    line 172
  4. Distinctive:

    All data operations return JSON

    line 185
  5. Distinctive:

    Indexer deletion is permanent: - always confirm before removing

    line 187
  6. Very specific:

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

    line 195

≈ “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

Prowlarr Skill

⚠️ MANDATORY SKILL INVOCATION ⚠️

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

  • "search for a torrent", "search indexers", "find a release"
  • "search Prowlarr", "Prowlarr indexers", "indexer search"
  • "check indexer status", "test indexers", "Prowlarr stats"
  • "list indexers", "sync indexers", "push indexers to Sonarr"
  • Any mention of Prowlarr or indexer management

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

Search across all your indexers and manage Prowlarr via API.

Purpose

This skill provides read and write access to your Prowlarr indexer aggregation:

  • Search for releases across all configured indexers
  • Filter searches by protocol (torrent/usenet) and category
  • List and monitor indexer health and statistics
  • Enable/disable/delete indexers
  • Sync indexer configurations to connected apps (Sonarr, Radarr)
  • Test indexer connectivity

Operations include both read and write actions. Always confirm before deleting or disabling indexers.

Setup

Credentials are stored in ~/.claude-homelab/.env:

PROWLARR_URL="http://localhost:9696"
PROWLARR_API_KEY="your-api-key"

Get your API key from: Prowlarr → Settings → General → Security → API Key


Quick Reference

Search Releases

# Basic search across all indexers
./scripts/prowlarr-api.sh search "ubuntu 22.04"

# Search torrents only
./scripts/prowlarr-api.sh search "ubuntu" --torrents

# Search usenet only
./scripts/prowlarr-api.sh search "ubuntu" --usenet

# Search specific categories (2000=Movies, 5000=TV, 3000=Audio, 7000=Books)
./scripts/prowlarr-api.sh search "inception" --category 2000

# TV search with TVDB ID
./scripts/prowlarr-api.sh tv-search --tvdb 71663 --season 1 --episode 1

# Movie search with IMDB ID
./scripts/prowlarr-api.sh movie-search --imdb tt0111161

List Indexers

# All indexers
./scripts/prowlarr-api.sh indexers

# With status details
./scripts/prowlarr-api.sh indexers --verbose

Indexer Health & Stats

# Usage stats per indexer
./scripts/prowlarr-api.sh stats

# Test all indexers
./scripts/prowlarr-api.sh test-all

# Test specific indexer
./scripts/prowlarr-api.sh test <indexer-id>

Indexer Management

# Enable/disable an indexer
./scripts/prowlarr-api.sh enable <indexer-id>
./scripts/prowlarr-api.sh disable <indexer-id>

# Delete an indexer
./scripts/prowlarr-api.sh delete <indexer-id>

App Sync

# Sync indexers to Sonarr/Radarr/etc
./scripts/prowlarr-api.sh sync

# List connected apps
./scripts/prowlarr-api.sh apps

System

# System status
./scripts/prowlarr-api.sh status

# Health check
./scripts/prowlarr-api.sh health

Search Categories

IDCategory
2000Movies
5000TV
3000Audio
7000Books
1000Console
4000PC
6000XXX

Sub-categories: 2010 (Movies/Foreign), 2020 (Movies/Other), 2030 (Movies/SD), 2040 (Movies/HD), 2045 (Movies/UHD), 2050 (Movies/BluRay), 2060 (Movies/3D), 5010 (TV/WEB-DL), 5020 (TV/Foreign), 5030 (TV/SD), 5040 (TV/HD), 5045 (TV/UHD), etc.


Common Use Cases

"Search for the latest Ubuntu ISO"

./scripts/prowlarr-api.sh search "ubuntu 24.04"

"Find Game of Thrones S01E01"

./scripts/prowlarr-api.sh tv-search --tvdb 121361 --season 1 --episode 1

"Search for Inception in 4K"

./scripts/prowlarr-api.sh search "inception 2160p" --category 2045

"Check if my indexers are healthy"

./scripts/prowlarr-api.sh stats
./scripts/prowlarr-api.sh test-all

"Push indexer changes to Sonarr/Radarr"

./scripts/prowlarr-api.sh sync

Workflow

When the user asks about indexers or searches:

  1. "Search for a torrent" → Run search "<query>" and present results with download links
  2. "Find Breaking Bad S01E01" → Run tv-search --tvdb <id> --season 1 --episode 1
  3. "Which indexers are working?" → Run stats to show indexer health and usage
  4. "Test all my indexers" → Run test-all to verify connectivity
  5. "Sync indexers to Sonarr" → Run sync to push configuration changes
  6. "List available indexers" → Run indexers or indexers --verbose

Notes

  • Requires network access to your Prowlarr server
  • Uses Prowlarr API v1
  • All data operations return JSON
  • Search operations query external indexers - respect rate limits
  • Indexer deletion is permanent - always confirm before removing
  • Sync operations push indexer configs to all connected apps (Sonarr, Radarr, Lidarr, etc.)
  • Category IDs follow Newznab/Torznab standards

🔧 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.