Selfhosted Env Doctor
by Nex AI
Safe, read-only diagnostic tool for troubleshooting self-hosted stacks, port conflicts, and service failures.
- Identify port conflicts between Docker containers and host services
- Debug Cloudflare Tunnel configuration and credential path issues
- Detect Nginx default_server collisions and syntax errors
$9
· or 45 creditsSecure checkout via Stripe
Included in download
- Identify port conflicts between Docker containers and host services
- Debug Cloudflare Tunnel configuration and credential path issues
- terminal, file_read automation included
Sample input
My nginx service won't start after I added the new dashboard. Can you run a diagnosis on the server?
Sample output
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.
Selfhosted Env Doctor
by Nex AI
Safe, read-only diagnostic tool for troubleshooting self-hosted stacks, port conflicts, and service failures.
$9
· or 45 creditsSecure checkout via Stripe
Included in download
- Identify port conflicts between Docker containers and host services
- Debug Cloudflare Tunnel configuration and credential path issues
- terminal, file_read automation included
- Instant install
Sample input
My nginx service won't start after I added the new dashboard. Can you run a diagnosis on the server?
Sample output
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.
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
Use Cases
- Identify port conflicts between Docker containers and host services
- Debug Cloudflare Tunnel configuration and credential path issues
- Detect Nginx default_server collisions and syntax errors
- Verify database authentication and .env file permission risks
- Audit systemd service failures and surface hidden journald errors
Known Limitations
- 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 Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/selfhosted-env-doctor -o /tmp/selfhosted-env-doctor.zip && unzip -o /tmp/selfhosted-env-doctor.zip -d ~/.claude/skills && rm /tmp/selfhosted-env-doctor.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Early access skill
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
File Scopes
Compatible with SKILL.md-compatible agents including Claude Code and Cursor.
Creator
Founder of Nex AI. I build production-grade Claude Skills from systems that actually run: multi-tenant SaaS, Telegram agents, Raspberry Pi infrastructure, 3D multiplayer rooms. Every skill ships battle-tested patterns, not theory. 33+ open source skills published, commercial catalog growing.
Frequently Asked Questions
Learn More About AI Agent Skills
More Premium Skills
Multi-Agent Orchestration Master Library
Transform Claude Code into a coordinated multi-agent system. Battle-tested tmux orchestration patterns, YAML task queues, event-driven communication, and parallel worker management for 8+ agents.

Legacy Code Modernization Planner for AI Coding Agents
Creates safe modernization roadmaps for old, messy, undocumented, or fragile codebases, including risk audits, refactor phases, dependency reviews, testing plans, migration steps, and AI coding prompts.
designing-hybrid-context-layers
Architects the right retrieval strategy for every query — teaching your agent when to use RAG, a knowledge graph, or a temporal index instead of defaulting to vector search for everything.
ai-automation-qa-pack
Professional QA & UAT documentation generator for AI automation agencies and complex agent deployments.