Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add SebastienDegodez/copilot-instructions --skill querying-yamlgit clone --depth 1 https://github.com/SebastienDegodez/copilot-instructionsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sebastiendegodez/copilot-instructions/querying-yaml)<a href="https://agentmods.dev/skills/sebastiendegodez/copilot-instructions/querying-yaml"><img src="https://agentmods.dev/badge/skills/sebastiendegodez/copilot-instructions/querying-yaml/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sebastiendegodez/copilot-instructions/querying-yaml"><img src="https://agentmods.dev/badge/skills/sebastiendegodez/copilot-instructions/querying-yaml.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.00999 |
| Opus 5.5 | $0.00019 | $0.00400 |
| Sonnet 5.5 | $0.00010 | $0.00200 |
| Haiku 4.5 | $0.00005 | $0.00100 |
Grade A, and why
querying-yaml scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
yq: YAML Query and Extraction Tool
Always invoke querying-yaml skill to extract YAML fields - do not execute bash commands directly.
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.
Default Strategy
Invoke querying-yaml skill for extracting specific fields from YAML files efficiently. Use instead of reading entire files to save 80-95% context.
Common workflow: finding-files skill → querying-yaml skill → other skills (fuzzy-selecting, replacing-text, viewing-files) for extraction and transformation.
Pipeline Combinations
- querying-yaml | fuzzy-selecting: Interactive selection from YAML data
- querying-yaml | replacing-text: Transform YAML to other formats
- querying-yaml | viewing-files: View extracted YAML with syntax highlighting
Skill Combinations
For Discovery Phase
- finding-files → querying-yaml: Find YAML config files and extract specific fields
- searching-text → querying-yaml: Find YAML usage patterns and extract values
- extracting-code-structure → querying-yaml: Understand API structures before extraction
For Analysis Phase
- querying-yaml → fuzzy-selecting: Interactive selection from structured data
- querying-yaml → viewing-files: View extracted data with syntax highlighting
- querying-yaml → analyzing-code: Extract statistics from YAML output
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 109 lines · 48 tokens per session scan A fed74ece4323
querying-yaml is a skill published in the GitHub repository SebastienDegodez/copilot-instructions (199 stars, last pushed 23d ago), licensed Apache-2.0. It adds 48 tokens to every session and 999 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
querying-yaml compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| querying-yamlSebastienDegodez/copilot-instructions | Skill | 199 | 23d ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| mcpmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 123 | Claude Code, Codex |
| semantic-kernelmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 116 | Claude Code, Codex |
| aspnet-coremanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 122 | Claude Code, Codex |
| graphify-dotnetmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 125 | Claude Code, Codex |
| winformsmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 122 | Claude Code, Codex |
| webgpu-threejs-tslmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 78 | Claude Code, Codex |