Explain YAML code
Paste YAML, GitHub Actions workflows included, and Vibe explains what each key sets, which lines are lists and what each value turns into when it's read.
Up to 1,500 characters (about 60 lines). Your code is sent to Unvibe and Anthropic to write the explanation. Don't paste keys or passwords. Common key formats are refused.
Vibe20 lines selected
Press Explain it for the sample, or paste your own code first.
What this YAML sample shows
- mappings
- Each
key: valueline is a mapping entry, and a block indented under a key is that key's value, sopush,testandwithare mappings inside mappings. Read with Ruby's YAML library,on:comes back as the keytrue, not"on", because YAML 1.1 reads a bareonas true. GitHub reads it as theonkey, but another tool that reads the file can seetrue. - sequences
- A line that starts with
-is one item in a list, sostepsis a list of four mappings, each with ausesor arun.[main]is the same kind of list written on one line. Drop the space in-run: pytest -qand it isn't a list item any more: the parser returns a mapping with the key-run. - scalars
- A plain value is read by how it looks:
20is a number, and in YAML 1.1yes,no,onandoffare true or false, socountry: NOreads asfalse. Quotes keep text as text, which is why"3.12"stays the string3.12.${{ secrets.DATABASE_URL }}is plain text to YAML too: GitHub replaces it with the secret's value when the job runs. - indentation
- Nesting is set by spaces alone. A tab in front of
test:givesfound character that cannot start any token, and acache: pipindented one space less than thepython-versionline above it givesdid not find expected key while parsing a block mapping.
Good to know
- Parsed, the file is a mapping with three keys,
name,trueandjobs. An emptypull_request:isnull, which GitHub takes to mean its default pull request events: opened, reopened and new commits pushed. branches: [main]sits underpush, so it limits pushes only. Pull requests run the tests whatever branch they target.cache: pipasksactions/setup-pythonto save pip's downloads between runs, keyed on your requirements file.- Secrets aren't passed to a workflow run for a pull request from a fork, so there
DATABASE_URLis an empty string and tests that need the database fail. - The file was parsed with the YAML library in Ruby 2.6, not run on GitHub. Parsing checks the YAML, not whether GitHub accepts the workflow.
Watch out: Quote version numbers. python-version: 3.10 without quotes is the number 3.1, and the list [3.9, 3.10, 3.11] reads as [3.9, 3.1, 3.11]. GitHub reads it the same way, so the job asks for Python 3.1.
Explain YAML code beside your editor
Unvibe is a free app for Mac and Windows. In the app there is no pasting: select code in any app and press Control+U (Ctrl+Alt+U on Windows).
Install on Mac
curl -fsSL https://unvibe.site/install.sh | bashPaste into Terminal. Unvibe isn't notarized by Apple yet, so this is the smooth path.
Or download the .dmg · Intel Mac build · SHA-256 checksums
Opening the .dmg the first time
- Open the .dmg and drag Unvibe to Applications.
- Open it once; macOS says it can't verify it. Click Done.

Real screen, macOS 15 - System Settings › Privacy & Security › Open Anyway. Confirm, then enter your Mac password. The button shows for about an hour after you try to open Unvibe.

Real screen, macOS 15
The Terminal line checks the download against the published SHA-256 and Unvibe's self-signed signature before it installs anything. More help with the first open