/si-coder:sc-dokployfrom si-coder
CRUD, audit, and debug Dokploy deployments via REST API and SSH. Lists/creates/updates/deletes projects, applications, compose services, and domains. Finds stale domains, duplicate hosts, and orphan swarm services.
Ships in si-coder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this skill when the user wants to inspect, change, or clean up Dokploy state directly (without redeploying code).
DOKPLOY_API_URL, DOKPLOY_API_KEY — Dokploy adminssh -i ~/.ssh/<your_key> <user>@<your-dokploy-host> with passwordless sudo.If missing, route to /sc-onboarding.
When Dokploy access is stored in an SI-Coder named source=sc connection, run credential-dependent commands through sc run -- ... so the selected connection is injected only into that child process:
sc run -- node skills/sc-dokploy/scripts/projects.js list
The shorter node scripts/... examples below describe the script interface and are valid only when the required environment is already supplied by the caller. Do not export Dokploy credentials globally just to use them. External/provider-managed sources must execute through their own connection backend instead of sc run.
Dokploy REST API covers projects, applications, compose, domains, deploy/start/stop, monitoring read. It does NOT cover:
docker service rm (orphan swarm services)rm /etc/dokploy/traefik/dynamic/<file>.yml (orphan Traefik routers)For those, SSH in directly. Useful one-liners:
ssh -i ~/.ssh/<your_key> <user>@<your-dokploy-host> 'sudo -n docker service ls'
ssh -i ~/.ssh/<your_key> <user>@<your-dokploy-host> 'sudo -n ls /etc/dokploy/traefik/dynamic/'
ssh -i ~/.ssh/<your_key> <user>@<your-dokploy-host> 'sudo -n docker service rm <name>'
ssh -i ~/.ssh/<your_key> <user>@<your-dokploy-host> 'sudo -n rm /etc/dokploy/traefik/dynamic/<name>.yml' # Traefik file watcher reloads in ~5-10s
Orphan-service pattern: when a Dokploy app is recreated, the old swarm service and its Traefik dynamic config can survive deletion. Both compete for the same Host(...) rule. Symptom: prod serves an old image even after a fresh deploy. Diagnosis: docker service ls shows two services for the same project, and two .yml files in traefik/dynamic/ bind the same domain. Fix: remove the orphan file + service.
audit.js's selectDomainsToDelete — keep the desired canonical host, drop *.traefik.me and duplicates.DOKPLOY_API_URL is the control plane. Never rewrite it inside scripts — read it from env.x-api-key header, not Bearer: Dokploy uses x-api-key, NOT Authorization: Bearer.Prefer the repository's release function over generic deploy calls. Inspect Dokploy source mode: Git and drop-source releases have different contracts. For drop source, Git push alone does not update the source directory. Publish a clean archive of the verified commit, preserve server-managed env, project the revision metadata and queue one rollout. Serialize concurrent agent deployments. Require terminal rollout status and live health matching that commit. Follow the main sc delivery workflow for domain/auth/email and CI/CD acceptance.
projects.js — Project CRUDnode scripts/projects.js list
node scripts/projects.js create <name>
node scripts/projects.js show <name>
apps.js — Application CRUDnode scripts/apps.js list --project <name>
node scripts/apps.js show --project <name> --app <name>
node scripts/apps.js deploy --project <name> --app <name>
compose.js — Compose service CRUDnode scripts/compose.js list --project <name>
node scripts/compose.js show --compose <composeName>
node scripts/compose.js env --compose <composeName>
node scripts/compose.js deploy --compose <composeName>
domains.js — Domain CRUDnode scripts/domains.js list-app --app-id <id>
node scripts/domains.js list-compose --compose-id <id>
node scripts/domains.js create-app --app-id <id> --host <host> [--port N]
node scripts/domains.js create-compose --compose-id <id> --host <host> --port <n> --service <name>
node scripts/domains.js delete --domain-id <id>
audit.js — SweepReports across all projects:
*.traefik.me placeholder hosts that should be removednode scripts/audit.js [--fix] # --fix removes stale domains
debug.js — Status & recent deploymentsnode scripts/debug.js status --project <name> --app <name>
node scripts/debug.js status --compose <composeName>
node scripts/debug.js deployments --app-id <id>
| Action | Endpoint | Method |
|---|---|---|
| List projects | /project.all | GET |
| Create project | /project.create | POST { name } |
| Get application | /application.one?applicationId= | GET |
| Update application | /application.update | POST |
| Deploy application | /application.deploy | POST { applicationId } |
| Get compose | /compose.one?composeId= | GET |
| Update compose | /compose.update | POST |
| Deploy compose | /compose.deploy | POST { composeId } |
| Deploy compose template | /compose.deployTemplate | POST { environmentId, id } |
| Create domain | /domain.create | POST |
| Delete domain | /domain.delete | POST { domainId } |
| List GitHub providers | /github.githubProviders | GET |
| Save app GH provider | /application.saveGithubProvider | POST |
Auth: x-api-key: <DOKPLOY_API_KEY>.
Dokploy build logs are NOT exposed over the REST API (as of this skill's last update). On deployment failure, point the user at the Dokploy dashboard:
<DOKPLOY_API_URL without /api> → project → service → Deployments
For a port-exposed managed service or webapp that can run without DNS, domain configuration is an enhancement, not an install dependency:
http://<public-ip>:<port> as the fallback.What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (rahmanef63/si-coder-agent) — no native marketplace selected
npx claudepluginhub p/rahmanef63-si-coder27 skills in this plugin
/scMain SI-Coder entry point for non-technical users. Turn a plain-language idea or existing web app into a working product, improve frontend quality across UI/UX/DX/AX, and publish it. Route automatically while keeping technical details optional./sc-allTurn a plain-language web-app goal into a working live app. Designed for non-technical users: choose architecture and hosting automatically, connect accounts safely, create/publish code, data, domain and verification end-to-end, delegate user-facing frontend quality to sc-fe, and expose technical details only when needed or requested./sc-axSI-Coder Agent Experience (AX) skill. Make projects, tools, workflows, and frontend actions easy for coding agents to discover, understand, invoke correctly, observe, recover, resume, and verify with low context/token waste.Other plugins' skills for the same job