Plex Server
БесплатноЗапускает вложенные скриптыНе проверенManage Plex Media Server with optional Nvidia Shield ADB device management.
от grewingm698 установок в других каталогахОб этом скилле
Plex Media Server Manager
Primary focus: Plex Media Server management via HTTP API. Optional: Nvidia Shield device management via ADB.
Secrets: rules for the agent
- Never ask the user to type, paste or send the Plex token in chat, and never put it in a command line, a URL or a file you write.
- If the token is missing, tell the user to do one of these themselves: set
PLEX_TOKENin the skill's OpenClaw config (it is declared as a secret), or runnode scripts/shield-cli.js setupin their own terminal, which asks for the token with a hidden prompt. - Never print
PLEX_TOKEN,~/.openclaw/shield/config.jsonor any command output that could contain the token. - If the user pastes a token into chat anyway: don't repeat it, don't use it in a command, and suggest they sign out of all devices in Plex (which issues a new token) and set it up again as above.
What the skill accesses
- Network: your Plex Media Server at the configured
plex_url, andplex.tv(only duringdiscoverandsetup, to list your servers). Redirects are refused, so the token goes nowhere else. - Environment:
PLEX_TOKEN, and optionallyPLEX_FORMAT_LANG. - Local file:
~/.openclaw/shield/config.json(mode 600): server URL, optional Shield address and the token.setupandconfiguresave the token they used, whatever its source (PLEX_TOKEN, the prompt or stdin). At runtimePLEX_TOKENoverrides the stored token without updating the file. - Programs:
adb, only whenshield_ipis set: for the four Shield commands below and for the ADB part ofhealth(connect, then read-only shell diagnostics: uptime, memory, disk, the Plex process, battery). It never receives the token. For a check that never touches the Shield, useplex-status. - Code:
scripts/shield-cli.jsis the entry point; the rest of the CLI lives in small modules inscripts/andscripts/lib/(config storage, plex.tv/server HTTP client, adb helpers, output formatting, one file per command group). Node.js built-ins only, no dependencies.
ADB access is powerful
The Shield commands need Debugging over network, which gives any authorized computer full shell
access to the Shield (apps, data, reboot), and "Always allow" keeps that authorization until it is
revoked. Explain this before helping the user enable it, run ADB commands only when the user asks
for them, and treat reboot and restart-plex as interrupting playback: ask first. To undo it the
user turns off Debugging over network and revokes USB debugging authorizations in Developer options.
Onboarding
The user does these steps; the agent only explains them.
Step 1: Get your Plex token
- Open Plex Web (app.plex.tv), play any media
- Click "⋯" → "Get Info" → "View XML"
- In the URL, find
X-Plex-Token=...— that's your token
Step 2: Make the token available
Either set PLEX_TOKEN in the skill's OpenClaw config, or let setup ask for it with a hidden prompt (Step 4). The token is never passed as an argument.
Step 3: Discover your servers
node scripts/shield-cli.js discover
Lists all Plex servers on your account with name, version, platform, and local URL.
Step 4: Configure
# Plex only (auto-discovers first server, over HTTPS)
node scripts/shield-cli.js setup
# Pick a specific server (if you have multiple)
node scripts/shield-cli.js setup --server 0 # first server
node scripts/shield-cli.js setup --server 1 # second server
# Plex + Shield ADB
node scripts/shield-cli.js setup --server 0 --shield-ip 192.168.70.2
Without PLEX_TOKEN set, run these in a terminal: they ask for the token without echoing it. For automation, pipe it in with --token-stdin from a password manager. If there is no token, no terminal and no --token-stdin, the command stops with exit code 2 instead of waiting.
No username/password needed — the Plex token is the universal key. The script calls plex.tv/api/resources to auto-discover the chosen server's own address, preferring its HTTPS (*.plex.direct) connection. If the server offers only plain HTTP, setup stops; --allow-http accepts it, but then the token travels unencrypted on your network (enable "Secure connections" in Plex instead when you can). Setup sets up ADB only when you pass --shield-ip. The token is sent only in the X-Plex-Token request header, never in a URL.
Config stored at ~/.openclaw/shield/config.json (chmod 600). When PLEX_TOKEN is set, it takes precedence over the stored token.
Commands
Plex (no ADB needed)
| Command | Args | Notes |
|---|---|---|
discover |
[--token-stdin] |
List all Plex servers on account |
setup |
[--server N] [--shield-ip IP] [--allow-http] [--token-stdin] |
Auto-discover + configure (HTTPS; plain HTTP only with --allow-http) |
configure |
--shield-ip IP [--plex-url URL] [--token-stdin] |
Manual config, no discovery. URL is http(s)://host[:port] only (no |
Установить Plex Server в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
execFAQ
Что делает скилл Plex Server?
Manage Plex Media Server with optional Nvidia Shield ADB device management.
Как установить скилл Plex Server?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Plex Server запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic