kool-cli
A CLI tool to manage Docker-based development environments, logs, and custom project scripts.
Install
mkdir -p .claude/skills/kool-cli && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/7882" && unzip -o skill.zip -d .claude/skills/kool-cli && rm skill.zipInstalls to .claude/skills/kool-cli
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Docker development environment CLI. Use for managing containers (start/stop/restart), executing commands in services, viewing logs, and running project scripts from kool.yml.Key capabilities
- →Manages container lifecycle (start, stop, restart)
- →Executes project-specific scripts defined in YAML
- →Streams container logs for debugging
- →Runs one-off commands inside service containers
How it works
Wraps and abstracts standard docker-compose commands into a simplified CLI interface for localized project management.
Inputs & outputs
When to use kool-cli
- →Start docker development services
- →View logs for running containers
- →Run commands inside a container
- →Execute project specific scripts
About this skill
Kool CLI
Kool simplifies Docker-based development with commands for container lifecycle, service execution, and custom scripts.
Quick Reference
kool start # Start all services from docker-compose.yml
kool stop # Stop all services
kool restart --rebuild # Restart and rebuild images
kool status # Show running containers
kool exec <service> <cmd> # Run command in service container
kool logs -f <service> # Follow service logs
kool run --json # List available scripts as JSON
kool run <script> # Run a script from kool.yml
Service Lifecycle
Services are defined in docker-compose.yml. Kool wraps docker-compose with simpler commands.
kool start # Start all services
kool start app database # Start specific services
kool start --rebuild # Rebuild images before starting
kool start --foreground # Run in foreground (see logs)
kool start --profile worker # Enable a docker-compose profile
kool stop # Stop all services
kool stop app # Stop specific service
kool stop --purge # Stop and remove volumes (destructive)
kool restart # Restart all services
kool restart --rebuild # Rebuild images on restart
kool restart --purge # Purge volumes on restart
kool status # Show status of all containers
Executing Commands in Containers
Use exec to run commands inside running service containers (like SSH).
kool exec <service> <command>
kool exec app bash # Interactive shell
kool exec app php artisan migrate # Run Laravel migration
kool exec app npm install # Install npm packages
kool exec -e VAR=value app env # With environment variable
One-off Docker Containers
Use docker to run commands in temporary containers (not services).
kool docker <image> <command>
kool docker node npm init # Run npm in node container
kool docker --volume=$PWD:/app golang go build # Mount current dir
kool docker --env=DEBUG=1 python python script.py # With env var
kool docker --publish=3000:3000 node npm start # Expose port
Viewing Logs
kool logs # Last 25 lines from all services
kool logs app # Logs from specific service
kool logs -f # Follow logs (live)
kool logs -f app worker # Follow multiple services
kool logs --tail 100 # Last 100 lines
kool logs --tail 0 # All logs
Project Scripts
Scripts are defined in kool.yml and provide project-specific commands.
kool run --json # List scripts as JSON [{name, comments, commands}]
kool run # List scripts (human-readable)
kool run <script> # Run a script
kool run <script> -- <args> # Pass args (single-line scripts only)
kool run -e VAR=1 <script> # Run with environment variable
Global Options
All commands support:
-w, --working_dir <path> # Run from different directory
--verbose # Increase output verbosity
Important Rules
- ALWAYS run from project root (has
docker-compose.ymlandkool.yml) or use-w. - Service names come from
docker-compose.ymlservice definitions. - Script args only work with single-line scripts; multi-line scripts reject extra args.
- Scripts in
kool.ymlare not full bash - usekool docker <image> bash -c "..."for pipes/conditionals.
When not to use it
- →Managing non-Docker environments
- →Complex multi-cluster orchestration
Prerequisites
Limitations
- →Requires pre-configured kool.yml
- →Not suited for production Kubernetes environments
How it compares
Reduces verbosity by providing shorthand for standard Docker development workflows without requiring full compose manual syntax.
Compared to similar skills
kool-cli side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| kool-cli (this skill) | 1 | 6mo | Review | Beginner |
| bazel-build-optimization | 14 | 2mo | No flags | Advanced |
| linux-production-shell-scripts | 7 | 6mo | Review | Intermediate |
| docker-expert | 11 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
bazel-build-optimization
wshobson
Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.
linux-production-shell-scripts
davila7
This skill should be used when the user asks to "create bash scripts", "automate Linux tasks", "monitor system resources", "backup files", "manage users", or "write production shell scripts". It provides ready-to-use shell script templates for system administration.
docker-expert
davila7
Docker containerization expert with deep knowledge of multi-stage builds, image optimization, container security, Docker Compose orchestration, and production deployment patterns. Use PROACTIVELY for Dockerfile optimization, container issues, image size problems, security hardening, networking, and orchestration challenges.
machine-learning-ops-ml-pipeline
sickn33
Design and implement a complete ML pipeline for: $ARGUMENTS
windows-builder
hashicorp
Build Windows images with Packer using WinRM communicator and PowerShell provisioners. Use when creating Windows AMIs, Azure images, or VMware templates.
cicd-automation-workflow-automate
sickn33
You are a workflow automation expert specializing in creating efficient CI/CD pipelines, GitHub Actions workflows, and automated development processes. Design automation that reduces manual work, improves consistency, and accelerates delivery while maintaining quality and security.