← Back to Skills Marketplace
ckchzh

Dockerfile Builder

by BytesAgain2 · GitHub ↗ · v3.0.0 · MIT-0
cross-platform ⚠ suspicious
427
Downloads
0
Stars
2
Active Installs
11
Versions
Install in OpenClaw
/install dockerfile-builder
Description
Generate and lint Dockerfiles for common languages and frameworks. Use when creating container configs.
README (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]

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dockerfile-builder
  3. After installation, invoke the skill by name or use /dockerfile-builder
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug dockerfile-builder
Version 3.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 11
Frequently Asked Questions

What is Dockerfile Builder?

Generate and lint Dockerfiles for common languages and frameworks. Use when creating container configs. It is an AI Agent Skill for Claude Code / OpenClaw, with 427 downloads so far.

How do I install Dockerfile Builder?

Run "/install dockerfile-builder" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Dockerfile Builder free?

Yes, Dockerfile Builder is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Dockerfile Builder support?

Dockerfile Builder is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Dockerfile Builder?

It is built and maintained by BytesAgain2 (@ckchzh); the current version is v3.0.0.

💬 Comments