Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Manage Nginx Proxy Manager (NPM) hosts, certificates, and access lists. Use when the user wants to add a new domain, point a domain to a server/port, enable SSL, or check the status of proxy hosts.
.claude/skills/sundial-org-npm-proxy/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-21 | ✗→✓ | ▲ Improved | -15% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -27% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -51% | 0% |
| case-22 | ✗→✓ | ▲ Improved | 29% | 0% |
| case-13 | ✓→✗ | ▼ Worse | -1% | 0% |
Manage Nginx Proxy Manager (NPM) via its REST API.
Set the following environment variables:
NPM_URL: The URL of your NPM instance (e.g., https://npm.example.com)NPM_EMAIL: Your NPM admin emailNPM_PASSWORD: Your NPM admin passwordbash# List all proxy hosts python scripts/npm_client.py hosts # Get details for a specific host python scripts/npm_client.py host <host_id> # Enable/Disable a host python scripts/npm_client.py enable <host_id> python scripts/npm_client.py disable <host_id> # Delete a host python scripts/npm_client.py delete <host_id> # List certificates python scripts/npm_client.py certs
To add a new host, use curl directly (the script is currently minimal). Example payload for POST /api/nginx/proxy-hosts:
json{ "domain_names": ["sub.example.com"], "forward_scheme": "http", "forward_host": "192.168.1.10", "forward_port": 8080, "access_list_id": 0, "certificate_id": 0, "ssl_forced": false, "meta": { "letsencrypt_email": "", "letsencrypt_agree": false, "dns_challenge": false }, "advanced_config": "", "locations": [], "block_exploits": true, "caching_enabled": false, "allow_websocket_upgrade": true, "http2_support": true, "hsts_enabled": false, "hsts_subdomains": false }
certs to see if one exists.certificate_id and ssl_forced: true.Other measured skills in the registry, with their headline benchmark lift.