From portainer-tools
Show port allocations across all Portainer-managed Docker hosts. Use when asked to check ports, port usage, what ports are in use, available ports, or port conflicts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/portainer-tools:portainer-portsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
```text
$ARGUMENTS
Show port allocations across Docker hosts using the Portainer API.
Parse $ARGUMENTS to determine which host(s) to query:
all → omit argument (defaults to all)Run:
python3 $SKILL_DIR/portainer_ports.py $ARGUMENTS
Present the output as a formatted markdown table with columns: Host Port, Container Port, Protocol, Container, State. Group by host with a header for each.
If auth fails, tell the user:
Set
PORTAINER_TOKEN=ptr_...before invoking. Generate one in Portainer: User Settings > Access Tokens.
npx claudepluginhub sinositato/tato-claude-plugins --plugin portainer-toolsManages port allocations for git worktrees in local development to avoid service collisions. Books unique ports for postgres, redis, etc., and supports dynamic docker-compose via env vars.
Docker and Podman container management: Dockerfile optimization, multi-stage builds, Compose v2 orchestration, networking, volumes, security hardening, supply chain integrity, health checks, resource limits, Quadlet systemd integration, and debugging. Invoke whenever task involves any interaction with containers — writing Dockerfiles, configuring Compose, managing Podman Quadlets, reviewing container security, debugging container issues, or setting up image signing and scanning.
Provides Docker networking patterns including bridge/host/overlay types, DNS resolution, port mapping, multi-service communication, and PHP-FPM/Nginx TCP/Unix socket setups for PHP stacks.