Awesome-omni-skill managing-traefik
Manages Traefik reverse proxy for local development. Use when routing domains to local services, configuring CORS, checking service health, or debugging connectivity issues.
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data-ai/managing-traefik" ~/.claude/skills/diegosouzapw-awesome-omni-skill-managing-traefik && rm -rf "$T"
manifest:
skills/data-ai/managing-traefik/SKILL.mdsource content
Traefik Hub MCP
Local development reverse proxy management.
Quick Start
Generate Docker labels for a new service?
generate_labels name="myapp" domain="myapp.localhost" port=3000
Returns docker-compose label configuration to copy into your project.
Something not working?
doctor
Comprehensive health check with actionable tips.
Tool Categories
Project Setup
| Tool | Use When |
|---|---|
| Creating docker-compose labels for Docker services |
CORS Management
| Tool | Use When |
|---|---|
| Checking current allowed origins |
| Adding/removing CORS origins |
Health & Debugging
| Tool | Use When |
|---|---|
| First step for any problem (comprehensive check) |
| Testing if specific domain responds |
| Verifying MCP configuration |
Inspection
| Tool | Use When |
|---|---|
| Seeing all configured routes |
| Seeing all backend services |
| Seeing available middlewares |
| Getting details of specific route |
Stack Control
| Tool | Use When |
|---|---|
| First time setup (creates network + starts Traefik) |
| Starting stopped Traefik |
| Stopping Traefik |
| Creating traefik-public network only |
Common Workflows
New Project Setup
1. generate_labels name="myapp" domain="myapp.localhost" port=3000 2. update_cors add=["http://myapp.localhost"]
Add the generated labels to your project's docker-compose.yml, then update CORS if needed.
Debug Service Not Reachable
1. doctor # Check all components 2. check_health domain="X.localhost" # Test specific domain 3. list_routers # Verify route exists 4. container_logs name="traefik" # Check Traefik logs
Add CORS Origin
1. get_cors # See current origins 2. update_cors add=["http://newapp.localhost"]
Generate Docker Labels
generate_labels name="myapp" domain="myapp.localhost" port=3000
Returns docker-compose label configuration to copy into your project.
Decision Guide
| Situation | Tool |
|---|---|
| First time ever | |
| New Docker service | |
| CORS errors | → |
| Service unreachable | |
| Check specific domain | |
Available Middlewares
Reference with
@file suffix (e.g., cors-dev@file):
- CORS headers for local developmentcors-dev
- Security headerssecure-headers
- Rate limiting (100 req/s)rate-limit
- Stripstrip-api-prefix
prefix from path/api