# Invalid YAML

> Invalid YAML is an open-source agent skill for developer tools. Test fixture skill with deliberately malformed YAML frontmatter. 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/stepfun-ai/Step-Code/tree/main/packages/coding-agent/test/fixtures/skills/invalid-yaml
- **Repository:** https://github.com/stepfun-ai/step-code
- **GitHub stars:** 1,076
- **License:** MIT
- **Skill name:** invalid-yaml
- **Collection:** https://github.com/stepfun-ai/Step-Code
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This is a test fixture from the Step-Code coding agent repository, not a working skill. Its SKILL.md has a frontmatter description containing an unclosed bracket, so the YAML cannot be parsed.

The fixture sits in the coding-agent package's test fixtures and is meant to check how a skill loader handles broken frontmatter. The body only states that the frontmatter is invalid. It has no scripts, no allowed tools and no workflow for an agent to follow.

## When your agent uses it

> [unclosed bracket

## What it can access

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

- [Instructions only, no scripts](https://github.com/stepfun-ai/Step-Code/tree/HEAD/packages/coding-agent/test/fixtures/skills/invalid-yaml)
- [License: MIT](https://github.com/stepfun-ai/Step-Code/tree/HEAD/packages/coding-agent/test/fixtures/skills/invalid-yaml)

## Features

- **Malformed frontmatter:** The description field contains an unclosed bracket, producing invalid YAML.
- **Loader test fixture:** Lives in the coding-agent test fixtures folder to exercise error handling for bad skills.
- **Single-file folder:** Contains only a SKILL.md with no scripts or reference files.

## Good for

- Testing how a skill loader reports invalid YAML frontmatter
- Reproducing parsing errors in agent skill discovery
- Studying the Step-Code test fixtures layout

## Install

### Claude Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/stepfun-ai/Step-Code.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/invalid-yaml &&
cp -R "$tmp/packages/coding-agent/test/fixtures/skills/invalid-yaml" ~/.claude/skills/invalid-yaml &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/stepfun-ai/Step-Code.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/invalid-yaml &&
cp -R "$tmp/packages/coding-agent/test/fixtures/skills/invalid-yaml" ~/.agents/skills/invalid-yaml &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/stepfun-ai/Step-Code.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/invalid-yaml &&
cp -R "$tmp/packages/coding-agent/test/fixtures/skills/invalid-yaml" ~/.cursor/skills/invalid-yaml &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/invalid-yaml` 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/stepfun-ai/Step-Code.git --path packages/coding-agent/test/fixtures/skills/invalid-yaml
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/stepfun-ai/Step-Code.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/invalid-yaml &&
cp -R "$tmp/packages/coding-agent/test/fixtures/skills/invalid-yaml" ~/.copilot/skills/invalid-yaml &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/stepfun-ai/Step-Code.git
```

Then copy `Step-Code/packages/coding-agent/test/fixtures/skills/invalid-yaml` into your agent's skills folder as `invalid-yaml`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Is this a usable skill?

No. It is a test fixture whose frontmatter is intentionally invalid YAML.

### Does Invalid YAML include scripts or tools?

No. The folder has one file and no scripts, and allowed tools are not set.

### What license applies?

The Step-Code repository is MIT licensed.

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

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

### Does Invalid YAML 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?

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?

The closest alternatives to Invalid YAML are Invalid YAML compact mapping, YAML plain scalar, Valid skill, Multiline description and Invalid name.

## Where this comes from

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

## Alternatives

- [Invalid YAML compact mapping](https://ai-powered.com/skills/invalid-yaml-compact-mapping): Invalid YAML compact mapping is an open-source agent skill for developer tools.
- [YAML plain scalar](https://ai-powered.com/skills/yaml-plain-scalar): YAML plain scalar is an open-source agent skill for developer tools.
- [Valid skill](https://ai-powered.com/skills/valid-skill): Valid skill is an open-source agent skill for developer tools.
- [Multiline description](https://ai-powered.com/skills/multiline-description): Multiline description is an open-source agent skill for developer tools.
- [Invalid name](https://ai-powered.com/skills/invalid-name-stepfun-ai): Invalid name is an open-source agent skill for developer tools.
- [Unknown field](https://ai-powered.com/skills/unknown-field): Unknown field is an open-source agent skill for developer tools.
- [Bad name](https://ai-powered.com/skills/bad-name): Bad name is an open-source agent skill for developer tools.
- [Invalid name](https://ai-powered.com/skills/invalid-name): Invalid name is an open-source agent skill for developer tools.

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