← 返回 Skills 市场
sunshine-del-ux

Docker Compose Generator

作者 Sunshine-del-ux · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
614
总下载
0
收藏
3
当前安装
2
版本数
在 OpenClaw 中安装
/install docker-compose-generator
功能描述
生成 Docker Compose 配置,支持 MySQL, PostgreSQL, Redis, MongoDB, Elasticsearch 等常用服务。
使用说明 (SKILL.md)

Docker Compose Generator

生成 Docker Compose 配置,快速搭建开发环境。

支持的服务

  • MySQL
  • PostgreSQL
  • Redis
  • MongoDB
  • Elasticsearch
  • RabbitMQ
  • Nginx
  • Node.js

使用方法

docker-compose-generator --db mysql --cache redis
docker-compose-generator full-stack

功能

  • 一键生成 docker-compose.yml
  • 网络配置
  • 数据持久化
  • 环境变量模板
安全使用建议
This skill is internally inconsistent: the documentation promises a flexible generator for many services, but the provided script only outputs a fixed docker-compose.yml for MySQL and Redis and ignores CLI flags. Before using it, review and edit the script — it contains a hardcoded MySQL root password ('root') and exposes host ports (3306, 6379), which are unsafe for production. If you want the advertised functionality, request the author or publisher for the real implementation or modify the script to properly parse arguments and only expose ports/credentials you control. Run it in a disposable directory or sandbox first to avoid overwriting an existing docker-compose.yml. If you need assurance about the publisher, seek a source/homepage or avoid installing until the mismatch is resolved.
功能分析
Type: OpenClaw Skill Name: docker-compose-generator Version: 1.0.1 The `docker-compose-generator.sh` script allows writing to an arbitrary file path specified by the second argument. While the content written (a `docker-compose.yml`) is benign, this arbitrary file write vulnerability could be exploited by an attacker controlling the arguments to overwrite critical system files, leading to denial of service or system disruption. There is no evidence of intentional malicious behavior such as data exfiltration, backdoors, or prompt injection in SKILL.md.
能力评估
Purpose & Capability
The skill claims to support many services (MySQL, PostgreSQL, Redis, MongoDB, Elasticsearch, RabbitMQ, Nginx, Node.js) and flexible CLI flags, but the shipped docker-compose-generator.sh only emits a static compose file containing mysql and redis regardless of arguments. This is a clear mismatch between stated purpose and actual capability.
Instruction Scope
SKILL.md shows example CLI flags and 'full-stack' usage, implying argument parsing and multi-service generation; the runtime file does not implement those behaviors. The script writes a file in the current directory and echoes a success message — it does not read extra files or env vars, but it will overwrite/create docker-compose.yml which is potentially surprising.
Install Mechanism
There is no install spec; the skill is instruction-only with a small shell script included. No downloads or package installs are performed.
Credentials
The skill requests no environment variables, credentials, or config paths. The script contains hardcoded credentials (MYSQL_ROOT_PASSWORD: root) and exposed ports, which are security-relevant but not an overreach in requested privileges.
Persistence & Privilege
Flags show normal behavior (always: false, user-invocable true). The skill does not request persistent platform privileges. Its only side effect is writing a docker-compose.yml and creating a named volume when run; it does not modify other skills or system configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install docker-compose-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /docker-compose-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Updated
v1.0.0
Initial release of Docker Compose Generator. - Generate Docker Compose configurations supporting MySQL, PostgreSQL, Redis, MongoDB, Elasticsearch, RabbitMQ, Nginx, and Node.js. - One-click generation of docker-compose.yml files with network, persistence, and environment variable templates. - Simple CLI usage for quick development environment setup.
元数据
Slug docker-compose-generator
版本 1.0.1
许可证
累计安装 3
当前安装数 3
历史版本数 2
常见问题

Docker Compose Generator 是什么?

生成 Docker Compose 配置,支持 MySQL, PostgreSQL, Redis, MongoDB, Elasticsearch 等常用服务。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 614 次。

如何安装 Docker Compose Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install docker-compose-generator」即可一键安装,无需额外配置。

Docker Compose Generator 是免费的吗?

是的,Docker Compose Generator 完全免费(开源免费),可自由下载、安装和使用。

Docker Compose Generator 支持哪些平台?

Docker Compose Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Docker Compose Generator?

由 Sunshine-del-ux(@sunshine-del-ux)开发并维护,当前版本 v1.0.1。

💬 留言讨论