panel-agent-go

Collect system and Docker metrics and stream them via WebSocket to a backend.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Mord0reK/panel --skill panel-agent-go
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: panel-agent-go
Source: https://github.com/Mord0reK/panel/tree/main/.claude/skills/panel-agent-go
Command: npx skills add https://github.com/Mord0reK/panel --skill panel-agent-go

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill defines a standard for a Go-based subagent that collects system and Docker metrics and securely streams them to a backend.

Core Features & Use Cases

  • Real-time metrics collection for host and Docker containers.
  • Docker API integration to fetch container metrics and state.
  • WebSocket-based backend streaming with structured messages and robust error handling.
  • Use Case: Deploy on Linux hosts running Go services to monitor system load, container health, and network/disk usage, then forward data to a centralized backend.

Quick Start

Start the agent to begin collecting system and Docker metrics every second and streaming them to the backend via WebSocket.

Frequently Asked Questions about panel-agent-go

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I collect system and Docker container metrics in Go for real-time monitoring?

You can collect system and Docker metrics in Go by deploying a subagent that integrates with the Docker API. It periodically takes metric snapshots and streams them to a backend for real-time observability of host load and container health.

What is the best way to stream Go service metrics to a backend via WebSocket?

Streaming Go service metrics to a backend via WebSocket is handled by a Go client that sends structured JSON payloads over a WebSocket connection. This approach provides robust error handling and real-time data forwarding for centralized processing.

Does this Go metrics agent require any external dependencies to monitor Docker containers?

No external dependencies are required to monitor Docker containers with this Go agent. It operates independently using a built-in Go WebSocket client and direct Docker API integration to fetch container states and usage data.

Can I use this agent to monitor network and disk usage for Linux hosts running Go services?

Yes, you can use this agent to monitor network and disk usage for Linux hosts running Go services. It automates the collection of host-level resource metrics alongside Docker container health data every second.

What format are Docker metrics sent in when streaming to a centralized backend?

Docker metrics are sent as structured JSON payloads when streaming to a centralized backend. The Go agent formats system load, container state, and resource usage data into structured JSON messages for reliable backend processing.