host
Installation
SKILL.md
host - Local Host Table Management
The host module provides a safe and efficient way to manage the local /etc/hosts file. It handles sudo permissions, provides automated backups before edits, and supports interactive fuzzy searching.
When to Activate
- When the user wants to add or remove local hostname-to-IP mappings.
- When performing a quick lookup of an IP for a local hostname.
- When searching the hosts file interactively using FZF (
fz). - When viewing the full contents of the hosts file with pagination.
Core Principles & Rules
- Safety: Automatically creates backups before any modification (
edsubcommand). - Interactive Search: Use
fzfor a searchable TUI experience. - Privilege Handling: Clearly indicates that editing requires
sudoaccess.