# One-Call Read-Only Diagnosis of a Trading Server

> Fold the first 10 to 30 diagnostic commands on a trading host (process list, running binary revisions, panics, metrics, log greps, disk, memory) into one read-only SSH call, then drill down only where it points.

One-Call Read-Only Diagnosis of a Trading Server is a paid AI agent skill on Agensi by Claude Workflow Lab, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7 (one-time purchase)
- Creator: [Claude Workflow Lab](https://www.agensi.io/creators/creator-1578)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/one-call-read-only-diagnosis-of-a-trading-server
- Tags: devops, ssh, pm2, diagnostics, trading, logs, read-only, incident-response

## What it does

- Checks every running process to see its status, memory use, and how many times it has crashed
- Verifies the exact version of the code currently running to ensure your updates are live
- Scans logs for specific errors or keywords like "panic" to find hidden bugs fast
- Measures network speed at different points to find exactly why a website or panel feels slow
- Audits all open ports and connections to see who or what is talking to your server
- Summarizes disk space and memory usage in one line so you can spot hardware limits

## Who it's for

- **Crypto traders managing their own servers:** Check if your trading bot is actually running the latest code and find out why it missed a trade. Try: "Check my trading host for any process crashes or log errors from the last hour."
- **DevOps and Infrastructure Leads:** Audit your entire server fleet to find forgotten boxes and verify every running version in one go. Try: "Run a full topology audit on the staging server and list all listening ports."
- **Founders running lean tech stacks:** Fix slow dashboards and server lag by seeing exactly which part of the network is causing the delay. Try: "Why is my admin panel slow? Run a latency check on the host."

## About this skill

When a trading service did not open a position or a host feels wrong, the first half hour is usually the same thirty commands typed one by one. This skill collapses them into a single read-only SSH call and teaches an agent to read the output and follow up with targeted reads only where it points.

What is inside:
- **SKILL.md** - when to use it, the one-call pattern (SSH with a persistent control connection), how to read each section (process table, restart counts, the build revision read from each running binary rather than from git, panic counts, metrics endpoint, log greps, disk and memory), the targeted follow-ups, and an "Adapt to your setup" section for names, log directories and systemd users.
- **scripts/collect_host.sh** - the collector for one trading host, read-only.
- **scripts/collect_topology.sh** - inventories every process, listening port and peer connection during an infrastructure audit.
- **scripts/panel_latency.sh** - times each network leg (DNS, connect, TLS, first byte) when an admin panel feels slow.

For operators who run their own bots and want a fast, safe first look. Needs SSH access, bash and curl. Everything it runs is read-only: no restarts, no deletes, no config changes. Also part of the Crypto Trading Ops Playbooks pack at a lower per-skill price.

## Requires

- Bash
- curl
- Optional: Python 3 on the host

## Known limitations

This skill requires SSH access and works on Linux servers using pm2 or systemd. It cannot restart services or fix the code for you.

## Technical details

This skill uses a collection of bash scripts (collect_host.sh, collect_topology.sh, panel_latency.sh) to gather data via SSH. It specifically targets Linux environments using PM2 or systemd. It reads binary metadata from /proc/pid/exe to verify VCS revisions and supports Prometheus-style metrics scraping. All operations are read-only to ensure system stability during audits.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the One-Call Read-Only Diagnosis of a Trading Server skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Who should use this skill and what problems does it solve?

This skill is designed for people who manage servers running Linux, especially those using tools like pm2 or systemd to run applications or crypto trading services. It is helpful when an app is slow, crashing, or you need to verify which version of your code is actually running.

### What do I need to have ready on my server for this to work?

You need a Linux host that allows SSH access. The skill works best if your server uses pm2 or systemd to manage processes and if you have sudo permissions to read specific details from the running memory of your apps.

### Is it safe to run this on a live production server?

The skill performs a single read-only scan to collect a wide range of data including app status, memory usage, disk space, recent error logs, and network connections. It avoids making any changes to your settings or restarting your services to ensure your server stays safe.

### What kind of report will my agent give me?

You receive a structured report divided into sections like app performance, recent crash logs, and a list of open ports. It even highlights specific issues like a process that keeps restarting or a disk that is almost full so you know exactly where to start fixing.

### Are there things this skill cannot do?

The skill is built for reading information and diagnosing problems, so it will not fix the code, change environment variables, or restart services for you. It also cannot see logs that have been archived or zipped unless you specifically ask to search those older files.

### How do I tell my agent to start a diagnostic check?

You can ask your agent to check a specific server for health issues, find out why an app is slow, or confirm if a recent code update is live. You can also give it specific terms to search for in your logs, like an error message or a specific currency pair.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
