docker-container-ops

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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hrygo/hotplex-legacy/docker-container-ops
Any agent
npx skills add hrygo/hotplex-legacy --skill docker-container-ops
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00062 $0.01801
Opus 5 $0.00031 $0.00901
Sonnet 5 $0.00012 $0.00360
Haiku 4.5 $0.00006 $0.00180

Measured 4d ago against content hash 2bcd5c31c3e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 4mo ago), licensed MIT. It adds 62 tokens to every session and 1,801 once invoked, about $0.0003 per session on Opus 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

hotplex-release

通过判断 SemVer 影响、整理 CHANGELOG、对账版本面和验证发布输入来准备或发布 HotPlex 版本。不要用于主机二进制更新、运行时诊断或文档巡逻。.

hrygo/hotplex · 52 tokens

hotplex-docs-patrol

维护 HotPlex 当前文档,将代码、配置、API 或发布变更映射到 BFS 可达文档,只修复已验证的文档漂移。不要用于普通润色、运行时诊断或版本发布。.

hrygo/hotplex · 57 tokens

hotplex-stt-tts

初始化或修复 HotPlex 本地 STT 和 MOSS TTS 运行时,包括 Python 依赖、官方模型、配置和验收。仅在明确授权主机变更时使用;只读检查请使用 hotplex-cli 或 hotplex-diagnostics。.

hrygo/hotplex · 65 tokens

hotplex-diagnostics

深入诊断 HotPlex Gateway、Worker、Session、日志或反馈链异常。普通 status/doctor/security/config 只读检查属于 hotplex-cli;安装、更新、重启、配置写入和 Admin 变更属于 hotplex-operator。.

hrygo/hotplex · 59 tokens

hotplex-cli

使用 HotPlex CLI 处理 Cron、明确请求的 Slack 操作、普通用户聊天命令指引,以及只读 status、doctor、security、config 诊断。不要用于飞书写操作、发布、服务安装、二进制更新或 Admin 变更。.

hrygo/hotplex · 63 tokens

hotplex-operator

运维或初始化 HotPlex 主机,覆盖首次 onboard、服务安装/启动、二进制更新、主机配置、审计检查和 Admin 变更。仅在明确授权的 operator 上下文中使用。.

hrygo/hotplex · 54 tokens