connectivity-triage
Ce qu’il fait
Vous aide à comprendre pourquoi la connexion internet de votre Mac, ou une application précise, ne fonctionne pas. Il utilise des outils simples pour vérifier si le problème vient de votre réseau local, du DNS (qui traduit les noms de sites en adresses IP), du chemin vers le site ou du site lui-même.
Quand l’utiliser
- ✓Lorsqu'un site web ou une application ne se charge pas.
- ✓Lorsque la connexion internet est lente ou se coupe régulièrement.
- ✓Lorsque vous ne savez pas si le problème vient de votre ordinateur ou d'internet.
Lien du skill
https://github.com/wshobson/agents/blob/main/plugins/incident-response/skills/connectivity-triage/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Mon internet est lent et le site X ne se charge pas.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Il exécute des commandes qui testent différentes parties de votre connexion, comme le réseau local, la résolution des noms et le chemin vers la destination. Il collecte des informations sans modifier aucun réglage.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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' \
…
Questions fréquentes
Cela va-t-il modifier mes réglages réseau ?
Non, cette démarche sert uniquement à diagnostiquer et à collecter des informations. Elle ne modifie aucune configuration réseau, DNS ou VPN.
Que sont les « domaines de panne » ?
Ce sont les causes possibles du problème, comme votre réseau local, le DNS, le chemin vers le serveur, ou le serveur et l'application eux-mêmes.
Que dois-je faire après avoir utilisé cet outil ?
L'outil vous aide à identifier la cause probable du problème. Avec ces informations, vous pouvez agir en toute sécurité, par exemple en contactant votre fournisseur d'accès internet ou le support de l'application.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 41k
- Position au classement
- #6708
- Licence
- MIT
- Mis à jour
- 15/10/2026
Commentaires
- …
Autres skills de ce dépôt
screen-reader-testing
41kPermet à votre agent de tester les sites web avec des lecteurs d'écran pour vérifier leur accessibilité.
wcag-audit-patterns
41kAide votre agent à auditer l'accessibilité des sites web et à corriger les problèmes selon les directives WCAG.
multi-reviewer-patterns
41kPermet à votre agent de coordonner des revues de code en parallèle, de dédoublonner les résultats et de consolider les rapports.
parallel-debugging
41kPermet à votre agent de déboguer des problèmes complexes grâce à des investigations en parallèle et à l'analyse des causes racines.
Skills similaires
openclaw-update
394kAide votre agent à mettre à jour une passerelle OpenClaw existante, en choisissant la méthode adaptée à son installation et en gardant votre session active.
diagnose-gateway
394kAide votre agent à trouver pourquoi votre passerelle OpenClaw échoue, en vérifiant les paramètres, les canaux et les ports sans rien modifier.
crabbox-apps
394kAide votre agent à ouvrir et exécuter une application sur une machine cloud temporaire, puis à afficher sa vue dans le panneau latéral de votre chat.