- Home
- Skills
- DevOps & Cloud
- selfhosted-env-doctor
Works with the AI Agents you already use
Selfhosted Env Doctor
Safe, read-only diagnostic tool for troubleshooting self-hosted stacks, port conflicts, and service failures.
Free
selfhosted-env-doctor
Example session with this skill installed
My nginx service won't start after I added the new dashboard. Can you run a diagnosis on the server?
- Read your context and instructions
- Compiled the selfhosted-env-doctor
Found 1 Critical Issue:
[Nginx] Port Conflict: Port 80 is already bound by 'apache2'.
Fix: Run sudo systemctl stop apache2 && sudo systemctl disable apache2 or change the listen port in /etc/nginx/sites-available/dashboard.
Connects securely to your tools. The creator never sees your data.
About this skill
What it does
Self-Hosted Env Doctor is a non-destructive diagnostic engine designed to identify why local services on Linux stacks (like Raspberry Pi) fail to launch. It systematically scans for port conflicts, misconfigured Nginx blocks, Cloudflare Tunnel errors, and database authentication failures without making any changes to your system.
How it works
The skill performs a comprehensive audit across multiple layers of your infrastructure. It checks systemd unit health, validates Nginx configuration syntax, audits listening sockets against your documentation, and verifies file permissions for sensitive items like .env files. Instead of generic error messages, it provides the specific root cause and the exact command needed to fix the issue manually.
Why use this skill
Manually debugging a broken home lab or production server is time-consuming. This skill automates the "triage" phase by cross-referencing system state with common failure patterns (like port drift or disk space exhaustion). Because it is strictly read-only, it is safe to run on critical systems where you don't want an AI accidentally modifying configuration files or restarting services without supervision.
Supported Tools
- Web: NginX, Cloudflared Tunnels
- System: Systemd, Netstat/SS, df/du
- Database: PostgreSQL
- Security: Linux Permissions, .env audit
- Cannot fix issues automatically (read-only by design).
- Requires Python 3 and local shell access.
- Does not support Docker container internal networking audits.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
5 uses
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 2 months ago
- Free with an Agensi account