AI Summaryyq is a YAML query tool for Claude Code that extracts specific fields from YAML files efficiently, reducing context usage by 80-95% compared to reading entire files. Developers working with large configuration files (docker-compose, Kubernetes, GitHub Actions) benefit most from this skill.
Install
# Add to your project root as SKILL.md curl -o SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/yq/SKILL.md"
Description
Extract specific fields from YAML files efficiently using qq instead of reading entire files, saving 80-95% context.
yq: YAML Query and Extraction Tool
Use yq to extract specific fields from YAML files without reading entire file contents, saving 80-95% context usage.
When to Use yq
Use yq when: • Need specific field(s) from structured YAML file • File is large (>50 lines) and only need subset of data • Querying nested structures in YAML • Filtering/transforming YAML data • Working with docker-compose.yml, GitHub Actions workflows, K8s configs Just use Read when: • File is small (<50 lines) • Need to understand overall structure • Making edits (need full context anyway)
Tool Selection
JSON files → Use jq • Common: package.json, tsconfig.json, lock files, API responses YAML files → Use yq • Common: docker-compose.yml, GitHub Actions, CI/CD configs Both tools extract exactly what you need in one command - massive context savings.
Get version from package.json
jq -r .version package.json
Quality Score
Good
83/100
Trust & Transparency
Open Source — MIT
Source code publicly auditable
Verified Open Source
Hosted on GitHub — publicly auditable
Actively Maintained
Last commit Yesterday
100 stars — Growing Community
15 forks