hotplex-diagnostics

hotplex-diagnostics is a skill for Claude Code, Codex from hrygo/hotplex-legacy. It costs 84 tokens per session (3,253 once invoked), scanned A, original, MIT.

A diagnostic tool for Docker containers, which package and run applications in isolated environments. It checks container health, resource use, logs, and HotPlex services in increasing levels of detail.

In plain words
What is it for?
Use it to list running or stopped containers, inspect health checks, view CPU and memory use, read logs, check HotPlex containers, and troubleshoot Docker services.
Why use it?
It gathers the status and evidence needed to find failed containers, resource problems, and application errors.

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/hotplex-diagnostics
Any agent
npx skills add hrygo/hotplex-legacy --skill hotplex-diagnostics
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 hotplex-diagnostics

README.md
[![agentmods](https://agentmods.dev/badge/skills/hrygo/hotplex-legacy/hotplex-diagnostics.svg)](https://agentmods.dev/skills/hrygo/hotplex-legacy/hotplex-diagnostics)
Your own site
<a href="https://agentmods.dev/skills/hrygo/hotplex-legacy/hotplex-diagnostics"><img src="https://agentmods.dev/badge/skills/hrygo/hotplex-legacy/hotplex-diagnostics.svg" alt="Measured on agentmods" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,253 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.1 $0.00084 $0.03253
Opus 5 $0.00042 $0.01626
Sonnet 5 $0.00017 $0.00651
Haiku 4.5 $0.00008 $0.00325

Measured 5d ago against content hash 9927ab718899, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

hotplex-diagnostics 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/diagnose-all.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.

status=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:$port/health 2>/dev/null || echo "000")
.agent/skills/hotplex-diagnostics/SKILL.md · 405 lines

How it starts

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

Docker & HotPlex Diagnostics

Comprehensive diagnostic system for Docker containers with enhanced capabilities for HotPlex services.

Diagnostic Layers

Layer Scope Depth
Layer 1 All Docker containers Basic health & status
Layer 2 All containers Resource usage & logs
Layer 3 HotPlex containers Deep application diagnostics

Quick Start

Full System Scan (All Containers)

# Layer 1: Quick health of ALL containers
docker ps -a --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}" | head -20

# Layer 2: Resource usage of ALL containers
docker stats --no-stream --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}\t{{.NetIO}}"

HotPlex-Only Quick Check

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

Layer 1: Universal Container Health

List All Running Containers

docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}\t{{.Ports}}"

List All Containers (Including Stopped)

docker ps -a --format "table {{.Names}}\t{{.Image}}\t{{.Status}}"

Health Status Check (All Containers with Healthchecks)

docker ps --format "{{.Names}}" | while read c; do
  health=$(docker inspect "$c" --format='{{.State.Health.Status}}' 2>/dev/null || echo "n/a")
  printf "%-30s %s\n" "$c" "$health"
done

Container State Summary

echo "=== Container State Summary ===" && \
docker ps -a --format "{{.State}}" | sort | uniq -c | sort -rn

Recent Container Events (Restarts, Deaths)

docker events --since 1h --filter 'type=container' --format '{{.Action}} {{.Actor.Attributes.name}}' 2>/dev/null | tail -20

Layer 2: Resource & Log Analysis

Resource Usage (All Containers)

# CPU & Memory
docker stats --no-stream --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}\t{{.MemPerc}}"

# Top CPU consumers
docker stats --no-stream --format "{{.Name}}\t{{.CPUPerc}}" | sort -t$'\t' -k2 -rn | head -5

# Top Memory consumers
docker stats --no-stream --format "{{.Name}}\t{{.MemPerc}}" | sort -t$'\t' -k2 -rn | head -5

Read the full file on GitHub · 405 lines

Files

What ships with it

4 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. 5d ago First seen · 405 lines · 84 tokens per session scan A 9927ab718899

Subscribe to this mod's changes

hotplex-diagnostics is a skill published in the GitHub repository hrygo/hotplex-legacy (11 stars, last pushed 4mo ago), licensed MIT. It adds 84 tokens to every session and 3,253 once invoked, about $0.0004 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