nginx-config-creatorCreates a standard Nginx/OpenResty reverse proxy config file for a service and reloads the web server. Features safety checks and environment awareness. Takes service name, domain, and port as main arguments.
Install via ClawdBot CLI:
clawdbot install xieyuanqing/nginx-config-creatorThis skill automates the creation of Nginx/OpenResty reverse proxy configurations. It is designed for both ease of use and safety, incorporating environment awareness and a critical safety-check mechanism.
For maximum convenience, it is recommended to set the following environment variables on the host system:
NGINX_CONFIG_PATH: The absolute path to the Nginx conf.d directory.NGINX_CONTAINER_NAME: The name of the running Nginx/OpenResty Docker container.If these are not set, they must be provided as command-line arguments.
scripts/create-and-reload.shThis script performs the entire operation.
--service-name: (Required) The short name for the service (e.g., grafana).--domain: (Required) The root domain name (e.g., example.com).--port: (Required) The local port the service is running on (e.g., 3000).--config-path: (Optional) The path to Nginx's conf.d directory. Overrides the NGINX_CONFIG_PATH environment variable.--container-name: (Optional) The name of the Nginx Docker container. Overrides the NGINX_CONTAINER_NAME environment variable.nginx -t is displayed..conf file in the target directory.nginx -t inside the specified container.nginx -s reload.Scenario 1: Environment variables are pre-set
# Set for future convenience
export NGINX_CONFIG_PATH="/path/to/your/nginx/conf.d"
export NGINX_CONTAINER_NAME="your_nginx_container"
# Now, the command is very simple:
bash skills/nginx-config-creator/scripts/create-and-reload.sh \
--service-name "grafana" \
--domain "example.com" \
--port "3000"
Scenario 2: No environment variables (providing all info via arguments)
bash skills/nginx-config-creator/scripts/create-and-reload.sh \
--service-name "grafana" \
--domain "example.com" \
--port "3000" \
--config-path "/path/to/your/nginx/conf.d" \
--container-name "your_nginx_container"
nginx -t Fails: The skill is designed to be safe. It will not attempt to reload a broken configuration. It will clean up after itself and show you the exact error, ensuring the live web server is never affected.Generated Mar 1, 2026
A DevOps team needs to quickly set up reverse proxy configurations for internal monitoring services like Grafana or Prometheus on a staging server. This skill automates the process, ensuring safety with rollback on config errors, reducing manual errors and downtime during deployments.
An e-commerce company uses microservices architecture and needs to add new services, such as a payment gateway or inventory management, behind an Nginx reverse proxy. The skill streamlines config creation and reloading, enabling rapid scaling without risking web server availability.
A university IT department manages multiple web applications for students and faculty, like learning management systems or research portals. This skill helps automate Nginx config updates for new apps, ensuring reliable access and minimizing IT overhead with its safety checks.
A healthcare organization deploys secure patient portals and telehealth services that require reverse proxy setups for load balancing and SSL termination. The skill's environment awareness and safety mechanisms aid in maintaining compliance and uptime during config changes.
Integrate this skill into a cloud-based DevOps platform offering automated infrastructure management. Charge customers a subscription fee based on usage tiers, providing value through reduced operational costs and improved deployment reliability.
Offer consulting and implementation services to businesses looking to automate their web server configurations. Use this skill as a core tool in service packages, generating revenue through project-based fees and ongoing support contracts.
Release the skill as open source to build a community and attract users. Monetize by offering premium support, customizations, and enterprise features like advanced monitoring or integration with other tools, creating a revenue stream from larger organizations.
π¬ Integration Tip
Set environment variables like NGINX_CONFIG_PATH and NGINX_CONTAINER_NAME in your CI/CD pipeline to simplify commands and ensure consistency across deployments.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.