A Python-powered CLI validator for devcontainer.json files that checks for structural errors, security risks, and configuration best practices.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install devcontainer-validator
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 devcontainer-validator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The DevContainer Validator is a robust technical tool designed to streamline the creation and maintenance of development environments. It specifically targets VS Code Dev Containers, GitHub Codespaces, and DevPod configurations by parsing JSONC files to identify common pitfalls. As a valuable component within the Openclaw Skills ecosystem, it helps developers maintain high-quality infrastructure-as-code by enforcing 24+ validation rules across various configuration domains.
By providing granular feedback on everything from OCI feature formats to dangerous privileged mode settings, this skill ensures that development containers are both functional and secure. Its zero-dependency Python architecture makes it exceptionally portable for any local or cloud-based environment.
To start using this tool with Openclaw Skills, ensure you have Python 3.8+ installed. The script uses the Python standard library, so no additional pip installs are required.
# Basic validation of a local file
python3 scripts/devcontainer_validator.py validate .devcontainer/devcontainer.json
# Run a security-focused audit in strict mode
python3 scripts/devcontainer_validator.py security --strict devcontainer.json
The skill analyzes standard devcontainer.json schemas and outputs structured data. Below is the mapping of the validation categories and their focus areas:
| Validation Area | Logic Scope | Example Checks |
|---|---|---|
| Structure | File Integrity | Missing image source, unknown top-level keys, JSONC syntax |
| Features | Extension Logic | Invalid feature formats, OCI reference validation, duplicates |
| Ports & Net | Connectivity | Port range validation (0-65535), forwardPorts array format |
| Lifecycle | Hook Safety | Shell injection patterns, empty commands, script type checks |
| Security | Hardening | remoteUser presence, privileged mode detection, capAdd entries |
| Customization | Editor Logic | VS Code extension ID format, settings object structure |
Loading
A comprehensive diagnostic tool for identifying sync drift, diagnosing deployment failures, and auditing security for ArgoCD-managed applications.

A specialized validation tool for .pre-commit-config.yaml files that enforces 23 distinct rules across structure, hooks, and best practices.

A strategic tool for planning, estimating, and tracking large-scale codebase migrations from framework upgrades to language transitions.

A powerful utility to compare OpenAPI specifications and generate consumer-ready changelogs and migration guides.

A comprehensive pre-release audit tool that verifies code quality, versioning, security, and documentation before shipping software.

A comprehensive automation skill for generating, maintaining, and executing high-stakes incident response workflows for production systems.








































