plex
Control Plex Media Server - browse libraries, search, play media, manage playback.
Best use case
plex is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Control Plex Media Server - browse libraries, search, play media, manage playback.
Teams using plex should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/plex/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How plex Compares
| Feature / Agent | plex | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Control Plex Media Server - browse libraries, search, play media, manage playback.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Plex Media Server Control Plex Media Server using the Plex API. ## Setup Set environment variables: - `PLEX_SERVER`: Your Plex server URL (e.g., `http://192.168.1.100:32400`) - `PLEX_TOKEN`: Your Plex auth token (find it at plex.tv/claim or in Plex app XML) ## Common Commands ### Get Server Info ```bash curl -s "$PLEX_SERVER/?X-Plex-Token=$PLEX_TOKEN" -H "Accept: application/json" ``` ### Browse Libraries ```bash curl -s "$PLEX_SERVER/library/sections?X-Plex-Token=$PLEX_TOKEN" -H "Accept: application/json" ``` ### List Library Contents ```bash # Replace 1 with your library section key (from browse above) curl -s "$PLEX_SERVER/library/sections/1/all?X-Plex-Token=$PLEX_TOKEN" -H "Accept: application/json" ``` ### Search ```bash curl -s "$PLEX_SERVER/search?query=SEARCH_TERM&X-Plex-Token=$PLEX_TOKEN" -H "Accept: application/json" ``` ### Get Recently Added ```bash curl -s "$PLEX_SERVER/library/recentlyAdded?X-Plex-Token=$PLEX_TOKEN" -H "Accept: application/json" ``` ### Get On Deck (Continue Watching) ```bash curl -s "$PLEX_SERVER/library/onDeck?X-Plex-Token=$PLEX_TOKEN" -H "Accept: application/json" ``` ### Get Active Sessions (What's Playing Now) ```bash curl -s "$PLEX_SERVER/status/sessions?X-Plex-Token=$PLEX_TOKEN" -H "Accept: application/json" ``` ### List Available Clients/Players ```bash curl -s "$PLEX_SERVER/clients?X-Plex-Token=$PLEX_TOKEN" -H "Accept: application/json" ``` ## Library Section Types - Movies (usually section 1) - TV Shows (usually section 2) - Music - Photos ## Notes - Add `-H "Accept: application/json"` for JSON output (default is XML) - Library section keys (1, 2, 3...) vary by server setup — list sections first - Media keys look like `/library/metadata/12345` - Always confirm before starting playback on a device - Get your token: plex.tv → Account → Authorized Devices → XML link
Related Skills
perplexity
Search the web with AI-powered answers via Perplexity API. Returns grounded responses with citations. Supports batch queries.
perplexity-4
Use Perplexity API for web-grounded AI search and research. Use when user needs up-to-date information, multi-step reasoning with web citations, exhaustive research with source references, factual queries with current events, or competitive analysis. Default when user mentions Perplexity, needs current information, or requires source citations.
perplexity-3
Use Perplexity API for web-grounded AI search and research. Use when user needs up-to-date information, multi-step reasoning with web citations, exhaustive research with source references, factual queries with current events, or competitive analysis. Default when user mentions Perplexity, needs current information, or requires source citations.
perplexity-2
Deep search via Perplexity API. Three modes: search (quick facts), reason (complex analysis), research (in-depth reports). Returns AI-grounded answers with citations.
portfolio-watcher
Monitor stock/crypto holdings, get price alerts, track portfolio performance
portainer
Control Docker containers and stacks via Portainer API. List containers, start/stop/restart, view logs, and redeploy stacks from git.
portable-tools
Build cross-device tools without hardcoding paths or account names
polymarket
Trade prediction markets on Polymarket. Analyze odds, place bets, track positions, automate alerts, and maximize returns from event outcomes. Covers sports, politics, entertainment, and more.
polymarket-traiding-bot
No description provided.
polymarket-analysis
Analyze Polymarket prediction markets for trading edges. Pair Cost arbitrage, whale tracking, sentiment analysis, momentum signals, user profile tracking. No execution.
polymarket-agent
Autonomous prediction market agent - analyzes markets, researches news, and identifies trading opportunities
polymarket-5
Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.