Agent skill

YAML Schema

by extra-org in extra-org/extra

Loading agent.yml, defining schema models, and validating the specification (definitions, hierarchy, security).

MITAuto-check passed

Install YAML Schema

skills CLI
$ npx skills add extra-org/extra --skill yaml-schema -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install extra-org/extra yaml-schema --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/extra-org/extra.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/yaml-schema .claude/skills/yaml-schema && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
yaml-schema
GitHub stars
113
Token cost
~557 tokens
SKILL.md length
203 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

Loading agent.yml, defining schema models, and validating the specification (definitions, hierarchy, security).

  • SKILL.md covers When to use this skill, Files to read first, Architecture rules and Implementation rules, plus 2 more sections
  • Calls make

What it does

YAML Schema is an agent skill from extra-org/extra. Loading agent.yml, defining schema models, and validating the specification (definitions, hierarchy, security). Primary task is tasks/0002-yaml-schema-and-validation.md.

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Turn your product into an AI-powered assistant. The licence is MIT.

Example prompts

  • “/yaml-schema”

What it can do on your machine

Read from SKILL.md and the folder at commit 023b0a0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • make

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

YAML Schema loads about 557 tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 203 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~557

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from extra-org/extra at commit 023b0a0, republished under its MIT licence (© extra-org). 203 words, ~557 tokens.

Download SKILL.mdSave it as .claude/skills/yaml-schema/SKILL.md (or your agent's skills folder).
name
yaml-schema
description
Loading agent.yml, defining schema models, and validating the specification (definitions, hierarchy, security). Primary task is tasks/0002-yaml-schema-and-validation.md.
generated
true
source
.ai/skills/yaml-schema.md
<!--
This file is generated by tools/skills.
Do not edit this file directly.
Edit .ai/skills/yaml-schema.md and run `make generate-ai`.
-->

Skill: YAML Schema & Validation

When to use this skill

Use this when working on loading YAML configs, defining schema models, or validating the Agent Engine specification. Primary task: tasks/0002-yaml-schema-and-validation.md.

Files to read first

  • AGENTS.md
  • docs/YAML_SPEC.md
  • examples/agents.yml
  • examples/config.schema.json
  • docs/adr/0002-yaml-is-compiled-not-executed-directly.md

Architecture rules

  • YAML is declarative data, never code.
  • The spec has two halves: flat declarations and graph topology.
  • Validation must happen before compilation.
  • Runtime layers consume only validated/compiled models, never raw YAML dicts.
  • Secrets are never values in YAML.

Implementation rules

  • Define typed schema models in src/agentplatform/spec.
  • Validation belongs in src/agentplatform/validation.
  • Report all validation errors with useful locations.
  • Enforce: required system and graph; one graph root; graph ids exist in orchestrators or agents; no cycles; referenced resolvers/tools/MCPs exist; orchestrators have prompts.orchestrator; model overrides are complete; protected nodes require the access plugin at startup.
  • Keep schema/validation separate from the compiler.

Validation checklist

  • Schema models cover docs/YAML_SPEC.md.
  • examples/agents.yml validates successfully.
  • Dangling references, missing/multiple roots, and cycles fail clearly.
  • Unknown keys and hardcoded secrets are rejected.
  • Tests cover valid and invalid specs.
  • make check passes.

Common mistakes to avoid

  • Mixing validation with compilation or runtime logic.
  • Failing fast on the first error instead of collecting all errors.
  • Reintroducing the old definitions / hierarchy shape.
  • Letting unknown/typo'd keys pass silently.

© extra-org, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/yaml-schema of extra-org/extra.

Open the folder on GitHubat commit 023b0a0

Compare with similar skills

YAML Schema next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

YAML Schema compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
YAML Schema this skillextra-org/extra113—~557Automated safety check: PassMIT
Form Validationthedaviddias/Front-End-Checklist74k—~633Automated safety check: PassMIT
Agent Specificationruvnet/ruflo74k3 repos~1.8kAutomated safety check: PassMIT
Validateagenticnotetaking/arscontexta3.5k—~3kAutomated safety check: PassMIT
Loading Indicatorsthedaviddias/Front-End-Checklist74k—~434Automated safety check: PassMIT
Font Loadingthedaviddias/Front-End-Checklist74k—~400Automated safety check: PassMIT

Similar skills

  • Form Validation

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Validate forms accessibly.

    74k GitHub stars~633 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Agent skill for specification - invoke with $agent-specification

    74k GitHub starsUsed in 3 repos~1.8k tokens
    Product & Project ManagementAuto-check passed
  • Validate

    agenticnotetaking/arscontexta

    Schema validation for notes. An agent skill from agenticnotetaking/arscontexta.

    3.5k GitHub stars~3k tokensUpdated 7 mo ago
    Frontend & DesignAuto-check passed
  • Loading Indicators

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Show loading indicators.

    74k GitHub stars~434 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Font Loading

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Optimize web font loading.

    74k GitHub stars~400 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Lazy Loading

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Implement lazy loading for offscreen content.

    74k GitHub stars~487 tokensUpdated yesterday
    Frontend & DesignAuto-check passed

More from extra-org/extra

All 14 skills in this repo
  • Testing

    extra-org/extra

    How to write and run fast, deterministic, behavior-focused pytest tests that never touch real external systems.

    113 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Architecture Review

    extra-org/extra

    Guard the project's architecture invariants. An agent skill from extra-org/extra.

    113 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Documentation

    extra-org/extra

    Keep the repository's documentation accurate, honest, and synchronized with the code.

    113 GitHub stars~848 tokensUpdated 1 mo ago
    Auto-check passed
  • The standard for writing Python here — small, typed, explicit, testable modules with side effects pushed to the edges.

    113 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Skill Authoring

    extra-org/extra

    How to create or restructure a skill so the .ai/skills/ system stays consistent, operational, and trustworthy.

    113 GitHub stars~1k tokensUpdated 1 mo ago
    Auto-check passed
  • Code Review

    extra-org/extra

    Senior-level code review for the agent platform — architecture and boundaries first, then correctness, security, testability, and simplicity.

    113 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed

Questions about YAML Schema

What does YAML Schema do?

Loading agent.yml, defining schema models, and validating the specification (definitions, hierarchy, security). YAML Schema is an agent skill from extra-org/extra.yml, defining schema models, and validating the specification (definitions, hierarchy, security).

How do I install YAML Schema in Claude Code?

Run `npx skills add extra-org/extra --skill yaml-schema -a claude-code`. Or copy the skill folder (.claude/skills/yaml-schema in extra-org/extra) into .claude/skills/yaml-schema in your project. Claude Code loads it when a task matches its description.

How do I install YAML Schema in Codex?

Run `npx skills add extra-org/extra --skill yaml-schema -a codex`. Or copy the skill folder (.claude/skills/yaml-schema in extra-org/extra) into .agents/skills/yaml-schema in your project. Codex loads it when a task matches its description.

Can I use YAML Schema in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add extra-org/extra --skill yaml-schema -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/yaml-schema, .gemini/skills/yaml-schema, .github/skills/yaml-schema and .opencode/skills/yaml-schema in your project.

What does YAML Schema need to run?

Going by SKILL.md and its folder, YAML Schema needs the command-line tools its instructions call (make).

Does YAML Schema access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is YAML Schema safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does YAML Schema use?

YAML Schema is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does YAML Schema use?

About 557 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to YAML Schema?

Skills that share tags, products or a category with YAML Schema: Form Validation (thedaviddias/Front-End-Checklist, 74k stars), Agent Specification (ruvnet/ruflo, 74k stars), Validate (agenticnotetaking/arscontexta, 3.5k stars) and Loading Indicators (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains YAML Schema?

extra-org (a GitHub organization) maintains it in extra-org/extra, which has 113 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on September 7, 2026.

Source: extra-org/extra on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.