YAMLCheck

Validate YAML syntax using python3, lint configs, and convert YAML to JSON. Use when checking syntax, finding errors, or converting formats.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "YAMLCheck" with this command: npx skills add bytesagain-lab/yamlcheck

YAMLCheck

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

CommandDescription
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 with pip3 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Json Formatter Pro

All-in-one JSON toolkit — format, validate, query, minify, and extract data from JSON. Built-in JMESPath query, JSONPath support, syntax highlighting. 适合API调...

Registry SourceRecently Updated
1191Profile unavailable
Coding

Smart API Connector

Connect to any REST API using the agent's built-in web_fetch. Handles authentication headers, JSON payloads, error parsing, and retries. Use when: user wants...

Registry SourceRecently Updated
2560Profile unavailable
General

JSON Formatter

Format, validate, compress JSON data, and extract JSON paths for improved readability and structure verification.

Registry SourceRecently Updated
9500Profile unavailable
Coding

Kai Master Builder

Developer, Code, Engineer. Guide the Agent to build apps/features/goals efficiently and securely. Creates project plans, task lists, and provides building pr...

Registry SourceRecently Updated
1710Profile unavailable