media-cli-local for Openclaw

A lightweight, single-file bash CLI for managing your entire *arr media automation stack directly from the terminal or through AI agents.

solomonneas
v1.0.0
Mar 21, 2026
0
796
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install media-cli-local

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install media-cli-local using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is media-cli-local?

media-cli-local is a high-performance terminal utility designed for power users who want to control their media services without the overhead of heavy web interfaces. Built as a single bash script, it provides a unified interface for Sonarr, Radarr, Prowlarr, qBittorrent, and more. This tool is part of the Openclaw Skills ecosystem, enabling developers and homelab enthusiasts to bridge the gap between AI automation and local media management.

The skill is specifically optimized for local environments where the agent and services reside on the same machine. By leveraging standard system utilities like curl and python3 (for JSON parsing), it ensures zero external dependencies and maximum security, keeping all API communication within the localhost environment.

media-cli-local Use Cases

  • Rapidly searching and adding movies or TV shows to your library via the command line.
  • Monitoring active download speeds, progress, and ETAs across your qBittorrent client.
  • Integrating with AI agents to perform media management tasks using natural language commands.
  • Checking upcoming release dates and missing episodes across your entire collection.
  • Auditing transcoding progress in Tdarr or subtitle status in Bazarr from a single view.

How media-cli-local Works

  1. The user executes a command via the media bash script (e.g., media movies add).
  2. The script retrieves API keys and local URLs from the secure configuration file located at ~/.config/media-cli/config.
  3. The CLI sends authenticated REST API requests to the targeted service (Sonarr, Radarr, etc.) using curl.
  4. Raw JSON responses are processed using Python's standard library to ensure clean, parseable output.
  5. The formatted results are displayed to the user or passed to an AI agent for further decision-making.

media-cli-local Setup

To install this member of the Openclaw Skills family, clone the repository and add the script to your system path:

git clone https://github.com/solomonneas/media-cli.git
cd media-cli
cp media ~/bin/media && chmod +x ~/bin/media
media setup

Run media status after the setup wizard to verify connectivity with your local services.

media-cli-local Data Schema & Taxonomy

The skill manages its operation through a flat-file configuration and organizes output for high readability.

Data Type Location / Format Purpose
Configuration ~/.config/media-cli/config Stores API keys, URLs, and local paths (Chmod 600)
Commands Standard Bash CLI Direct execution of media management tasks
AI Output Structured Text Clean, parseable responses optimized for AI context windows

media-cli-local Advanced Features

  • AI Agent Integration: Specifically formatted output designed for OpenClaw, LangChain, and Claude computer use.
  • Comprehensive Service Support: Unified control for Sonarr, Radarr, Prowlarr, qBittorrent, Bazarr, Jellyseerr, and Tdarr.
  • Security First: Uses localhost-only connections with no telemetry or external network calls.
  • Batch Operations: Support for bulk commands like pausing all downloads or clearing queues.
  • Release Calendar: Integrated view for upcoming media releases within a specified day range.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*