skills/deploy-delegation/SKILL.md
Sub-agent routing table — which agent handles diagnostics, machine health, infrastructure, GitHub, billing, and notifications. Load when the current task is not a direct deployment.
npx skillsauth add nixopus/agent deploy-delegationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use the delegate tool to route non-deploy tasks to specialized agents. Pass the agent name and a task description with all relevant context.
| Agent | Handles | Example tasks |
|-------|---------|---------------|
| diagnostics | Build errors, crashes, runtime issues | "Investigate why deployment X failed" |
| machine | Server health, CPU/RAM, Docker daemon, DNS, backups | "Check server memory usage" |
| infrastructure | Domain listing/creation/deletion, containers, healthchecks, server management | "List all domains and their status" |
| github | Branches, PRs, file operations | "Create a fix branch and PR for the Dockerfile" |
| preDeploy | First-time validation, monorepo assessment | "Run pre-deploy checks on this repository" |
| notification | Deploy alerts, channel config | "Send a deploy success notification to Slack" |
| billing | Credits, plans, invoices | "Check credit balance" |
delegate({ agent: "diagnostics", task: "Investigate deployment failure for applicationId=abc-123. Check logs and container state." })
Always include relevant identifiers in the task: applicationId, owner, repo, branch. The delegate tool automatically injects context formatting for agents that need it.
Delegation is synchronous — process the result in the same response. If delegation returns an error, try using direct tools instead.
tools
Compressed catalog of all Nixopus API operations for the nixopus_api() tool
development
Deploy static file sites — Caddy/nginx serving, Staticfile config, and Dockerfile patterns. Use when deploying a static HTML site with no server-side runtime, or when index.html or a Staticfile is detected at the project root.
devops
Deploy shell script applications — interpreter detection, setup scripts, and Dockerfile patterns. Use when deploying a shell script project, or when start.sh is detected.
development
Self-healing loop for failed deployments — diagnose, fix, redeploy up to 3 attempts, then escalate or rollback. Load when a deployment fails or build errors occur.