# Claude skill upload: SKILL.md frontmatter missing name or description

> The SKILL.md frontmatter was found but lacks a `name` or a `description` field, or one of them is empty. The exact message, why Claude skill upload prints it, and the fix.

_Updated November 23, 2026_

## The message

```text
SKILL.md frontmatter missing name or description
```

## What it means

The SKILL.md frontmatter was found but lacks a `name` or a `description` field, or one of them is empty. Claude requires both to register a skill.

## Fix

1. Add both fields at the top level of the frontmatter, for example `name: my-skill` and `description: What it does and when to use it.`
2. Use lowercase letters, numbers and hyphens for `name`, matching the skill's folder name.
3. Check the frontmatter parses as YAML, for example with the skills-ref reference tool, or `claude plugin validate` for a skill inside a plugin, then import again.

## In an EnvHaven workspace

It can happen anywhere Claude skill upload runs; the fix above applies in a workspace too.

## Where this comes from

From Claude skill upload's documentation and issue tracker:

- [github.com/ShZhao27208/Aut_Sci_Write/issues/8](https://github.com/ShZhao27208/Aut_Sci_Write/issues/8)
- [github.com/op7418/guizang-ppt-skill/issues/26](https://github.com/op7418/guizang-ppt-skill/issues/26)
- [claude.com/docs/skills/how-to](https://claude.com/docs/skills/how-to)

## Keep reading

- [Every agent error](https://envhaven.com/errors)

Source: https://envhaven.com/errors/claude-skills/skill-md-frontmatter-missing-name-or-description
