yaml

yaml is a skill for Claude Code from MadAppGang/magus. It costs 35 tokens per session (3,257 once invoked), scanned A, original, MIT.

A guide for safely reading and changing a meroku environment YAML file. Meroku converts that file into Terraform, which describes cloud resources, and applies the result to an environment.

In plain words
What is it for?
Use it when editing dev, production, or another meroku environment configuration and assessing the effect before running infrastructure changes.
Why use it?
It keeps configuration changes in the source YAML instead of generated files and requires each proposal to state whether resources may be replaced or data lost. It also explains how to locate the correct environment file.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the meroku plugin — 4 skills, 1 agent shipped together

Good fit Use it when editing dev, production, or another meroku environment configuration and assessing the effect before running infrastructure changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/madappgang/magus/yaml
Install

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.

Any agent
npx skills add MadAppGang/magus --skill yaml
Clone the repo
git clone --depth 1 https://github.com/MadAppGang/magus

Made for: Claude Code.

Or install meroku, the plugin that ships this one along with the rest of its 4 skills, 1 agent.

Wrote 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.

agentmods badge for yaml

README.md
[![agentmods](https://agentmods.dev/badge/skills/madappgang/magus/yaml/github.svg)](https://agentmods.dev/skills/madappgang/magus/yaml)
Your own site
<a href="https://agentmods.dev/skills/madappgang/magus/yaml"><img src="https://agentmods.dev/badge/skills/madappgang/magus/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.

agentmods 80×15 button for yaml

Your own site · 80×15
<a href="https://agentmods.dev/skills/madappgang/magus/yaml"><img src="https://agentmods.dev/badge/skills/madappgang/magus/yaml.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,257 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.03257
Opus 5.5 $0.00014 $0.01303
Sonnet 5.5 $0.00007 $0.00651
Haiku 4.5 $0.00003 $0.00326

Measured 13d ago against content hash 00c7db0e68c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 13d 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.

plugins/meroku/skills/yaml/SKILL.md · 228 lines

How it starts

The opening of the file, as written. The whole thing — 228 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Changing a meroku env YAML

The env YAML is the one file that describes an environment. meroku migrates it, renders it through a Handlebars template into Terraform, and runs Terraform. A configuration fix is a change to this file, followed by a meroku rerun. Never a hand edit of env/<env>/.

Written against meroku 6.2.0 (plus 6.4.0's event-consumer grants, 6.5.0's HMAC keys and 6.7.0's backend IAM keys) and schema v32 (v33 from 6.7.0). When this text disagrees with the project, the project wins: its schema_version, its infrastructure/env/main.hbs, and its infrastructure/modules/. For the pipeline and the commands, read ../meroku/SKILL.md.

The rule for every proposal

Every change you propose states whether it forces resource replacement: yes, no, or "unknown until plan". Say which resources and what is lost (data in a database or bucket, a DNS value, a running service). A name or network change on a deployed environment is a destroy and a create, not an edit. Before you call a change safe, check it against references/dangerous-fields.md.

The YAML describes the system, not AWS

The env YAML says what the environment must be, not what exists in AWS. It never carries an ARN, an account id or a generated AWS resource name.

policy is only for resources outside meroku. Never write a policy statement for a resource meroku creates: its event queues and DLQs, buses, buckets, vaults, KMS keys, Valkey. meroku grants those from the YAML keys that create them.

  • A consumer (events.subscribes) already receives from its own queue. From 6.4.0 it also sends to its own queue (a delayed retry with DelaySeconds) and to its own application DLQ.
  • To reach another workload, publish an event with events.produces and let that workload subscribe. Never grant sqs:SendMessage on another workload's queue.
  • A workload needs a permission on its own meroku-managed resource that meroku does not grant: that is a meroku gap. Report it to be fixed in meroku (github.com/MadAppGang/meroku), and write no policy block. On a copy older than 6.4.0, a consumer that must send to its own queue or DLQ needs meroku update to 6.4.0.

Read the full file on GitHub · 228 lines

Files

What ships with it

5 files 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.

Changes

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.

  1. 13d ago Changed · +30 lines 00c7db0e68c1
  2. 14d ago Changed · +73 lines 89c86eefa9a1
  3. 15d ago Changed · +42 lines · +4 tokens per session ecd04776bdab
  4. 16d ago Changed · +3 lines f6722f505946
  5. 17d ago Changed · +2 lines · -2 tokens per session e91566b5cc6d
  6. 19d ago First seen · 78 lines · 33 tokens per session scan A 877856791ac8

Subscribe to this mod's changes

yaml is a skill published in the GitHub repository MadAppGang/magus (16 stars, last pushed today), licensed MIT. It adds 35 tokens to every session and 3,257 once invoked, about $0.0001 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-11-11.

Related

yaml compared with skills from other repositories

yaml next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
yamlMadAppGang/magusSkill16todayMITA35Claude Code
gke-compute-classesgoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill25ktodayApache-2.0A115Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2k2d agoApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3k3d agoMITA78Claude Code