본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)41k · #6708

connectivity-triage

하는 일

Mac의 인터넷이나 특정 앱이 작동하지 않는 이유를 찾도록 돕습니다. 간단한 도구로 문제가 로컬 네트워크, DNS(웹사이트 이름을 IP 주소로 바꾸는 시스템), 웹사이트까지의 경로, 혹은 웹사이트 자체에 있는지 확인합니다.

사용하는 경우

  • ✓웹사이트나 앱이 열리지 않을 때.
  • ✓인터넷이 느리거나 자꾸 끊길 때.
  • ✓문제가 컴퓨터 때문인지 인터넷 때문인지 모를 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/wshobson/agents/blob/main/plugins/incident-response/skills/connectivity-triage/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“인터넷이 느리고 웹사이트 X가 열리지 않아요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

로컬 네트워크, 이름 확인, 목적지까지의 경로처럼 연결의 여러 부분을 검사하는 명령을 실행합니다. 설정은 바꾸지 않고 정보만 수집합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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' \

…
자주 묻는 질문

이 도구가 네트워크 설정을 바꾸나요?

아니요, 이 과정은 진단과 정보 수집만을 위한 것입니다. 네트워크, DNS, VPN 설정을 바꾸지 않습니다.

'장애 영역'이란 무엇인가요?

로컬 네트워크, DNS, 서버까지의 경로, 서버나 애플리케이션 자체처럼 문제의 원인이 될 수 있는 부분들입니다.

이 도구를 사용한 뒤에는 무엇을 해야 하나요?

도구는 문제의 가능성이 높은 원인을 알려 줍니다. 이 정보를 바탕으로 인터넷 제공업체나 앱의 고객지원에 문의하는 등 안전한 다음 조치를 취할 수 있습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
41k
순위
#6708
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬