skills$openclaw/dockerfile-gen
lxgicstudios327

by lxgicstudios

dockerfile-gen – OpenClaw Skill

dockerfile-gen is an OpenClaw Skills integration for coding workflows. Generate optimized Dockerfiles for any project

327 stars4.5k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namedockerfile-gen
descriptionGenerate optimized Dockerfiles for any project OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/ai-dockerfile
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/ai-dockerfile
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains dockerfile-gen in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
469 B
SKILL.md
1.2 KB
SKILL.md

name: dockerfile-gen description: Generate optimized Dockerfiles for any project

Dockerfile Generator

Scan your project, get a production-ready Dockerfile. Multi-stage builds, proper caching, security best practices.

Quick Start

npx ai-dockerfile

What It Does

  • Detects your stack (Node, Python, Go, etc.)
  • Generates multi-stage builds
  • Optimizes layer caching
  • Adds security hardening
  • Includes .dockerignore

Usage Examples

# Generate for current project
npx ai-dockerfile

# Specify base image
npx ai-dockerfile --base node:20-alpine

# Production optimized
npx ai-dockerfile --production

# With compose file
npx ai-dockerfile --compose

Output Includes

  • Dockerfile with comments
  • .dockerignore file
  • docker-compose.yml (optional)
  • Build instructions

Features

  • Multi-stage builds for smaller images
  • Non-root user setup
  • Health checks
  • Proper signal handling
  • Layer caching optimization

Requirements

Node.js 18+. OPENAI_API_KEY required.

License

MIT. Free forever.


Built by LXGIC Studios

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

Node.js 18+. OPENAI_API_KEY required.

FAQ

How do I install dockerfile-gen?

Run openclaw add @lxgicstudios/ai-dockerfile in your terminal. This installs dockerfile-gen into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/ai-dockerfile. Review commits and README documentation before installing.