hotplex-legacy: Skill for Claude Code

.agent/skills/docker-container-ops/SKILL.md

docker-container-ops is a skill for Claude Code, Codex from hrygo/hotplex-legacy. It costs 62 tokens per session (1,801 once invoked), scanned A, original, MIT.

A set of instructions for managing HotPlex services running in Docker Compose, a tool that runs applications in containers. It covers checking, starting, stopping, restarting, and scaling those services.

In plain words
What is it for?
Use it to view container status, restart or stop bots, start the deployment, scale services, and verify their assigned web and administration ports.
Why use it?
It keeps container commands in the correct deployment directory and requires checking the actual running containers and ports before acting.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is hrygo/hotplex-legacy's own configuration. It tells Claude Code and Codex how to work on hotplex-legacy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hotplex-legacy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hrygo/hotplex-legacy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hrygo/hotplex-legacy/main/.agent/skills/docker-container-ops/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hrygo/hotplex-legacy

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docker-container-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/hrygo/hotplex-legacy/docker-container-ops/github.svg)](https://agentmods.dev/skills/hrygo/hotplex-legacy/docker-container-ops)
Your own site
<a href="https://agentmods.dev/skills/hrygo/hotplex-legacy/docker-container-ops"><img src="https://agentmods.dev/badge/skills/hrygo/hotplex-legacy/docker-container-ops/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docker-container-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/hrygo/hotplex-legacy/docker-container-ops"><img src="https://agentmods.dev/badge/skills/hrygo/hotplex-legacy/docker-container-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,801 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.01801
Opus 5.5 $0.00025 $0.00720
Sonnet 5.5 $0.00012 $0.00360
Haiku 4.5 $0.00006 $0.00180

Measured 1mo ago against content hash 2bcd5c31c3e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docker-container-ops scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/hotplex-status.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -H "Authorization: Bearer ${HOTPLEX_ADMIN_TOKEN}" \
.agent/skills/docker-container-ops/SKILL.md · 282 lines

How it starts

The opening of the file, as written. The whole thing — 282 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Docker Container Operations

Manage the lifecycle of hotplex containers running in Docker Compose deployment.

Critical: Working Directory

All docker compose commands MUST be executed from the compose directory.

COMPOSE_DIR="~/hotplex/docker/matrix"

Pattern: Always prefix docker compose commands with cd $COMPOSE_DIR &&:

cd ~/hotplex/docker/matrix && docker compose ps

Container Discovery

IMPORTANT: Do not hardcode container details. Always discover containers dynamically:

# List all running containers with their ports
cd ~/hotplex/docker/matrix && docker compose ps

# Get container port mappings
docker ps --format "table {{.Names}}\t{{.Ports}}" | grep hotplex

Port Mapping Convention

HotPlex follows a predictable port numbering pattern:

  • Main Port (WebSocket/HTTP): 18080 + (BOT_INDEX - 1)
  • Admin Port (Session Management): 19080 + (BOT_INDEX - 1)

Examples:

  • Bot 01: Main=18080, Admin=19080
  • Bot 02: Main=18081, Admin=19081
  • Bot 03: Main=18082, Admin=19082

However, always verify actual ports using docker compose ps rather than assuming.

Quick Operations

Check All Container Status

cd ~/hotplex/docker/matrix && docker compose ps

Start All Containers

cd ~/hotplex/docker/matrix && docker compose up -d

Stop All Containers

cd ~/hotplex/docker/matrix && docker compose down

Restart All Containers

cd ~/hotplex/docker/matrix && docker compose restart

Single Container Operations

Start a Container

cd ~/hotplex/docker/matrix && docker compose up -d hotplex-01

Stop a Container

cd ~/hotplex/docker/matrix && docker compose stop hotplex-01

Restart a Container

cd ~/hotplex/docker/matrix && docker compose restart hotplex-01

Recreate Container (Reload Env)

Important: Use up -d instead of restart to reload .env file changes:

cd ~/hotplex/docker/matrix && docker compose up -d hotplex-01

Read the full file on GitHub · 282 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 282 lines · 62 tokens per session scan A 2bcd5c31c3e7

Subscribe to this mod's changes

docker-container-ops is a skill published in the GitHub repository hrygo/hotplex-legacy (11 stars, last pushed 6mo ago), licensed MIT. It adds 62 tokens to every session and 1,801 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ecspresso

ECS deployment tool - deploy, manage, and troubleshoot ECS services.

kayac/ecspresso · 17 tokens

pvetui-cli

Use when querying or managing a Proxmox VE cluster via the pvetui CLI — listing nodes, guests, and tasks; creating and migrating VMs and LXC containers; managing storage content, downloading templates and OCI images, restoring backups, and installing Proxmox Community Scripts when the plugin is enabled. Requires…

devnullvoid/pvetui · 77 tokens

kubernetes

Deploy, manage, and debug Kubernetes in production — Deployments, Services, Gateway API, Service Mesh (Istio/Linkerd/Cilium), eBPF observability (Cilium Hubble), security hardening (Pod Security Standards, OPA/Kyverno, seccomp, runtime security with Falco/Tetragon), Helm, HPA, PDB, topology spread, and debugging. Use…

EliasOulkadi/shokunin · 144 tokens

whendone-plus

Automatically notify the user when long-running terminal commands finish (npm test, docker build, git push, etc.). The agent monitors command execution and sends a desktop notification on completion if the command ran longer than threshold (default 10s). Use when user asks to "notify me when done", "desktop…

EliasOulkadi/shokunin · 116 tokens

docker

Optimize Docker images with multi-stage builds, distroless bases, BuildKit cache mounts, multi-arch builds, compose watch, security hardening (non-root, seccomp, capabilities drop), and vulnerability scanning via docker scout/trivy. Use when user asks to write a Dockerfile, optimize image size, set up docker-compose…

EliasOulkadi/shokunin · 111 tokens

go-delivery-platform

Use when CI/CD, artifact provenance, drift, containers, migrations, rollout, or control-plane evidence determines whether a candidate may ship.

Dankosik/go-service-template-rest · 32 tokens