/opnsense-mgmt:opnsense-maintenancefrom opnsense-mgmt
Use when the user wants to debug their local network, inspect firewall rules, or perform maintenance on their OPNsense router via SSH or the OPNsense API. Reads connection details from `$CLAUDE_USER_DATA/opnsense-mgmt/config.json` (populated by the `onboard` skill in this plugin). Triggers on phrases like "opnsense maintenance", "check opnsense", "debug the network", "firewall rules".
Ships in opnsense-mgmt. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Inspect and maintain an OPNsense router/firewall. All host- and credential-specific values come from the plugin's config — never hard-code them.
Resolve the plugin data directory (${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/opnsense-mgmt/) and load config.json. If it doesn't exist or is incomplete, tell the user to run the onboard skill first and stop.
Available fields after load:
host, ssh_user, ssh_port, ssh_key_pathweb_urlapi.enabled, api.key_ref, api.secret_refssh ${SSH_KEY_PATH:+-i "$SSH_KEY_PATH"} -p "$SSH_PORT" "$SSH_USER@$HOST"
api.enabled is true): resolve the key/secret from their *_ref pointer at runtime — 1Password item, env var, or file path. Do not log the secret./var/log/)Useful one-liners (run via SSH):
# Interface status
ifconfig
# Active DHCP leases
cat /var/dhcpd/var/db/dhcpd.leases
# Firewall log tail
clog -f /var/log/filter.log | head -50
# Configuration dump
cat /conf/config.xml | head -200
api.enabled)Base URL: <web_url>/api/<module>/<controller>/<command>. Authenticate with --user "$API_KEY:$API_SECRET".
curl -k --user "$API_KEY:$API_SECRET" \
"$WEB_URL/api/firewall/filter/get"
Common endpoints:
| Module | Path | Purpose |
|---|---|---|
core/firmware | /status | Firmware/update status |
firewall/filter | /get | Pull current rule set |
firewall/alias | /searchItem | List aliases |
interfaces/overview | /interfacesInfo | Interface state |
diagnostics/interface | /getArp | ARP table |
ssh_user isn't root, escalate via sudo rather than reconnecting as root.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
2 skills in this plugin
opnsense-mgmt@canopy-recommended is listed by danielrosehill/canopy-recommended — review the source before installing
npx claudepluginhub danielrosehill/canopy-recommended --plugin opnsense-mgmt