linux-sysadmin

linux-sysadmin is a skill for Claude Code from pwdev-solucoes/pwdev-claude-marketplace. It costs 82 tokens per session (768 once invoked), scanned D, original, Apache-2.0.

A Linux server administration guide for Ubuntu, Debian, and AlmaLinux, covering services, scheduled tasks, SSH, processes, storage, memory, networking, and security tools. Linux is the operating system used by many servers.

In plain words
What is it for?
Use it to inspect systemd services and logs, diagnose CPU, memory, disk, and network issues, and investigate SSH, cron, or supervisor failures.
Why use it?
It provides a measurement-first way to find common server problems such as full disks, high load, failed services, and stuck processes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pwdev-devops plugin — 24 skills, 5 commands, 4 agents shipped together

Good fit Use it to inspect systemd services and logs, diagnose CPU, memory, disk, and network issues, and investigate SSH, cron, or supervisor failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pwdev-solucoes/pwdev-claude-marketplace/linux-sysadmin
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.

Any agent
npx skills add pwdev-solucoes/pwdev-claude-marketplace --skill linux-sysadmin
Clone the repo
git clone --depth 1 https://github.com/pwdev-solucoes/pwdev-claude-marketplace

Made for: Claude Code.

Or install pwdev-devops, the plugin that ships this one along with the rest of its 24 skills, 5 commands, 4 agents.

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 linux-sysadmin

README.md
[![agentmods](https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/linux-sysadmin/github.svg)](https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/linux-sysadmin)
Your own site
<a href="https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/linux-sysadmin"><img src="https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/linux-sysadmin/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 linux-sysadmin

Your own site · 80×15
<a href="https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/linux-sysadmin"><img src="https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/linux-sysadmin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 768 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. 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.00082 $0.00768
Opus 5.5 $0.00033 $0.00307
Sonnet 5.5 $0.00016 $0.00154
Haiku 4.5 $0.00008 $0.00077

Measured 1mo ago against content hash 1550d7f55237, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

linux-sysadmin scanned grade D with 2 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 1mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- `chmod 777` como solução

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Não roda `rm -rf` — entrega o comando
plugins/pwdev-devops/skills/linux-sysadmin/SKILL.md · 82 lines

How it starts

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

Linux SysAdmin

Você diagnostica servidor. Mede antes de mexer.

Portão de segurança

status, journalctl, df, top, ss rodam livres. systemctl start|stop|restart|enable exigem confirmação.

Diagnóstico — os 5 recursos

Sempre nesta ordem. O gargalo costuma estar no primeiro que sair da faixa.

Recurso Comando Sinal
CPU top, uptime load > nº de cores
Memória free -h, dmesg | grep -i oom swap ativo, OOM killer
Disco espaço df -h, du -sh /* > 85%
Disco I/O iostat -x 1, iotop %util perto de 100
Rede ss -s, ss -tunap conexões em TIME_WAIT, fila cheia

Disco cheio é a causa raiz mais comum e a mais subestimada — derruba banco, log, build e sessão de uma vez.

df -h                                    # onde
du -xh / --max-depth=2 2>/dev/null | sort -rh | head -20
journalctl --disk-usage                  # log costuma ser o culpado
lsof +L1                                 # arquivo deletado ainda aberto

lsof +L1 resolve o caso clássico: apagaram o log, o espaço não voltou porque o processo mantém o descritor aberto.

systemd

systemctl status SERV
journalctl -u SERV -n 200 --no-pager
journalctl -u SERV --since "1 hour ago" -p err
systemctl list-units --failed

Serviço não sobe: leia o journalctl antes de tentar restart. Restart apaga o estado que explica a falha.

Rede

ss -tunap | grep :443
ip route
tcpdump -i any port 5432 -c 20     # cuidado: pode conter dado sensível

Segurança básica

  • SSH: PermitRootLogin no, PasswordAuthentication no
  • Fail2Ban ativo em sshd
  • unattended-upgrades para patch de segurança
  • Firewall com política default deny

Anti-padrões

  • chmod 777 como solução
  • Editar unit em /lib/systemd — use /etc/systemd/system
  • Cron sem redirecionamento de saída — falha silenciosa
  • Restart antes de ler o log

Limites

  • Não reinicia serviço em produção sem confirmação
  • Não altera regra de firewall que amplie exposição
  • Não roda rm -rf — entrega o comando
  • Não gerencia container — ver docker-specialist

Read the full file on GitHub · 82 lines

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 · 82 lines · 82 tokens per session scan D 1550d7f55237

Subscribe to this mod's changes

linux-sysadmin is a skill published in the GitHub repository pwdev-solucoes/pwdev-claude-marketplace (3 stars, last pushed 10d ago), licensed Apache-2.0. It adds 82 tokens to every session and 768 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

gke-workload-troubleshooting

Diagnoses GKE workload failures (CrashLoopBackOff, OOMKilled, ImagePullBackOff, Pending, etc.) via logs and events. Use when pods fail to start or crash repeatedly. Don't use for GKE cluster infrastructure provisioning, node pool creation, or non-Kubernetes Google Cloud services.

google/skills · 69 tokens

application-integration-troubleshooting

Diagnoses failed, stuck, or silent Google Cloud Application Integration runs and Integration Connectors tasks using the REST API, Cloud Logging, and Cloud Monitoring. Use when an integration fails, returns HTTP 200 without doing the expected work, hangs in a suspended or retry state, or hits IAM, run-as service…

google/skills · 105 tokens

gke-workload-scaling-troubleshooting

Diagnoses GKE HorizontalPodAutoscaler (HPA) failures — metrics showing as , FailedGetResourceMetric / FailedGetScale / FailedComputeMetricsReplicas events, missing Pod resource requests, custom/external metrics-pipeline breakage (FailedGetExternalMetric / FailedGetCustomMetric, unavailable metrics adapter…

google/skills · 170 tokens

gke-ai-troubleshooting-tpu-mxla-hang

Diagnose GKE Cloud TPU multi-slice training hangs (Megascale HANGDETECTED logs and hang monitored events) using the ML Diagnostics Megascale XLA (MXLA) Hang Analyzer (gcloud alpha mldiagnostics monitored-events) and 1-minute Cloud Monitoring multi-slice latency metrics (kubernetes.io/container/multislice/).…

google/skills · 192 tokens

gke-ai-troubleshooting-tpu-performance-degradation

Diagnose GKE Cloud TPU training throughput drops and step-time regressions (15%+ TPU duty-cycle drop) using ML Diagnostics Workload Monitoring (gcloud alpha mldiagnostics monitored-events / hypercomputecluster.googleapis.com/v1alpha) and 1-minute Cloud Monitoring system metrics (kubernetes.io/node/accelerator/).…

google/skills · 200 tokens

gke-ai-troubleshooting-jobset-interruption

Diagnoses GKE JobSet interruptions, restarts, and preemptions for AI/ML training workloads autonomously. Use when troubleshooting JobSet restart loops, spot VM preemptions, node readiness failures, host VM issues, or coordinator worker crashes. Don't use for general GKE cluster creation, basic workload deployment, or…

google/skills · 83 tokens