yq
CommunityExtract YAML data fast with minimal context.
Authorxdg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Extract specific fields from YAML files without loading the entire document, saving time and tokens during data extraction and validation.
Core Features & Use Cases
- Selective field extraction: retrieve nested values from docker-compose.yml, GitHub Actions workflows, Kubernetes manifests, and other YAML configurations with minimal data read.
- Flexible output options: return raw strings, YAML, or JSON to suit downstream tooling and scripting needs.
- Real-world workflows: validate configurations, snapshot key values, or progressively extract data from large YAML files for reporting or automation.
Quick Start
Run a quick example to extract a field, such as retrieving the version from config.yml.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: yq Download link: https://github.com/xdg/xdg-claude/archive/main.zip#yq Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.