Back to list
djcyphers

network-diagnostics

by djcyphers

> A portable GitHub Copilot CLI environment optimized for Windows Server administration and network operations.

0🍴 0📅 Jan 6, 2026

SKILL.md


name: network-diagnostics description: "Diagnose network connectivity issues: DNS, routing, firewall, port checks, traceroutes. Use for troubleshooting server-to-server communication or client access problems." license: MIT compatibility:

  • copilot-cli
  • vscode-copilot
  • claude allowed-tools:
  • windows-command-line
  • console-automation

Network Diagnostics Skill

When to Activate

  • User mentions: connectivity, DNS, ping, traceroute, port, firewall, routing, network unreachable
  • User asks why a server can't reach another server
  • User reports "connection refused" or "timeout" errors

Diagnostic Workflow

Step 1: Identify the Target

# Extract hostname/IP and port from user's description
$target = "hostname-or-ip"
$port = 443  # or whatever port is relevant

Step 2: Basic Connectivity

# Quick ping test
Test-Connection -ComputerName $target -Count 4

# DNS resolution
Resolve-DnsName $target -Type A
Resolve-DnsName $target -Type AAAA

Step 3: Port Accessibility

# TCP port test
Test-NetConnection -ComputerName $target -Port $port -InformationLevel Detailed

# Multiple ports at once
@(22, 80, 443, 3389, 5985) | ForEach-Object {
    Test-NetConnection -ComputerName $target -Port $_ -WarningAction SilentlyContinue |
    Select-Object ComputerName, RemotePort, TcpTestSucceeded
}

Step 4: Route Analysis

# Trace the path
Test-NetConnection -ComputerName $target -TraceRoute

# Or classic tracert for more detail
tracert -d $target

Step 5: Local Firewall Check

# Check if Windows Firewall might block
Get-NetFirewallRule | Where-Object {
    $_.Enabled -eq 'True' -and $_.Direction -eq 'Outbound'
} | Select-Object DisplayName, Action -First 20

Common Issues & Solutions

SymptomLikely CauseCheck
DNS timeoutDNS server unreachablenslookup $target 8.8.8.8
Connection refusedService not runningTest-NetConnection -Port
Request timeoutFirewall blockingCheck both local and remote FW
TTL exceededRouting looptracert to find the loop
No route to hostMissing routeGet-NetRoute -DestinationPrefix 0.0.0.0/0

Output Format

Always report:

  1. What was tested
  2. What succeeded ✅
  3. What failed ❌
  4. Recommended next step

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon