YAMLCheck
Validate YAML syntax using python3, lint configs, and convert YAML to JSON. Use when checking syntax, finding errors, or converting formats.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bytesagain1/yamlcheckYAMLCheck
A real YAML validator and toolkit. Check syntax, convert YAML to JSON, lint for style issues, and list top-level keys. Uses PyYAML when available, falls back to basic parsing when not.
Commands
| Command | Description |
|---|---|
yamlcheck validate <file> | Validate YAML syntax — reports document count, types, key counts, file size. Falls back to basic tab/colon checks without PyYAML |
yamlcheck to-json <file> | Convert YAML to formatted JSON output. Handles multi-document YAML files |
yamlcheck lint <file> | Check for common style issues: tabs, trailing whitespace, Windows line endings, odd indentation, missing spaces after colons, long lines |
yamlcheck keys <file> | List top-level keys with types and value previews |
Requirements
python3(required)PyYAML(optional — enables full parsing; install withpip3 install pyyaml)
Without PyYAML, the tool still works but uses basic regex-based checks instead of full YAML parsing.
Examples
# Validate a docker-compose file
yamlcheck validate docker-compose.yml
# Convert YAML config to JSON
yamlcheck to-json values.yaml
# Check for style issues
yamlcheck lint playbook.yml
# See what keys are defined
yamlcheck keys config.yaml
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bytesagain1-yamlcheck": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
aethercore
AetherCore v3.3.4 - Security-focused final release. High-performance JSON optimization with universal smart indexing for all file types. All security review issues fixed, ready for production.
vibe-coding-checker
描述一个功能或项目,AI 快速评估用 Cursor/Windsurf/Bolt 等 AI 编程工具能否独立实现, 给出可行性判断、推荐工具、拆解路径和风险提示。
Dotfiles
Backup, sync, and version-track dotfiles across multiple machines. Use when syncing configs, backing up settings, restoring on new machines.
Regexr
Create, test, and learn regular expressions with live matching. Use when validating patterns, checking groups, generating regex, linting syntax.
UnixTime
Convert Unix timestamps to dates and back. Use when parsing epoch values, calculating time differences, debugging logs, or generating relative dates.