Give your agents the context
Install yq (Mike Farah) first. This command installs its capability description and registers your local executable. It doesn't install or run the tool.
clip registry add yq --purpose "Query and combine YAML documents"
clip syncCoverage: YAML expression evaluation across individual or multiple documents; excludes file writes. This is a partial community description, not a claim of full CLI Spec conformance. Missing mutation markers mean unknown.
Agent validation
This schema hasn't been run against its tool by an agent yet.
what's described
Capabilities
Read operation
yq eval
Evaluate an expression separately against each input document.
yq eval --output-format json '.services' compose.yamlRead operation
yq eval-all
Load all documents before evaluating one expression across them.
yq eval-all --output-format json '[.]' first.yaml second.yamlInspect the source
Review the schema's arguments and output fields before use. Community descriptions provide context, not authorization.
Full capability document
{
"name": "yq",
"version": "4.x",
"description": "Query YAML with Mike Farah yq v4, not the Python jq wrapper of the same name. Partial community schema; in-place editing and split-file output are excluded.",
"command_layout": "flat",
"commands": [
{
"name": "eval",
"description": "Evaluate an expression separately against each input document.",
"documentation": "https://mikefarah.gitbook.io/yq/commands/evaluate",
"mutating": false,
"args": [
{
"name": "expression",
"type": "string",
"required": true
},
{
"name": "file",
"type": "string",
"description": "One or more files; use - for stdin."
},
{
"name": "--output-format",
"type": "string",
"enum": [
"yaml",
"json"
]
},
{
"name": "--no-colors",
"type": "boolean"
},
{
"name": "--exit-status",
"type": "boolean",
"description": "Fail when there are no matches or the result is null or false."
}
],
"examples": [
"yq eval --output-format json '.services' compose.yaml"
],
"output_fields": [
{
"name": "stdout",
"type": "string",
"description": "YAML by default, or JSON with --output-format json. Multiple documents can produce multiple values."
}
]
},
{
"name": "eval-all",
"description": "Load all documents before evaluating one expression across them.",
"documentation": "https://mikefarah.gitbook.io/yq/commands/evaluate-all",
"mutating": false,
"args": [
{
"name": "expression",
"type": "string",
"required": true
},
{
"name": "file",
"type": "string",
"required": true,
"description": "One or more files; use - for stdin."
},
{
"name": "--output-format",
"type": "string",
"enum": [
"yaml",
"json"
]
},
{
"name": "--no-colors",
"type": "boolean"
}
],
"examples": [
"yq eval-all --output-format json '[.]' first.yaml second.yaml"
],
"output_fields": [
{
"name": "stdout",
"type": "string",
"description": "Expression result as YAML by default. All inputs are held in memory."
}
]
}
],
"documentation": "https://mikefarah.gitbook.io/yq/"
}