Extract specific fields from YAML files efficiently using yq instead of reading entire files, saving 80-95% of context.
When you need a specific field from a YAML file, reach for yq rather than Read. Syntax mirrors jq.
yq '.field' file.yml
Assumes mikefarah/yq (Go-based). The Python kislyuk/yq fork has different syntax; if jq-style queries don't work, check which yq is on PATH.
Three things easy to forget:
-r -- raw string output (no surrounding quotes)select(document_index == N) -- pick the Nth doc in a multi-document file (--- separators)yq -o json file.yml | jq '...' -- escape hatch when yq syntax gets uglyFor anything else, yq --help.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer