linux-sysadmin

linux-sysadmin is a skill for Claude Code, Codex 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 CodeCodex

Part of the pwdev-devops plugin — 19 skills, 5 commands, 4 agents 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/pwdev-solucoes/pwdev-claude-marketplace/linux-sysadmin
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, Codex.

Or install pwdev-devops, the plugin that ships this one along with the rest of its 19 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.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.svg" alt="Measured on agentmods" 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. 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.1 $0.00082 $0.00768
Opus 5 $0.00041 $0.00384
Sonnet 5 $0.00016 $0.00154
Haiku 4.5 $0.00008 $0.00077

Measured yesterday against content hash 1550d7f55237, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 yesterday.

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. yesterday 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 (2 stars, last pushed 16d ago), licensed Apache-2.0. It adds 82 tokens to every session and 768 once invoked, about $0.0004 per session on Opus 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-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens