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.
npx agentmods add skills/hrygo/hotplex-legacy/docker-container-opsnpx skills add hrygo/hotplex-legacy --skill docker-container-opsgit clone --depth 1 https://github.com/hrygo/hotplex-legacyWrote 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.
[](https://agentmods.dev/skills/hrygo/hotplex-legacy/docker-container-ops)<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>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.
| Model | Per session | Once 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 |
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.
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}" \ 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
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.
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.
- 4d ago First seen · 282 lines · 62 tokens per session scan A 2bcd5c31c3e7
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.
Other skills, from other repositories
hotplex-release
通过判断 SemVer 影响、整理 CHANGELOG、对账版本面和验证发布输入来准备或发布 HotPlex 版本。不要用于主机二进制更新、运行时诊断或文档巡逻。.
hotplex-docs-patrol
维护 HotPlex 当前文档,将代码、配置、API 或发布变更映射到 BFS 可达文档,只修复已验证的文档漂移。不要用于普通润色、运行时诊断或版本发布。.
hotplex-stt-tts
初始化或修复 HotPlex 本地 STT 和 MOSS TTS 运行时,包括 Python 依赖、官方模型、配置和验收。仅在明确授权主机变更时使用;只读检查请使用 hotplex-cli 或 hotplex-diagnostics。.
hotplex-diagnostics
深入诊断 HotPlex Gateway、Worker、Session、日志或反馈链异常。普通 status/doctor/security/config 只读检查属于 hotplex-cli;安装、更新、重启、配置写入和 Admin 变更属于 hotplex-operator。.
hotplex-cli
使用 HotPlex CLI 处理 Cron、明确请求的 Slack 操作、普通用户聊天命令指引,以及只读 status、doctor、security、config 诊断。不要用于飞书写操作、发布、服务安装、二进制更新或 Admin 变更。.
hotplex-operator
运维或初始化 HotPlex 主机,覆盖首次 onboard、服务安装/启动、二进制更新、主机配置、审计检查和 Admin 变更。仅在明确授权的 operator 上下文中使用。.