Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)41k · #6708

connectivity-triage

Fungsinya

Membantu Anda mencari tahu penyebab masalah ketika internet di Mac Anda atau aplikasi tertentu tidak berfungsi. Alat ini menggunakan perintah sederhana untuk memeriksa apakah masalahnya ada di jaringan lokal, DNS (yang menerjemahkan nama website menjadi alamat IP), jalur menuju website, atau website itu sendiri.

Kapan dipakai

  • ✓Jika sebuah website atau aplikasi tidak bisa dimuat.
  • ✓Jika internet lambat atau sering terputus.
  • ✓Jika Anda tidak yakin apakah masalahnya ada di komputer atau di jaringan internet.

Link skill

https://github.com/wshobson/agents/blob/main/plugins/incident-response/skills/connectivity-triage/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/wshobson/agents/blob/main/plugins/incident-response/skills/connectivity-triage/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Internet saya lambat dan website X tidak bisa dibuka.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Alat ini menjalankan perintah yang menguji berbagai bagian koneksi Anda, seperti jaringan lokal, penerjemahan nama domain, dan jalur menuju tujuan. Alat ini hanya mengumpulkan informasi tanpa mengubah pengaturan apa pun.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Connectivity Triage

Localize an active connectivity failure without changing network configuration. Collect the smallest useful evidence set, distinguish observations from inference, and stop when the fault domain is clear enough for the next safe action.

When to Use This Skill

Use this workflow when a macOS endpoint has an active symptom such as:

  • an API, website, or MCP service timing out or disconnecting;
  • DNS lookup failures or inconsistent name resolution;
  • packet loss, latency, or unstable interactive traffic;
  • an application that appears offline while other traffic works;
  • uncertainty about whether the problem is local, upstream, or at the service.

This is a diagnostic workflow, not a remediation workflow. Do not change interface state, DNS settings, VPN/firewall configuration, or remote service state while establishing the fault domain.

Fast Decision Flow

Work from the symptom toward the narrowest discriminating check:

symptom
  -> local link / LAN evidence
  -> DNS configuration and resolution
  -> destination reachability
  -> path quality
  -> application / service timing
  -> fault-domain assessment

Stop early when the evidence is already sufficient. Do not run every probe mechanically.

1. Define the symptom

Record the affected application or process, destination hostname or URL, when the failure started, whether it is continuous or intermittent, and whether unrelated destinations still work.

If the symptom is application-specific, preserve the exact hostname or URL the application uses. Testing an unrelated public site can establish general connectivity but cannot prove the affected service is healthy.

2. Check local-link / LAN evidence

When available, run a bounded networkQuality sample for a broad responsiveness and throughput signal. If networkQuality is unavailable, continue; it is optional.

If a known local gateway or same-LAN target is available, compare a short bounded ping sample to that local target with a short sample to the remote destination. Do not invent a gateway address. If no local target is known, leave the LAN segment unproven and continue.

Useful pattern:

ping -c 5 <known-local-target>
ping -c 5 <destination>

3. Separate DNS configuration from DNS behavior

Inspect the system resolver state, especially when VPNs, split DNS, or scoped resolvers may be involved:

scutil --dns

Then test the destination name directly with a bounded DNS query:

dig +time=2 +tries=1 <hostname>

Treat these as different evidence. scutil --dns shows resolver configuration; dig shows query behavior. A successful lookup does not prove the returned endpoint is reachable.

4. Test reachability and path quality

Use a short ping sample when ICMP is a useful signal:

ping -c 5 <destination>

If the hostname resolves, test the returned address separately only when doing so helps distinguish DNS behavior from path failure. If resolution currently fails, use an address only when it was previously observed from trustworthy incident evidence; otherwise leave address-level reachability unknown.

Use a bounded numeric traceroute when path visibility would reduce uncertainty:

traceroute -n -q 1 -m 20 <destination>

A silent or changing hop is an observation, not proof that the hop is broken. Routers may filter or rate-limit traceroute traffic while forwarding application traffic normally.

5. Inspect the affected application's live network activity

When the problem is process-specific, use a bounded nettop capture rather than watching indefinitely:

nettop -n -L 3 -p <process-name-or-pid>

Use it to confirm whether the process is opening connections, which endpoints it is using, and whether traffic is flowing. Lack of visible activity may mean the application never attempted the connection; it does not by itself identify why.

6. Time the application path

For HTTP(S), use curl phase timing against the actual affected endpoint when a safe read-only request is available. Confirm the incident-supplied endpoint is a complete http:// or https:// URL, preserve its original scheme, and pass the URL as one quoted argument rather than interpolating arbitrary incident text into the shell command:

curl -sS -o /dev/null \
  -w 'dns=%{time_namelookup} connect=%{time_connect} tls=%{time_appconnect} ttfb=%{time_starttransfer} total=%{time_total}\n' \

…
Pertanyaan umum

Apakah alat ini akan mengubah pengaturan jaringan saya?

Tidak. Proses ini hanya untuk diagnosis dan pengumpulan informasi. Proses ini tidak mengubah konfigurasi jaringan, DNS, atau VPN.

Apa itu 'fault domain'?

Fault domain adalah kemungkinan sumber masalah, seperti jaringan lokal, DNS, jalur menuju server, atau server/aplikasinya sendiri.

Apa yang sebaiknya saya lakukan setelah menggunakan alat ini?

Alat ini membantu mengidentifikasi kemungkinan penyebab masalah. Dengan informasi ini, Anda bisa mengambil langkah berikutnya yang aman, misalnya menghubungi penyedia internet Anda atau tim dukungan aplikasi tersebut.

Detail

Deskripsi asli dari pembuat

Use this skill when debugging active macOS connectivity failures, when an API or MCP service times out or disconnects, when DNS resolution is failing or inconsistent, or when video calls or other interactive traffic show packet loss or latency. Isolate local-LAN, DNS, upstream-path, and remote-service/application fault domains with built-in, non-destructive tools.

repo: wshobson/agents

Popularitas

Bintang GitHub
41k
Peringkat
#6708
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa