serverops-diagnose

serverops-diagnose is a skill for Claude Code, Codex from cyyprezz/codex-serverops-mcp. It costs 53 tokens per session (435 once invoked), scanned A, original, MIT.

A guided way to investigate problems on explicitly configured Linux servers using SSH, ordinary commands, logs, files, and service information.

In plain words
What is it for?
It helps diagnose disk, memory, process, Docker, service, journal, file, and other Linux-server problems.
Why use it?
It keeps a multi-step investigation organized and evidence-based while avoiding unnecessary changes to the server.

Skill for Claude CodeCodex

Part of the serverops plugin — 2 skills, 1 MCP server shipped together

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/cyyprezz/codex-serverops-mcp/serverops-diagnose
Any agent
npx skills add cyyprezz/codex-serverops-mcp --skill serverops-diagnose
Clone the repo
git clone --depth 1 https://github.com/cyyprezz/codex-serverops-mcp

Made for: Claude Code, Codex.

Or install serverops, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

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 serverops-diagnose

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyyprezz/codex-serverops-mcp/serverops-diagnose.svg)](https://agentmods.dev/skills/cyyprezz/codex-serverops-mcp/serverops-diagnose)
Your own site
<a href="https://agentmods.dev/skills/cyyprezz/codex-serverops-mcp/serverops-diagnose"><img src="https://agentmods.dev/badge/skills/cyyprezz/codex-serverops-mcp/serverops-diagnose.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 435 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00053 $0.00435
Opus 5 $0.00026 $0.00217
Sonnet 5 $0.00011 $0.00087
Haiku 4.5 $0.00005 $0.00044

Measured 4d ago against content hash 341a6f5bc07f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

serverops-diagnose scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/claude-serverops-mcp/skills/serverops-diagnose/SKILL.md · 41 lines

What it actually says

ServerOps Diagnose

Use the existing ServerOps tools as an investigation workspace. Do not invent specialist tools for commands that can be run reliably through the shell.

Investigate in stages

  1. Clarify the symptom, time window, affected profile, expected behavior, and acceptable scope.
  2. Inspect the profile, open one stateful live session, and establish identity, working directory, clock, and relevant environment before forming conclusions.
  3. Begin with broad read-only observations. Use ordinary Linux commands through server_exec; use server_terminal only when interaction, streaming, or retained terminal state is genuinely necessary.
  4. State competing hypotheses and collect the smallest evidence that distinguishes them. Narrow the investigation iteratively instead of dumping unrelated raw output.
  5. Use server_files for bounded structured reads. Do not mutate during diagnosis unless the user has authorized a change and the preimage and rollback path are understood.
  6. Preserve useful shell state in the held session, but re-check session status after interruptions or client restarts.

Normal commands such as df, free, ps, systemctl, docker, and journalctl remain commands, not ServerOps product functions. Database queries, dumps, cron changes, and process termination also require explicit user scope and normal operational judgment.

Handle uncertainty

Separate observed facts, interpretations, rejected hypotheses, missing evidence, and changes. Never retry a timed-out or outcome_unknown mutation. Reconnect if necessary and verify the real server state read-only before continuing.

Report a useful result

Summarize the most likely cause, evidence, confidence, affected scope, and any remaining unknowns. Prefer concise findings and relevant excerpts over raw-text floods. List every change separately; if the investigation remained read-only, say so.

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. 4d ago First seen · 41 lines · 53 tokens per session scan A 341a6f5bc07f

Subscribe to this mod's changes

serverops-diagnose is a skill published in the GitHub repository cyyprezz/codex-serverops-mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 435 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systemd

Skill "systemd" from chaterm/terminal-skills, covering systemd 服务管理, 概述, 服务管理, 基础命令 and 启停服务.

chaterm/terminal-skills · 7 tokens

analyzing-linux-elf-malware

Analyze malicious Linux ELF binaries — botnets, cryptominers, ransomware, and rootkits targeting Linux servers, containers, and cloud infrastructure — through static analysis, dynamic tracing, and reverse engineering of x8664 and ARM samples. Use when investigating Linux malware, triaging a suspicious ELF binary…

mukul975/Anthropic-Cybersecurity-Skills · 82 tokens

analyzing-linux-kernel-rootkits

Detect kernel-level rootkits in Linux memory dumps using Volatility3 linux plugins (checksyscall, lsmod, hiddenmodules), rkhunter system scanning, and /proc vs /sys discrepancy analysis to identify hooked syscalls, hidden kernel modules, and tampered system structures.

mukul975/Anthropic-Cybersecurity-Skills · 65 tokens

create-skill

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

warpdotdev/warp · 64 tokens

gui-integration-test

GUI desktop app only. Writes, runs, and debugs Warp integration tests using the custom Builder/TestStep framework in crates/integration. Use when adding a new integration test, fixing a failing integration test, wiring a test into the manual runner or nextest suite, or verifying end-to-end UI and terminal behavior in…

warpdotdev/warp · 72 tokens

logging-and-error-reporting

How and when to log (log:: levels, safe macros) and report errors to Sentry (reporterror!) in the Warp codebase. Use when adding or reviewing any logging or error reporting — picking a log level, deciding log vs. reporterror!, keeping sensitive data out of logs, or surfacing an error to Sentry.

warpdotdev/warp · 75 tokens