One copy-paste prompt has Claude Code test your Wi-Fi, catch background bandwidth hogs, explain it in plain English and rank fixes. Plus follow-ups to list and remove unknown devices.
This guide is reviewed for clarity, service accuracy, and AI-search readability. The next quarterly content review is tracked internally before unsupported metrics or client proof are added.
Slow Wi-Fi costs you hours. Calls freeze. Uploads crawl. Most people restart the router and hope it helps.
This pack swaps guessing for a real diagnosis. You paste one prompt into Claude Code, Anthropic's coding agent. It finds your router, measures your connection, and catches the apps using your internet in the background. Then it explains everything in plain English and gives you a fix list, biggest win first. Two follow-up prompts show every device on your Wi-Fi and check whether your fixes worked.
You don't need to know anything about networking, and you don't need a new router. At Hypd we like this as a first Claude Code project: it solves a real problem, the commands only read information, and you approve every step.
What you need first
- Claude Code, in the desktop app or the terminal. It runs on macOS, Windows and Linux.
- A plan that includes Claude Code: Pro or higher. The Free plan does not include it. Anthropic's pricing page currently lists Pro at $17/month billed annually ($200 up front) or $20 billed monthly. Check claude.com/pricing for current prices.
- Admin access to your own router. This means the router's admin login (often printed on a sticker on the router) or the router's app if you have a mesh system.
- Your internet plan's speed. You'll find it on your bill or your provider's account page. You'll compare your results against it.
- On a Mac: macOS 12 Monterey or later, for the built-in speed test. Windows and Linux work too, with a small workaround for the speed test.
Only use this on a network you own or manage. Don't scan or log in to anyone else's network.
Step 1: Install Claude Code and open it in an empty folder
- Get a plan. Sign in at claude.ai and choose Pro or higher.
- Install Claude Code.
- Easiest: download the desktop app from claude.com/download, install it and sign in.
- Terminal: follow the install steps in the official docs at code.claude.com/docs/en/overview.
- Make an empty folder. Claude Code works inside the folder you open. An empty folder means nothing else is in reach, and your results file lands somewhere easy to find.
- Open Claude Code in that folder.
- Desktop app: choose the new folder as your working folder when you start a session.
- Terminal (Mac, Linux or Windows PowerShell):
promptmkdir ~/wifi-check cd ~/wifi-check claude
What a permission prompt looks like
Before Claude Code runs a command on your computer, it stops and asks. You'll see the exact command, a short description, and a few choices. It looks roughly like this (wording varies by version):
promptBash command route -n get default Find the default gateway (router address) Do you want to proceed? ❯ 1. Yes 2. Yes, and don't ask again for this kind of command 3. No, and tell Claude what to do differently
How to handle it:
- Read the command, then choose Yes to approve that one command.
- Skip any "don't ask again" option. Approve each command as it comes.
- Don't switch on auto-accept, and don't start Claude Code with any "skip permissions" option.
- If you're unsure what a command does, choose No and ask Claude to explain it first.
Step 2: Paste the main prompt
Copy this whole block into Claude Code and press Enter.
promptI want to find out why my home Wi-Fi is slow. This is my own network. I'm not technical, so explain everything in plain English. If you must use a technical term, define it in one sentence. Ground rules for this whole session: - Before each command, tell me in one sentence what it does and why. - Only run commands that read information. Change nothing on this computer, my router or my network unless I say "yes" to that specific change. The only exception is saving the wifi-baseline.txt file described below. - Don't install anything without asking me first. - Never ask me to type or paste a password into this chat. If we need the router's admin page, open it in my web browser and I will type the password into the router's login page myself. If you think you need a password for any other reason, stop and ask me first. - If a command needs administrator rights (sudo on Mac or Linux, "Run as administrator" on Windows), don't run it. Give me the exact command, tell me where to run it, and I'll paste the result back. Step 1: Detect my operating system and version, and tell me what you found. Step 2: Find my router. Find the default gateway, which is my router's IP address. - Mac: route -n get default - Windows: ipconfig - Linux: ip route Step 3: Read my current Wi-Fi connection: band (2.4, 5 or 6 GHz), channel and channel width, signal strength (RSSI in dBm, or a percentage if that's all my system shows), noise in dBm if available, and link rate. - Mac: system_profiler SPAirPortDataType, using the current network section. Only suggest sudo wdutil info for me to run if something important is missing. - Windows: netsh wlan show interfaces - Linux: nmcli dev wifi, using the row marked as in use Also list the nearby Wi-Fi networks and the channels they use, so we can see how crowded my channel is. Step 4: Run a speed and responsiveness test. Before you start, ask me to pause big downloads and video streaming on this computer so the result is clean. - Mac on macOS 12 or later: networkQuality -v - Windows or Linux: check whether a command-line speed test is already installed (speedtest or speedtest-cli). If none is, ask me whether to install one or whether I should run a speed test in my web browser and paste the numbers here. Record download (Mbps), upload (Mbps), responsiveness (RPM) and latency (ms) where available. Ask me what download and upload speed my internet plan promises. Save all of this, with the date and time, to a file called wifi-baseline.txt in this folder. This is my BEFORE result. Step 5: Find the apps using my internet in the background. Measure network use per app for about 30 seconds and list the top 10 by data sent and received. - Mac: nettop -P -L 1 (logging mode, so it exits on its own). Run it twice about 30 seconds apart and compare the two, so we see what is active right now, not totals since startup. - Windows: netstat -ano, matched to app names with tasklist. Also tell me how to open Resource Monitor (resmon) and its Network tab to watch live usage per app. netstat -b needs administrator rights, so give it to me to run myself. - Linux: ss -tunp. If nethogs is installed, give me the sudo nethogs command to run myself. For each app, tell me in plain English what it is and whether that traffic is expected, for example cloud sync, system updates, backups, game launchers or streaming. Step 6: List the devices seen on my network. Run arp -a (on Linux, ip neigh works too). Show each device's IP address and MAC address, plus the maker if you can tell from the MAC address. Write "unknown maker" rather than guess. Remind me that this list only includes devices my computer has talked to recently, so it may be incomplete. Step 7: Reach my router's admin page. Check whether the gateway address answers on http or https. If it does, open it in my default web browser so I can log in myself. If it doesn't, tell me my router is probably managed through an app (common with mesh systems) and that we'll use the app instead. Step 8: Explain my results in plain English: - How my speed compares with what my plan promises. - What my responsiveness and latency mean for video calls and gaming. - Whether my signal and noise are strong, okay or weak. - Whether I'm on the best band for where I sit, and how crowded my channel is. - What the background apps are costing me. Step 9: Give me a ranked fix list, biggest win first, based on what you actually found, not a generic list. Consider: rebooting the router as a baseline step, switching to a less crowded channel or a better band, pausing or scheduling the background apps you found, updating the router's firmware, moving the router, and QoS or a mesh system or extender only if my results point to them. For each fix, tell me why it's on the list, exactly how to do it step by step, and whether it's easy, medium or hard. Don't change anything yourself. Wait for me to pick a fix, then walk me through it.
What the prompt is doing, step by step
Every command below only reads information. None of them change a setting.
| Step | What it checks | Mac | Windows | Linux |
|---|---|---|---|---|
| Find your router | Default gateway (router IP) | route -n get default | ipconfig (look for "Default Gateway") | ip route (the "default via" line) |
| Wi-Fi details | Band, channel, signal, noise, link rate | system_profiler SPAirPortDataType or sudo wdutil info (you run it) | netsh wlan show interfaces | nmcli dev wifi |
| Speed and responsiveness | Download, upload, RPM, latency | networkQuality -v (macOS 12+) | Installed speed test, or a browser test | speedtest-cli if installed, or a browser test |
| Background apps | Network use per app | nettop -P -L 1 | Resource Monitor (resmon) Network tab, netstat -b (admin) | ss -tunp, nethogs (sudo) |
| Devices on the network | Devices your computer has seen | arp -a | arp -a | arp -a or ip neigh |
| Router admin | Settings, client list, block list | Browser at the gateway address | Same | Same |
A few notes:
networkQualitypushes heavy traffic for about 15 seconds. Anything else using the network during the test will skew the result.- Windows and many Linux tools show signal as a percentage, not dBm. Higher is better.
arp -aonly lists devices your computer has recently exchanged traffic with. That's why the device prompt below also uses the router's own list.
Router password safety
Claude Code can reach your router's admin page. It doesn't need to know the password to help you.
- Type the admin password yourself, straight into the router's login page in your browser. Don't paste it into the chat.
- Never reuse your Wi-Fi password as the admin password. Anyone on your Wi-Fi would then be able to change your router's settings.
- Change a default admin password. If yours is still the one printed on the sticker or in the manual, change it in the admin settings and store it in a password manager.
- Some mesh systems are app-only. If there's no web page at the gateway address, use the router's phone app. Device lists and blocking happen there.
Read your results in plain English
Claude explains your numbers for you. Here's what they mean, so you can sanity-check the explanation.
Download and upload (Mbps)
- Compare against the speed your plan sells. Plans are usually sold as "up to" a number.
- Wi-Fi is normally slower than a wired connection. A modest gap is normal. A huge gap points to a Wi-Fi problem.
- Upload matters for video calls and sending files. On many plans, upload is much lower than download.
Responsiveness (RPM) and latency
- Responsiveness is measured in round trips per minute (RPM) while the connection is busy. Higher is better.
networkQualitylabels it Low, Medium or High. - Quick conversion: 60,000 ÷ RPM ≈ milliseconds per round trip under load. 600 RPM is about 100 ms.
- Latency is the delay for one round trip, in milliseconds. Lower is better.
- If latency is fine when idle but responsiveness is Low, your connection lags whenever something else is busy. That's why calls freeze when someone starts a download. QoS can help here.
Signal strength (RSSI) and noise
Signal is a negative number in dBm. Closer to zero is stronger. A rough guide most Wi-Fi pros use:
- -30 to -50 dBm: excellent
- -50 to -60 dBm: good
- -60 to -67 dBm: fine for most things, including video calls
- -67 to -75 dBm: fair. Expect drops on calls.
- Below -75 dBm: weak and unreliable
Noise is background interference. Around -90 dBm or lower (more negative) is quiet. Subtract noise from signal to get the gap. For example, -55 signal and -90 noise gives a 35 dB gap. A gap of 25 dB or more is solid. Under about 20 dB means trouble.
Link rate is the top speed your device and router agreed on. It is not your internet speed, and real throughput is always lower.
2.4 GHz vs 5 GHz vs 6 GHz
- 2.4 GHz: longest range and best through walls, but the slowest and most crowded band. Neighbors' networks, microwaves and Bluetooth all share it. In the US, only channels 1, 6 and 11 don't overlap.
- 5 GHz: much faster with more channels, but shorter range. Best choice for most devices within a room or two of the router.
- 6 GHz: fastest and least crowded, with the shortest range. Both your router and your device must support Wi-Fi 6E or Wi-Fi 7.
The ranked fix checklist
Claude ranks these from your actual results. Here's how to do each one. Change one thing at a time, then re-test, so you know what worked.
Baseline: reboot first
Do this before anything else, so later improvements aren't just the effect of a fresh restart.
- Turn off the modem and router. Wait 30 seconds.
- Turn the modem on and wait until its lights settle. Then turn the router on.
- Re-run the speed test and treat that as your real starting point.
1. Switch to a less crowded channel or the right band
- Log in to the router's admin page or app. Find Wireless or Wi-Fi settings.
- 2.4 GHz: pick 1, 6 or 11, whichever has the fewest neighbors on it. Claude's nearby-network scan shows this.
- 5 GHz: "Auto" is usually fine. If your channel is crowded, try another one and re-test.
- Device stuck on 2.4 GHz while sitting near the router? Give the 2.4 and 5 GHz bands separate names, and connect your laptop to the 5 GHz one.
2. Pause or schedule background downloads
Use the per-app list from the scan.
- Cloud sync (iCloud, OneDrive, Google Drive, Dropbox): pause syncing during calls, or set it to sync overnight.
- System updates: schedule them outside work hours.
- Game launchers and app stores: turn off auto-update, or limit download speed in their settings.
- Backups: schedule them overnight.
- Check other devices too. TVs, consoles and other laptops share the same connection.
3. Update router firmware
- In the admin page, look under Administration, System Tools or Advanced for Firmware Update. Mesh systems usually do this in the app.
- Turn on automatic updates if your router offers them.
- Don't unplug the router during an update.
4. Move the router
- Put it in a central spot, not in a corner of the house.
- Raise it. A shelf beats the floor.
- Keep it in the open, not inside a cabinet or behind a TV.
- Keep it away from microwaves, thick walls, metal and large mirrors.
5. Enable QoS or add mesh, only where it fits
- QoS (Quality of Service): turn it on if calls freeze whenever someone else streams or downloads (Low responsiveness under load). Give your work computer or video calls priority.
- Mesh or extender: only if rooms far from the router still have weak signal after you've moved it. Place an extender halfway between the router and the dead zone, not inside the dead zone.
Follow-up prompt: show every device on my Wi-Fi
When the main report is done, paste this into the same session.
promptShow every device on my Wi-Fi. 1. Run arp -a again (on Linux, ip neigh also works) and list every device it sees. 2. Open my router's admin page in my browser. If my router is app-only, tell me where to find the connected devices or client list in the app. I'll log in myself and paste or type the list here: device names, IP addresses and MAC addresses. Don't ask me for any password. 3. Match the two lists by MAC address. Show one table with: device name or hostname, IP address, MAC address, maker (from the first half of the MAC address; write "unknown maker" if you're not sure), and which list it came from. 4. Label each device "Mine", "Probably mine" or "Unknown". Explain that phones, tablets and many laptops use private (randomized) MAC addresses, which have 2, 6, A or E as the second character and won't match a maker. That alone doesn't make a device suspicious. 5. For each Unknown device, suggest how I can identify it, for example by switching my own devices off one at a time and watching which one disappears from the router's list. 6. Don't block anything yourself. When I've decided which devices to remove, give me the steps to block them in my router's admin page or app.
Kick unknown devices off
Block the device
The generic path works on most routers:
- Log in to the router's admin page or app.
- Open Connected Devices, Clients or DHCP Client List. Find the unknown device's MAC address.
- Go to Access Control, MAC Filter or Block List.
- Add the device, then save.
TP-Link example (web admin): go to Advanced → Security → Access Control. Turn Access Control on and choose Blocklist (older firmware calls it Blacklist). Pick the device from the online devices list, block it and save. On TP-Link Deco mesh systems, open the Deco app, tap the device in your client list and choose Block. Menu names vary by model and firmware.
Lock the door so it can't rejoin
A block on its own is weak, because devices can change their MAC address. The real fix is a new password.
- Change your Wi-Fi password. Use a long passphrase you haven't used anywhere else.
- Set the security mode to WPA3-Personal. If older devices can't connect, use WPA2/WPA3 mixed mode, or WPA2-PSK (AES). Avoid TKIP and WEP.
- Turn off WPS if you don't use it.
- Reconnect your own devices with the new password. Anything you didn't reconnect is now locked out.
Follow-up prompt: re-test and compare
After you've applied fixes, paste this to check whether they worked.
promptRe-run the checks from earlier and compare before vs after. 1. Read wifi-baseline.txt in this folder for my BEFORE numbers. 2. Remind me to sit in the same spot as last time and pause big downloads and streaming. Then run the same speed and responsiveness test as before. 3. Read my current Wi-Fi connection again: band, channel, signal, noise and link rate. 4. Run the per-app network check again for about 30 seconds. 5. Show a before vs after table: download, upload, responsiveness, latency, band, channel, signal and noise. 6. In plain English, tell me what improved, what didn't, and which fix most likely made the difference. 7. Compare the new speed with what my plan promises. If my Wi-Fi is still well below the plan, tell me how to run the same test over a wired (Ethernet) connection, to check whether the problem is my internet line rather than my Wi-Fi. 8. Add the AFTER results to wifi-baseline.txt with the date and time.
Honest expectations
What these fixes can and can't do
- Wi-Fi fixes can make your connection a lot faster and much steadier, especially for video calls.
- They can't push speed past what your internet plan delivers. If you pay for a given speed, that's your ceiling.
- When it's the line, not the Wi-Fi: plug a laptop into the router with an Ethernet cable and run the same test. If the wired result is also far below your plan, the problem is your modem or your provider's line. Wi-Fi settings won't fix that.
- What to tell your provider: your plan name and speed, wired test results from several different times of day, that you've already rebooted the modem and router, and what the modem's lights show. Ask them to check the signal levels on your line, any outages in your area, and whether your modem supports your plan's speed.
FAQ
Is it safe to let Claude Code run commands on my computer?
The main prompt only asks for commands that read information, and Claude Code asks before running each one. You approve every command yourself. Nothing on your computer or router changes unless you say yes to that specific change. Your router password never goes into the chat, because you type it into the router's login page yourself.
Do I need to pay for Claude Code?
Yes. Claude Code isn't included in the Free plan. Pro is the cheapest plan that includes it. The fixes themselves use the router you already have: settings, placement and background apps. You don't need to buy new hardware.
What if my router only works through an app?
Many mesh systems have no web admin page. Claude Code still runs the speed test, the Wi-Fi checks and the per-app scan on your computer. For the device list, open the client list in the router's app and paste it into the chat. Blocking devices and updating firmware also happen in the app.