dokploy
Inspect and manage Dokploy deployments through its API with explicit confirmation for mutations.
SKILL.mdskills/development/dokploy/SKILL.md
GitHubDokploy
Purpose
Drive a Dokploy instance (self-hosted PaaS) through its REST API: list, create, update, deploy, and roll back projects, applications, and domains. The skill is careful to surface every destructive operation and never assume a default environment.
When to Use
- The user wants to deploy, redeploy, or roll back a service
- A new project / application / domain needs to be created
- Status of one or more Dokploy services is needed
When NOT to Use
- The user has no Dokploy instance or no API token
- The action is to delete a service (require explicit
--destroyconfirmation) - The user wants a UI walkthrough (route to the Dokploy web UI)
Capabilities
- List, view, create, update, and delete projects
- List, view, create, update, redeploy, and stop applications
- Manage domains (add, remove, verify DNS)
- Pull and inspect deployment logs
- Trigger a redeploy of a specific commit / image tag
- Roll back to the previous deployment
Inputs
--base-url https://dokploy.example.com(required)--api-token <token>(required; or envDOKPLOY_API_TOKEN)- subcommand + args (e.g.
app list --project myproj)
Workflow
- Resolve credentials —
--api-tokenflag orDOKPLOY_API_TOKENenv. - Resolve base URL —
--base-urlflag orDOKPLOY_URLenv. - Pre-flight:
GET /api/health(Dokploy 0.1+). On failure, abort. - Build the request: method, path, JSON body, headers (
x-api-key,Content-Type). - Send the request with a 30 s timeout (60 s for deploys).
- Format the response for chat — table for lists, JSON for detail.
- For
deploy/redeploy: pollGET /api/application.deploymentsuntil status isdoneorerror, with a 5-min ceiling.
Tools
optional:DOKPLOY_API_KEY
Examples
User: "Redeploy web in the marketing project."
Response: POST /api/application.redeploy with { applicationId: "…" }. Will
poll until done.
User: "Add app.example.com to the api app."
Response: POST /api/domain.create with { applicationId, host: "app.example.com", … }.
Safety
- Always confirm before: delete, rebuild (image reset), environment-variable change
- Never print the API token back to chat
- Default to
dry-runfor any mutating call; pass--applyto execute - Cap concurrent deploys at 3; queue the rest
Source
Auto-generated from openclawskills.net description.
Notes
Maintained as part of canonical development category.