Back to skills
SKILL.md
Quickstart
ASecurityUse this skill when the user wants to shrink Docker images, analyze container layers, lint Dockerfiles, or debug running containers — Docker Slim toolkit for security and size optimization.
- 58 stars
- 0 votes
- 0 copies
- 3 views
- Added September 6, 2026
Works with
Security analysis
96/100- Uses curl or wget to download content
npx -y skills add javimosch/supercli --skill quickstart --agent claude-codeAre you the author of Quickstart?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/javimosch-quickstart-193135c8)---
name: slim
description: Use this skill when the user wants to shrink Docker images, analyze container layers, lint Dockerfiles, or debug running containers — Docker Slim toolkit for security and size optimization.
---
# slim Plugin
DockerSlim (slimtoolkit/slim) minifies container images by removing unused files, analyzes image layers, lints Dockerfiles, and attaches debug shells to running containers. CNCF sandbox project.
## Commands
- `slim <resource> <action>` — Execute slim commands
- `slim image build` — Analyze, profile and optimize a container image
- `slim image xray` — Perform static analysis on a container image
- `slim dockerfile lint` — Lint a Dockerfile for best practices
- `slim container debug` — Debug a running container
- `slim self version` — Show slim version information
- `slim _ _` — Passthrough to slim CLI
## Installation
```bash
brew install docker-slim
# or
curl -sL https://raw.githubusercontent.com/slimtoolkit/slim/master/scripts/install-slim.sh | sudo -E bash -
```
## Basic Usage
```bash
# Optimize an image (creates a smaller variant)
slim build myapp:latest
# Static analysis of layers and files
slim xray myapp:latest
# Lint a Dockerfile
slim lint Dockerfile
# Debug a running container
slim debug <container-id>
```
## Common Flags
```bash
# Custom tag for optimized image
slim build myapp:latest --tag myapp:slim
# Include extra paths in the minified image
slim build myapp:latest --include-path /app/config
# Show layer change details
slim xray myapp:latest --changes all
```
## Usage Examples
- "Shrink this Docker image for production"
- "Analyze what's inside this container image"
- "Lint my Dockerfile for best practices"
- "Debug a running container interactively"
## SuperCLI
```bash
sc slim image build myapp:latest
sc slim image xray myapp:latest
sc slim dockerfile lint Dockerfile
sc plugins learn slim
```
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.