hotplex-legacy: Skill for Claude Code

.agent/skills/hotplex-diagnostics/SKILL.md

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

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw; mentions OpenCode.

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 →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/hotplex/.hotplex.

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/hotplex-diagnostics/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 hotplex-diagnostics

README.md
[![agentmods](https://agentmods.dev/badge/skills/hrygo/hotplex-legacy/hotplex-diagnostics/github.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/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 hotplex-diagnostics

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00084 $0.03253
Opus 5.5 $0.00034 $0.01301
Sonnet 5.5 $0.00017 $0.00651
Haiku 4.5 $0.00008 $0.00325

Measured 1mo ago against content hash 9927ab718899, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 6mo ago), licensed MIT. It adds 84 tokens to every session and 3,253 once invoked, about $0.0003 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

ci-debug-workflow

Debug failing CI pipelines, containers, and reproduce bugs locally. Use when CI is red, containers won't start, or need to reproduce bugs.

spences10/skills · 33 tokens

ai-slop-cleaner

Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode.

Yeachan-Heo/oh-my-claudecode · 25 tokens

competition-container-runtime

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for live container runtime analysis, mounted secrets, sidecars, namespaces, init containers, entrypoint drift, and route-to-container resolution. Use when the user asks why a live container differs from manifests, where a mounted secret is…

zhaoxuya520/reverse-skill · 109 tokens

aks-troubleshooting

Debug live Azure Kubernetes Service (AKS) incidents with a read-only, evidence-first investigation. WHEN: pod crashes or Pending, CrashLoopBackOff, OOMKilled, ImagePullBackOff, node NotReady, DNS or ingress failure, connectivity timeout, network policy, SNAT exhaustion, node-pool scaling blocked by QuotaExceeded or…

microsoft/skills · 221 tokens

aks-gpu-inference

Diagnose Day-2 AKS GPU and KAITO incidents using profile-aware, read-only evidence. WHEN: 'Insufficient nvidia.com/gpu', GPU pod Pending, model-load OOM, DCGM/VRAM, KAITO Workspace not ready, or GPU autoscaling. DO NOT USE FOR: setup (airunway-aks-setup), non-GPU incidents (aks-troubleshooting), standalone VM quota…

microsoft/skills · 114 tokens

aks-network-capture

Collects bounded packet captures from AKS nodes and Azure network configuration for wire-level evidence. WHEN: "capture packets on an AKS node", "take a pcap", "run tcpdump on AKS", "prove where packets drop". Use for explicit packet-capture intent after read-only diagnostics, not general AKS connectivity or ingress…

microsoft/skills · 75 tokens