# Invalid YAML compact mapping

> Invalid YAML compact mapping is an open-source agent skill for developer tools. Test fixture reproducing a YAML parse failure from an unquoted colon in a skill. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Arenukvern/skill_steward/tree/main/evals/fixtures/validate/invalid-yaml-compact-mapping
- **Repository:** https://github.com/arenukvern/skill_steward
- **GitHub stars:** 14
- **License:** MIT
- **Skill name:** invalid-yaml-compact-mapping
- **Collection:** https://github.com/Arenukvern/skill_steward
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This is an evaluation fixture inside the skill_steward repository, not a working skill with a workflow. It exists to reproduce a case where `npx skills` skips a skill because its frontmatter description is invalid YAML.

The description contains an unquoted `repository: app` fragment, which the js-yaml parser reads as a nested mapping and rejects. The folder holds a single SKILL.md and no scripts, so it is useful for testing validators and skill tooling rather than for directing an agent on engineering tasks.

## When your agent uses it

> Establish or audit a structural quality contract for any agent-operated engineering repository: app, library, CLI/tool, plugin, harness, or meta repo.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Arenukvern/skill_steward/tree/HEAD/evals/fixtures/validate/invalid-yaml-compact-mapping)
- [License: MIT](https://github.com/Arenukvern/skill_steward/tree/HEAD/evals/fixtures/validate/invalid-yaml-compact-mapping)

## Features

- **Invalid YAML reproduction:** Provides a frontmatter description with an unquoted colon that js-yaml rejects as a nested mapping.
- **Validator test fixture:** Sits under the evals/fixtures/validate folder as input for checking skill validation behavior.
- **Minimal single-file layout:** Contains only a SKILL.md with no scripts or reference files.
- **MIT licensed:** Declares an MIT license in its frontmatter.

## Good for

- Test that a skill validator flags frontmatter with an unquoted colon
- Reproduce why npx skills skips a skill with a malformed description
- Use as a regression case when changing YAML parsing in skill tooling
- Learn which description patterns need quoting in SKILL.md

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/invalid-yaml-compact-mapping` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Arenukvern/skill_steward.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/invalid-yaml-compact-mapping &&
cp -R "$tmp/evals/fixtures/validate/invalid-yaml-compact-mapping" ~/.claude/skills/invalid-yaml-compact-mapping &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/invalid-yaml-compact-mapping` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/invalid-yaml-compact-mapping` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Arenukvern/skill_steward.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/invalid-yaml-compact-mapping &&
cp -R "$tmp/evals/fixtures/validate/invalid-yaml-compact-mapping" ~/.agents/skills/invalid-yaml-compact-mapping &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/invalid-yaml-compact-mapping` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/invalid-yaml-compact-mapping` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Arenukvern/skill_steward.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/invalid-yaml-compact-mapping &&
cp -R "$tmp/evals/fixtures/validate/invalid-yaml-compact-mapping" ~/.cursor/skills/invalid-yaml-compact-mapping &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/invalid-yaml-compact-mapping` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Arenukvern/skill_steward.git --path evals/fixtures/validate/invalid-yaml-compact-mapping
```

Or copy the folder to `~/.gemini/skills/invalid-yaml-compact-mapping` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/invalid-yaml-compact-mapping`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Arenukvern/skill_steward.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/invalid-yaml-compact-mapping &&
cp -R "$tmp/evals/fixtures/validate/invalid-yaml-compact-mapping" ~/.copilot/skills/invalid-yaml-compact-mapping &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/invalid-yaml-compact-mapping` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Arenukvern/skill_steward.git
```

Then copy `skill_steward/evals/fixtures/validate/invalid-yaml-compact-mapping` into your agent's skills folder as `invalid-yaml-compact-mapping`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Is this a usable skill?

No. It is a fixture that demonstrates a YAML parsing failure, and its body only explains that purpose.

### Why is the YAML invalid?

The unquoted description contains `repository: app`, which js-yaml interprets as a nested mapping and rejects.

### Does Invalid YAML compact mapping include scripts?

No. The folder contains one file, the SKILL.md.

### What license does Invalid YAML compact mapping use?

MIT.

### How do I install Invalid YAML compact mapping in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/invalid-yaml-compact-mapping to use it in all your projects, or to .claude/skills/invalid-yaml-compact-mapping in one project.

### Does Invalid YAML compact mapping run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Invalid YAML compact mapping?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Invalid YAML compact mapping?

The closest alternatives to Invalid YAML compact mapping are Invalid name, Fixture, Bad skill, Wrong name and Has readme.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Invalid name](https://ai-powered.com/skills/invalid-name): Invalid name is an open-source agent skill for developer tools.
- [Fixture](https://ai-powered.com/skills/fixture-devallibus): Fixture is an open-source agent skill for developer tools.
- [Bad skill](https://ai-powered.com/skills/bad-skill): Bad skill is an open-source agent skill for developer tools.
- [Wrong name](https://ai-powered.com/skills/wrong-name): Wrong name is an open-source agent skill for developer tools.
- [Has readme](https://ai-powered.com/skills/has-readme): Has readme is an open-source agent skill for developer tools.
- [Very short body](https://ai-powered.com/skills/very-short-body): Very short body is an open-source agent skill for developer tools.
- [Missing license](https://ai-powered.com/skills/missing-license): Missing license is an open-source agent skill for developer tools.
- [Missing sources](https://ai-powered.com/skills/missing-sources): Missing sources is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/invalid-yaml-compact-mapping
