← 返回 Skills 市场
325
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dokploy-v2
功能描述
Manage Dokploy deployments, projects, applications, and domains via the Dokploy API.
使用说明 (SKILL.md)
Dokploy Skill
Interact with Dokploy's API to manage projects, applications, domains, and deployments.
Prerequisites
- Dokploy instance running with API access
- API Key generated from
/settings/profile→ "API/CLI Section" - Set the
DOKPLOY_API_URLenvironment variable (default:http://localhost:3000)
Configuration
Set these environment variables or use the config command:
# Dokploy instance URL
export DOKPLOY_API_URL="https://your-dokploy-instance.com"
# Your API token
export DOKPLOY_API_KEY="your-generated-api-key"
# Or run the config command
dokploy-config set --url "https://your-dokploy-instance.com" --key "your-api-key"
Projects
List all projects
dokploy-project list
Get project details
dokploy-project get \x3Cproject-id>
Create a new project
dokploy-project create --name "My Project" --description "Description here"
Update a project
dokploy-project update \x3Cproject-id> --name "New Name" --description "Updated"
Delete a project
dokploy-project delete \x3Cproject-id>
List environments in a project
dokploy-project envs \x3Cproject-id>
Applications
List applications in a project
dokploy-app list --project \x3Cproject-id>
Get application details
dokploy-app get \x3Capplication-id>
Create an application
dokploy-app create \
--environment-id \x3Cenvironment-id> \
--name "my-app" \
--type "docker" \
--image "nginx:latest"
Application types: docker, git, compose
Trigger deployment
dokploy-app deploy \x3Capplication-id>
Get deployment logs
dokploy-app logs \x3Capplication-id> --deployment \x3Cdeployment-id>
List deployments
dokploy-app deployments \x3Capplication-id>
Update application
dokploy-app update \x3Capplication-id> --name "new-name" --env "KEY=VALUE"
Delete an application
dokploy-app delete \x3Capplication-id>
Domains
List domains for an application
dokploy-domain list --app \x3Capplication-id>
Get domain details
dokploy-domain get \x3Cdomain-id>
Add a domain to an application
dokploy-domain create \
--app \x3Capplication-id> \
--host "app.example.com" \
--path "/" \
--port 80
Update a domain
dokploy-domain update \x3Cdomain-id> --host "new.example.com"
Delete a domain
dokploy-domain delete \x3Cdomain-id>
Environment Variables
List environment variables for an application
dokploy-app env list \x3Capplication-id>
Set environment variable
dokploy-app env set \x3Capplication-id> --key "DATABASE_URL" --value "postgres://..."
Delete environment variable
dokploy-app env delete \x3Capplication-id> --key "DATABASE_URL"
Utility Commands
Check API connection
dokploy-status
View current config
dokploy-config show
API Reference
Base URL: $DOKPLOY_API_URL/api
| Endpoint | Method | Description |
|---|---|---|
/project.all |
GET | List all projects |
/project.create |
POST | Create project |
/project.one |
GET | Get project by ID |
/project.update |
POST | Update project |
/project.remove |
POST | Delete project |
/application.search |
GET | List applications |
/application.create |
POST | Create application |
/application.one |
GET | Get application by ID |
/application.update |
POST | Update application |
/application.delete |
POST | Delete application |
/application.deploy |
POST | Trigger deployment |
/deployment.all |
GET | List deployments |
/deployment.byId |
GET | Get deployment by ID |
/deployment.logs |
GET | Get deployment logs |
/domain.all |
GET | List domains |
/domain.create |
POST | Create domain |
/domain.update |
PATCH | Update domain |
/domain.delete |
DELETE | Delete domain |
Notes
- All API calls require the
x-api-keyheader - Use
jqfor JSON parsing in scripts - Some operations require admin permissions
- Deployment is asynchronous — use status endpoint to check progress
- Note: Currently, Dokploy only provides a REST API for Deployment Logs. Real-time Application Runtime Logs (container logs) are only available via WebSocket and cannot be accessed through this CLI skill.
安全使用建议
The scripts appear to do what the description says, but the published metadata omitted key requirements. Before installing: 1) Verify you have curl and jq installed. 2) Only provide DOKPLOY_API_KEY to trusted Dokploy instances (DOKPLOY_API_URL) because the CLI will send that key to whatever URL you set. 3) Be aware the skill will write ~/.dokployrc containing your API URL and key in plain text — if you prefer, avoid using dokploy-config set and instead export env vars per session. 4) If the registry page doesn't list required env vars or binaries, ask the publisher to fix metadata or inspect the scripts yourself (they are included) to confirm no unexpected behavior. If you cannot verify the upstream source of this skill, consider withholding the API key or running the scripts in an isolated environment first.
功能分析
Type: OpenClaw Skill
Name: dokploy-v2
Version: 1.0.1
The skill bundle provides a functional CLI wrapper for the Dokploy API, allowing management of projects, applications, and domains. The scripts (dokploy.sh, dokploy-app.sh, etc.) use standard tools like curl and jq to interact with the specified Dokploy instance and store configuration locally in ~/.dokployrc. No evidence of malicious intent, data exfiltration, or prompt injection was found.
能力评估
Purpose & Capability
The code (bash CLI scripts) implements project, app, domain, and deployment management against a Dokploy REST API — this matches the skill name/description. The scripts use curl/jq to call endpoints documented in SKILL.md and perform expected actions.
Instruction Scope
SKILL.md and the scripts only instruct the agent/user to call the Dokploy API, read/write a single config file (~/.dokployrc), and use curl/jq. They do not attempt to read unrelated system secrets or post data to unexpected external services beyond the configured DOKPLOY_API_URL.
Install Mechanism
There is no install spec or remote download. The skill is instruction-only with bundled shell scripts. No external archives, package installs, or URL downloads are performed during install.
Credentials
Registry metadata at the top claims no required env vars or binaries, but .clawdhub/package.json and SKILL.md/scripts require DOKPLOY_API_URL, DOKPLOY_API_KEY and binaries curl and jq. This mismatch is an incoherence: the scripts will fail or prompt for secrets if those env vars/binaries are not present, and the registry did not advertise that requirement.
Persistence & Privilege
The skill does not request elevated privileges or 'always' inclusion. It does write a per-user config file (~/.dokployrc) to store the API URL and key, which is reasonable for a CLI but worth noting because it persists an API key in the user's home directory (in plain text).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dokploy-v2 - 安装完成后,直接呼叫该 Skill 的名称或使用
/dokploy-v2触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
本技能仅兼容 Dokploy v0.28 及以上版本
元数据
常见问题
Dokploy 是什么?
Manage Dokploy deployments, projects, applications, and domains via the Dokploy API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 325 次。
如何安装 Dokploy?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dokploy-v2」即可一键安装,无需额外配置。
Dokploy 是免费的吗?
是的,Dokploy 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Dokploy 支持哪些平台?
Dokploy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Dokploy?
由 米空格(@laoshu133)开发并维护,当前版本 v1.0.1。
推荐 Skills