From hp5200-printer
Auto-discover the HP DeskJet 5200 on the local network using ARP scan and IPP probing. Updates the printer config with the discovered IP. Run this on first use or if the printer IP has changed.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hp5200-printer:find-printerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Discover the HP DeskJet 5200 on the local network and update `context/printer-config.md` with the correct IP.
Discover the HP DeskJet 5200 on the local network and update context/printer-config.md with the correct IP.
context/printer-config.md for the current IP.ipptool against the configured IP. If it responds, confirm and stop.# Get the local subnet
ip route | grep -oP 'src \K[\d.]+' | head -1
# ARP scan (prefer arp-scan if available, fall back to nmap -sn)
sudo arp-scan --localnet 2>/dev/null || nmap -sn 192.168.1.0/24 2>/dev/null || arp -a
00:1A:1E, 3C:D9:2B, 58:20:B1, 6C:C2:17, 80:CE:62, C8:D9:D2, D4:61:DA, F4:39:09) or hostnames containing HP or DeskJet.ipptool -tv ipp://CANDIDATE_IP:631/ipp/print /tmp/hp5200-probe.test 2>&1 | grep -i "DeskJet"
The IPP test file:
{
OPERATION Get-Printer-Attributes
GROUP operation-attributes-tag
ATTR charset attributes-charset utf-8
ATTR naturalLanguage attributes-natural-language en
ATTR uri printer-uri $uri
ATTR keyword requested-attributes printer-make-and-model
}
context/printer-config.md with the new IP and IPP URI.lpadmin -p HP-DeskJet-5200 -v ipp://NEW_IP:631/ipp/print -E
Report the discovered IP, confirm CUPS is updated, and print a one-line summary.
Tell the user:
context/printer-config.mdCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin hp5200-printer