跳到正文
Skillpedia
自动化48k · #5863

startup-it-troubleshooting

它能做什么

本指南帮助非IT专业人员解决常见的电脑和网络问题。它针对忘记密码、Wi-Fi变慢、磁盘空间不足等情况,提供分步操作说明。

适用场景

  • ✓同事无法登录电子邮件账户时。
  • ✓公司网络突然变慢时。
  • ✓新员工需要设置账户时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/startup-it-troubleshooting/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/startup-it-troubleshooting/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的同事无法登录 Google Workspace,你能帮我重置他的密码吗?”

每周 5 个新技能,1 分钟读完。

工作原理

本指南提供了可以直接复制粘贴使用的命令,用来执行日常维护任务。它还说明了在密码找回或网络故障等情况下该怎么做。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Startup IT Troubleshooting

Runbooks for startups and small teams where engineers double as the IT department.

When to Use

You are the "accidental IT person." Nobody has IT in their title, but laptops freeze, Wi-Fi drops during investor demos, someone gets locked out of Google Workspace at midnight, and a new hire starts Monday with zero accounts. This skill gives you copy-paste commands to handle it all.

Priority triage: (1) Company-wide outages, (2) Executive/customer-facing blockers, (3) Team-wide degradations, (4) Individual workstation issues. Always ask: "How many people are affected?" and "Is revenue impacted?"


SSO / Identity Lockouts

Google Workspace via GAM

curl -s -S -L https://gam-shortn.appspot.com/gam-install -o /tmp/gam-install.sh && bash /tmp/gam-install.sh && rm /tmp/gam-install.sh  # install GAM
gam oauth create                                                     # authorize

gam update user jane@company.com password "TempPass123!" changepassword on  # reset password
gam update user jane@company.com suspended off       # unsuspend locked-out user
gam user jane@company.com signout                    # force sign-out all sessions
gam user jane@company.com update backupcodes         # new MFA backup codes
gam user jane@company.com turnoff2sv                 # disable 2SV (re-enable within 24h)

Okta API

OKTA="company.okta.com"; T="your-api-token"; UID="00u1abcdef"
curl -X POST -H "Authorization: SSWS $T" "https://$OKTA/api/v1/users/$UID/lifecycle/unlock"
curl -X POST -H "Authorization: SSWS $T" "https://$OKTA/api/v1/users/$UID/lifecycle/reset_password?sendEmail=true"
curl -X POST -H "Authorization: SSWS $T" "https://$OKTA/api/v1/users/$UID/lifecycle/reset_factors"
curl -X DELETE -H "Authorization: SSWS $T" "https://$OKTA/api/v1/users/$UID/sessions"

MFA recovery flow: Verify identity via video call, generate backup codes or reset factors, have user re-enroll immediately, confirm old device is deregistered, log the incident.


Network Troubleshooting

Wi-Fi Debugging

# macOS
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I
networksetup -setairportpower en0 off && sleep 2 && networksetup -setairportpower en0 on
sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder

# Linux
nmcli device wifi list && nmcli connection show --active
nmcli device disconnect wlan0 && nmcli device connect wlan0
sudo systemd-resolve --flush-caches
netsh wlan show interfaces
netsh wlan disconnect; netsh wlan connect name="OfficeWiFi"
ipconfig /flushdns
netsh winsock reset  # full stack reset, reboot after

DNS Issues

nslookup company.com 8.8.8.8            # test against known-good DNS
dig @1.1.1.1 company.com                # Linux/macOS detail
sudo networksetup -setdnsservers Wi-Fi 8.8.8.8 8.8.4.4  # macOS temp override
$a = Get-NetAdapter | Where-Object {$_.Status -eq "Up"}
Set-DnsClientServerAddress -InterfaceIndex $a.ifIndex -ServerAddresses ("8.8.8.8","8.8.4.4")

VPN Not Connecting

nc -zv vpn.company.com 443                         # test port reachability
sudo wg show                                        # WireGuard status
sudo wg-quick down wg0 && sudo wg-quick up wg0     # restart WireGuard
tailscale status && sudo tailscale up --reset       # Tailscale re-auth

Slow Internet

speedtest-cli --simple        # bandwidth test (pip install speedtest-cli)
ping -c 50 8.8.8.8            # packet loss check
networkQuality -s              # macOS 12+ bufferbloat test

Laptop Performance

Disk Space

df -h                                    # volume overview
du -sh ~/* | sort -rh | head -15         # biggest dirs in home
docker system df                         # Docker disk usage (common culprit)
docker system prune -a --volumes         # reclaim Docker space
brew cleanup --prune=all                 # macOS Homebrew cleanup
Get-PSDrive -PSProvider FileSystem | Select Name,@{N='Free(GB)';E={[math]::Round($_.Free/1GB,2)}}
Get-ChildItem C:\ -Recurse -File -EA SilentlyContinue | Sort Length -Desc | Select -First 15 FullName,@{N='MB';E={[math]::Round($_.Length/1MB,2)}}

Memory Pressure and Runaway Processes

# macOS
memory_pressure
top -o rsize -l 1 -n 10 -stats pid,command,rsize
pkill -f "Google Chrome Helper"

# Linux

…
常见问题

什么是“GAM”?

GAM 是一个工具,让你可以通过命令来管理 Google Workspace 账户(例如 Gmail 和 Drive)。

“重置密码”是什么意思?

指为忘记密码或被锁定的用户设置一个新的临时密码。

什么是“Wi-Fi”?

Wi-Fi 是一种无线技术,让电脑和其他设备无需连线就能接入互联网。

详情

作者的原始描述

Practical IT troubleshooting playbooks for small teams without dedicated IT staff.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5863
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能