← 返回 Skills 市场
Dockerfile Builder
作者
BytesAgain2
· GitHub ↗
· v3.0.0
· MIT-0
427
总下载
0
收藏
2
当前安装
11
版本数
在 OpenClaw 中安装
/install dockerfile-builder
功能描述
Generate and lint Dockerfiles for common languages and frameworks. Use when creating container configs.
使用说明 (SKILL.md)
dockerfile-builder
Generate and lint Dockerfiles for common languages and frameworks. Use when creating container configs.
Commands
create
scripts/script.sh create \x3Clanguage>
lint
scripts/script.sh lint \x3Cfile>
optimize
scripts/script.sh optimize \x3Cfile>
template
scripts/script.sh template \x3Ctype>
scan
scripts/script.sh scan \x3Cfile>
list
scripts/script.sh list
Data Storage
Data stored in ~/.local/share/dockerfile-builder/.
Powered by BytesAgain | bytesagain.com | [email protected]
安全使用建议
This skill appears to do what it claims and has no network or credential access. Before installing/using it, be aware that: (1) the script will read any file you ask it to scan/lint — do not point it at sensitive system files or files containing secrets unless you intend to analyze them; (2) the shell script uses unquoted variables and has small bugs (e.g., literal '$2' output), so avoid passing untrusted or specially crafted filenames (filenames with spaces or strange characters) to the commands; and (3) while no external exfiltration is present in the bundle, always audit any future updates or similarly named skills before trusting them.
功能分析
Type: OpenClaw Skill
Name: dockerfile-builder
Version: 3.0.0
The script `scripts/script.sh` contains shell injection vulnerabilities due to unquoted variables being passed directly to commands like `grep` and `awk` (e.g., `grep -n 'latest' $2`). Furthermore, the script has broken argument logic where functions incorrectly reference `$2` instead of `$1` after the command shift in the `main` function, rendering the tool largely non-functional. While there is no evidence of intentional malice or data exfiltration, the lack of input sanitization and poor code quality present a security risk.
能力评估
Purpose & Capability
Name/description match the included script and commands (create, lint, optimize, template, scan, list). No unrelated binaries, env vars, or external services are requested.
Instruction Scope
SKILL.md instructs the agent to run the bundled shell script and to store data under ~/.local/share/dockerfile-builder. The script reads files supplied by the user (lint/scan/optimize) which is expected for a linter/scan tool, but that means it will examine any paths the agent is asked to scan (including files containing secrets) and echo warnings. The script also has minor robustness bugs (unquoted variable usage and a literal '$2' in some echo strings) which can affect how filenames with spaces or special characters are handled.
Install Mechanism
No install spec; this is instruction-only with a bundled script. Nothing is downloaded or extracted from external URLs during install.
Credentials
No environment variables, credentials, or config paths are requested. The single local data directory created (~/.local/share/dockerfile-builder) is proportional to the stated purpose.
Persistence & Privilege
always:false and no modifications to other skills or system-wide settings. The script creates only its own data directory in the user's home directory.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dockerfile-builder - 安装完成后,直接呼叫该 Skill 的名称或使用
/dockerfile-builder触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.0.0
v3.0.0: Complete rewrite with real functionality.
v2.0.1
update
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v2.3.4
retry-fix-token
v2.3.3
old template -> domain-specific v2.0.0
v2.3.2
Quality upgrade: custom functionality
v2.3.1
De-template, unique content, script cleanup
v2.3.0
Quality fixes: removed third-party references, aligned docs with implementation
v2.2.0
Enhanced descriptions for better AI triggering
v2.1.0
Enhanced descriptions for better AI triggering
v1.0.0
Initial release of dockerfile-builder.
- Generate production-ready Dockerfiles for Node.js, Python, Go, Java, and Rust.
- Supports multi-stage builds, security hardening, non-root users, and layer caching optimization.
- Generate language-aware .dockerignore files and docker-compose.yml for multi-service setups.
- Includes commands for optimizing Dockerfiles and adding health checks.
- Follows Docker best practices, including minimal base images and secret management.
元数据
常见问题
Dockerfile Builder 是什么?
Generate and lint Dockerfiles for common languages and frameworks. Use when creating container configs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 427 次。
如何安装 Dockerfile Builder?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dockerfile-builder」即可一键安装,无需额外配置。
Dockerfile Builder 是免费的吗?
是的,Dockerfile Builder 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Dockerfile Builder 支持哪些平台?
Dockerfile Builder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Dockerfile Builder?
由 BytesAgain2(@ckchzh)开发并维护,当前版本 v3.0.0。
推荐 Skills