A professional DevOps tool designed to minimize Docker image footprints, accelerate build pipelines, and enforce production-grade security standards.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install cm-dockerfile-optimizer
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install cm-dockerfile-optimizer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Dockerfile Optimizer is a high-performance utility within the Openclaw Skills ecosystem that automates the auditing and refinement of containerization workflows. It analyzes existing Dockerfiles to identify inefficiencies such as bloated base images, redundant layers, and security vulnerabilities. By synthesizing best practices like multi-stage builds and distroless transitions, it ensures that your containers are lean, fast, and ready for production deployment.
This skill is essential for developers looking to reduce cloud storage costs and shorten CI/CD feedback loops. By leveraging the intelligence of Openclaw Skills, users can transform standard Dockerfiles into optimized, secure assets without manually calculating layer offsets or researching the latest security patches for base images.
To utilize this feature within Openclaw Skills, ensure your project contains a Dockerfile and that the Docker daemon is accessible if you wish to perform size audits.
# The skill will typically search for Dockerfiles using:
find . -name "Dockerfile*" -not -path "*/node_modules/*"
# To analyze image history, the agent may run:
docker history <image_name> --no-trunc
The skill organizes its optimization findings into a structured report to provide clear ROI on changes:
| Component | Description |
|---|---|
| Size Impact | A table comparing current image size vs. projected size after optimization. |
| Critical Issues | A list of high-priority security or performance bottlenecks discovered during the audit. |
| Layer Breakdown | An analysis of which specific RUN or COPY commands contribute most to image bloat. |
| BuildKit Config | Recommendations for persistent cache mounts and secret handling. |
Loading
A guide for building sustainable, cue-based hydration habits tailored to your unique lifestyle and environment.

A strategic intelligence skill for analyzing Jollibee's unique competitive advantages and global fast-food dominance.

A comprehensive environmental and behavioral auditing tool designed to systematically reset sleep habits and bedroom conditions for better rest.

A specialized tool for generating, optimizing, and migrating ESLint configurations to the modern flat config format based on real-time project analysis.

A comprehensive auditing tool for Drizzle ORM schemas that ensures database production readiness, type safety, and migration reliability.

A precision-engineered pipeline for converting markdown books and long documents into high-quality grounded reasoning and supervision datasets.








































