homelab-network-readiness
Skill này làm gì
Agent này giúp bạn lên kế hoạch và rà soát các thay đổi trên mạng gia đình. Nó kiểm tra xem bạn đã sẵn sàng chia mạng thành các “vùng” (ví dụ một vùng cho khách và một vùng cho thiết bị thông minh), cài đặt trình chặn quảng cáo cục bộ (như Pi-hole), hoặc thêm truy cập từ xa an toàn khi bạn đi vắng hay chưa.
Khi nào nên dùng
- ✓Trước khi chia mạng hiện tại thành các mạng nhỏ hơn (VLAN).
- ✓Khi dự định dùng trình chặn quảng cáo (Pi-hole) cho mọi thiết bị.
- ✓Khi bạn muốn truy cập mạng gia đình một cách an toàn từ bất cứ đâu.
Liên kết skill
https://github.com/affaan-m/ECC/blob/main/skills/homelab-network-readiness/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi đang nghĩ đến việc chia mạng cho khách và thiết bị nhà thông minh. Tôi cần kiểm tra điều gì trước khi bắt đầu?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent hỏi về mạng hiện tại (bộ định tuyến, Wi-Fi, v.v.) và kế hoạch của bạn. Dựa trên câu trả lời, nó chỉ ra các rủi ro và đề xuất một kế hoạch từng bước để thay đổi an toàn, đảm bảo bạn không mất quyền truy cập vào chính mạng của mình.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Homelab Network Readiness
Use this skill before changing a home or small-lab network that mixes VLANs, Pi-hole or another local DNS resolver, firewall rules, and remote VPN access.
This is a planning and review skill. Do not turn it into copy-paste router, firewall, or VPN configuration unless the target platform, current topology, rollback path, console access, and maintenance window are all known.
When to Use
- Preparing to split a flat network into trusted, IoT, guest, server, or management VLANs.
- Moving DHCP clients to Pi-hole, AdGuard Home, Unbound, or another local DNS resolver.
- Adding WireGuard, Tailscale, ZeroTier, OpenVPN, or router-native VPN access.
- Reviewing whether a homelab change can lock the operator out of the gateway, switch, access point, DNS server, or VPN server.
- Turning an informal home-network idea into a staged migration plan with validation evidence.
Safety Rules
- Keep the first answer read-only: inventory, risks, staged plan, validation, and rollback.
- Do not expose gateway admin panels, DNS resolvers, SSH, NAS consoles, or VPN management UIs directly to the public internet.
- Do not provide firewall, NAT, VLAN, DHCP, or VPN commands without a confirmed platform and a rollback procedure.
- Require out-of-band or same-room console access before changing management VLANs, trunk ports, firewall default policies, or DHCP/DNS settings.
- Keep a working path back to the internet before pointing the whole network at a new DNS resolver or VPN route.
- Treat IoT, guest, camera, and lab-server networks as different trust zones until the operator explicitly chooses otherwise.
Required Inventory
Collect this before giving implementation steps:
| Area | Questions |
|---|---|
| Internet edge | What is the modem or ONT? Is the ISP router bridged or still routing? |
| Gateway | What routes, firewalls, handles DHCP, and terminates VPNs? |
| Switching | Which switch ports are uplinks, access ports, trunks, or unmanaged? |
| Wi-Fi | Which SSIDs map to which networks, and are APs wired or mesh? |
| Addressing | What subnets exist today, and which ranges conflict with VPN sites? |
| DNS/DHCP | Which service currently hands out leases and resolver addresses? |
| Management | How will the operator reach the gateway, switch, and AP after changes? |
| Recovery | What can be reverted locally if DNS, DHCP, VLANs, or VPN routes break? |
VLAN And Trust-Zone Plan
Start with intent rather than vendor syntax.
| Zone | Typical contents | Default policy |
|---|---|---|
| Trusted | Laptops, phones, admin workstations | Can reach shared services and management only when needed |
| Servers | NAS, Home Assistant, lab hosts, DNS resolver | Accepts narrow inbound flows from trusted clients |
| IoT | TVs, smart plugs, cameras, speakers | Internet access plus explicit exceptions only |
| Guest | Visitor devices | Internet-only, no LAN reachability |
| Management | Gateway, switches, APs, controllers | Reachable only from trusted admin devices |
| VPN | Remote clients | Same or narrower access than trusted clients |
Before recommending VLAN IDs or subnets, confirm:
- The gateway supports inter-VLAN routing and firewall rules.
- The switch supports the required tagged and untagged port behavior.
- The APs can map SSIDs to VLANs.
- The operator knows which port they are connected through during the change.
- The management network remains reachable after trunk and SSID changes.
DNS Filtering Readiness
Pi-hole or another local resolver should be introduced as a dependency, not as a single point of failure.
- Give the resolver a reserved address before using it in DHCP options.
- Confirm it can resolve public DNS and local
home.arpanames. - Keep the gateway or a second resolver available as a temporary fallback.
- Test one client or one VLAN before changing every DHCP scope.
- Document which networks may bypass filtering and why.
- Check that blocking rules do not break captive portals, work VPNs, firmware updates, or medical/security devices.
Useful validation evidence:
Client gets expected DHCP lease
Client receives expected DNS resolver
Public DNS lookup succeeds
Local home.arpa lookup succeeds
Blocked test domain is blocked only where intended
Gateway and DNS admin interfaces are not reachable from guest or IoT networks
Remote Access Readiness
For WireGuard-style access, decide what the VPN is allowed to reach before
…
Câu hỏi thường gặp
Tại sao không nên để giao diện quản trị lộ ra internet?
Việc để giao diện quản trị (như bộ định tuyến hoặc Pi-hole) lộ trực tiếp ra internet khiến chúng dễ bị tin tặc tấn công, họ có thể đánh cắp thông tin hoặc điều khiển mạng của bạn.
“Out-of-band access” là gì?
Đó là cách truy cập mạng không phụ thuộc vào chính mạng đó khi bị thay đổi. Ví dụ, cắm một dây cáp trực tiếp vào máy tính để truy cập bộ định tuyến khi Wi-Fi ngừng hoạt động sau một thay đổi.
“Trust zone” là gì?
Đó là một nhóm thiết bị trên mạng có mức bảo mật tương tự nhau. Ví dụ, máy tính và điện thoại có thể nằm trong vùng “đáng tin cậy”, trong khi các thiết bị IoT (như camera và đèn thông minh) nằm trong vùng “ít tin cậy hơn” để hạn chế thiệt hại nếu chúng bị xâm nhập.
Chi tiết
Mô tả gốc của tác giả
Readiness checklist for homelab VLAN segmentation, local DNS filtering (Pi-hole, AdGuard Home), and WireGuard-style remote access. Use when planning or reviewing home network changes — splitting a flat network into trusted, IoT, guest, or management VLANs, moving DHCP to a local resolver, or adding VPN access — before changing router, firewall, DHCP, or VPN configuration.
repo: affaan-m/ECC
Độ phổ biến
- Sao GitHub
- 280k
- Vị trí xếp hạng
- #331
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
accessibility
280kGiúp agent của bạn tạo giao diện mà ai cũng dùng được, đảm bảo website và app hoạt động tốt với người khuyết tật như người mù hoặc khó vận động.
agent-architecture-audit
280kGiúp agent của bạn kiểm tra xem mọi thứ có hoạt động đúng không, đồng thời tìm và sửa các lỗi trong hệ thống AI để chúng chạy như mong đợi.
agent-eval
280kGiúp agent của bạn so sánh các công cụ lập trình AI khác nhau, đo xem công cụ nào nhanh hơn, rẻ hơn và đáng tin cậy hơn cho từng tác vụ.
agent-harness-construction
280kGiúp agent của bạn hiểu rõ hơn cách thực hiện tác vụ, tối ưu các công cụ và chỉ dẫn mà agent dùng để tăng khả năng thành công.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.