Skip to content
Skill

Invalid YAML

Test fixture skill with deliberately malformed YAML frontmatter

Invalid YAML is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
1.1K
Last commit
License
MIT
Listing updated

Similar skills

About Invalid YAML

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

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (129 bytes) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Invalid YAML 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.

More from stepfun-ai/Step-Code

  1. Placeholder calendar skill used as a test fixture for skill name collisions

    • Open source
    • 1.1K GitHub stars
    • Developer tools
  2. Test fixture skill showing a nested skill folder in a subdirectory

    • Open source
    • 1.1K GitHub stars
    • Developer tools
  3. Minimal test fixture showing a valid SKILL.md for the Agent Skills standard

    • Open source
    • 1.1K GitHub stars
    • Developer tools
  4. Test fixture skill with consecutive hyphens in its name, not a usable skill

    • Open source
    • 1.1K GitHub stars
    • Developer tools
  5. Test fixture skill that the model cannot invoke, only a manual slash command

    • Open source
    • 1.1K GitHub stars
    • Developer tools
  6. Test fixture skill with an invalid name, used to check skill name validation

    • Open source
    • 1.1K GitHub stars
    • Developer tools