ssh-diagnose
/ssh-diagnose
Diagnozuje problemy zdalnego serwera, np. wolną pracę, awarię usługi, pełny dysk, obciążenie CPU, pamięci lub sieci.
- Autor
- muchiny ↗
- Repozytorium
- bridge-mcp ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 25.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Diagnozuje problemy zdalnego serwera, np. wolną pracę, awarię usługi, pełny dysk, obciążenie CPU, pamięci lub sieci.
Wyzwalacze z opisu
Argumenty
/ssh-diagnose <host> [symptom]
Oryginalny opis (EN)
This skill should be used when the user asks to "debug my server", "why is prod slow", "check why a service is down", "diagnose disk full", "server is unresponsive", or mentions troubleshooting remote server issues like CPU, memory, disk, or network problems.
Jak działa
- Phase 1 — Quick Health Overview
- Phase 2 — Targeted Investigation
- Phase 3 — Log Analysis
- Phase 4 — Report
Podgląd SKILL.md
--- name: ssh-diagnose description: This skill should be used when the user asks to "debug my server", "why is prod slow", "check why a service is down", "diagnose disk full", "server is unresponsive", or mentions troubleshooting remote server issues like CPU, memory, disk, or network problems. argument-hint: <host> [symptom] compatibility: "2.1+" --- # Server Diagnostics Systematically diagnose issues on a remote server using bridge-mcp CLI. **Delegation**: Use a general-purpose agent (via the Agent tool) to run these commands in isolation, so verbose diagnostic output does not pollute the main conversation. Parse `$ARGUMENTS`: first word = host, second word (optional) = symptom (slow, crash, oom, disk, network). ## Phase 1 — Quick Health Overview Always start here. One command collects uptime, CPU, memory, disk, processes, failed services, and recent errors: ```bash bridge-mcp tool ssh_diagnose host=HOST --json ``` If a specific symptom was provided, also run adaptive triage: ```bash bridge-mcp tool ssh_incident_triage host=HOST symptom=SYMPTOM --json ``` Valid symptoms: `slow`, `crash`, `oom`, `disk`, `network` ## Phase 2 — Targeted Investigation Based on Phase 1 findings, drill into the specific problem area. ### High CPU / Slow ```bash bridge-mcp tool ssh_process_top host=HOST --json bridge-mcp tool ssh_metrics host=HOST --json ``` ### Out of Memory ```bash bridge-mcp tool ssh_exec host=HOST command="free -h && cat /proc/meminfo | head -20" bridge-mcp tool ssh_process_top host=HOST --json ``` ### Disk Full ```bash bridge-mcp tool ssh_disk_usage host=HOST --json bridge-mcp tool ssh_exec host=HOST command="df -h && df -i" bridge-mcp tool ssh_exec host=HOST command="du -sh /* 2>/dev/null | sort -rh | head -10" ``` ### Service Down ```bash bridge-mcp tool ssh_service_list host=HOST --json bridge-mcp tool ssh_service_logs host=HOST service=SERVICE_NAME lines=100 ``` ### Network Issues ```bash bridge-mcp tool ssh_net_connections host=HOST --json bridge-mcp tool ssh_net_interfaces host=HOST --json bridge-mcp tool ssh_exec host=HOST command="ss -tlnp" ``` ## Phase 3 — Log Analysis Check recent system logs for errors: ```bash bridge-mcp tool ssh_exec host=HOST command="journalctl -p err --since '1 hour ago' --no-pager | tail -50" ``` For a specific service: ```bash bridge-mcp tool ssh_service_logs host=HOST service=SERVICE_NAME lines=200 ``` ## Phase 4 — Report Produce a structured diagnostic report with: 1. **Status**: healthy / degraded / critical 2. **Root Cause**: what is actually wrong (be specific) 3. **Evidence**: relevant metrics and log excerpts 4. **Recommendation**: concrete next steps to fix 5. **Urgency**: immediate / soon / monitor See [playbooks.md](playbooks.md) for symptom-specific investigation workflows.
Pliki w paczce (2)
- SKILL.md 3 KB
- playbooks.md 3 KB
Wersje
W bazie nie ma innych skilli o nazwie ssh-diagnose.
Migawka bazy z 13.11.2026 · wersja paczki 493399f3bad9 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90server-health
Sprawdza kondycję zdalnego serwera administrowanego przez użytkownika: procesor, pamięć, dysk, obciążenie, usługi i aktualizacje bezpieczeństwa. - 90remote-host-diagnostics
Diagnozuje stan zdalnego hosta przez SSH, Ansible i skanowanie sieci, gdy serwer lub maszyna wirtualna działa źle. - 100ssh-ops
Wykonuje na serwerze polecenia, sprawdza kontenery Docker, restartuje usługi i czyta pliki zdalne przez SSH. - 100diagnose
Diagnozuje awarie i dziwne zachowanie serwera domowego: usługi, kontenery w pętli restartów, pełny dysk i nieudane aktualizacje. - 95railway-metrics
Odpytuje metryki zużycia zasobów usług Railway: CPU, pamięć, sieć i dysk, aby ocenić wydajność usługi. - 86diagnose
Sprawdza, dlaczego coś na serwerze nie działa albo działa wolno: aplikacja, zadanie, zużycie RAM, CPU lub dysku.