Skip to content
Back to skills

Yamlcheck

ASecurity

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

  • 12 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 7, 2026
toolspythongobashdockergit

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add bytesagain/ai-skills --skill yamlcheck --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Yamlcheck?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Yamlcheck
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bytesagain-yamlcheck/badge)](https://www.skillsdirectory.com/skills/bytesagain-yamlcheck)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: YAMLCheck
description: "Validate YAML syntax using python3, lint configs, and convert YAML to JSON. Use when checking syntax, finding errors, or converting formats."
version: "3.0.2"
author: "BytesAgain"
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
tags: ["yaml","validator","lint","formatter","json","developer"]
categories: ["Developer Tools", "Utility"]
---

# 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

| 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 with `pip3 install pyyaml`)

Without PyYAML, the tool still works but uses basic regex-based checks instead of full YAML parsing.

## Examples

```bash
# 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
```

Files in this skill

  • SKILL.md1.6 KB
  • scripts/script.sh11 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.