# claude plugin validate Command

> It checks a plugin you are making for mistakes.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** claude plugin validate, Validate a plugin

## Think of it like

It is like a friend reads your work first. They find what is wrong before you hand it in.

## Definition

claude plugin validate checks a plugin you are making. It reads the plugin's manifest, a marketplace's manifest, or the skills, agents and commands in a folder. Then it lists what is wrong. It ends with code 0 when all is well and 1 when it finds a problem. So a CI job can stop a broken plugin from being shared.

## Example

Jack's plugin repo runs claude plugin validate on each pull request. One day plugin.json is missing a field. The check fails before anyone installs it.

## Example code

```bash
claude plugin validate ./my-plugin
```

Check a plugin folder.

## Why it matters

A plugin with a broken manifest fails for everyone who installs it. This catches it first.

## Common mistake

Thinking a pass means the plugin works well. It checks the shape of the files, not whether its skills do a good job. claude plugin eval tests that.

## Three principles

- **Checks the files.** Manifests and parts.
- **Exit 0 or 1.** CI can stop it.
- **Shape, not quality.** eval tests that.

## Related terms

- [claude plugin eval Command](https://learn.benibix.com/term/ai/claude-plugin-eval-command)
- [Claude Code Plugin](https://learn.benibix.com/term/ai/claude-code-plugin)
- [Plugin Marketplace](https://learn.benibix.com/term/ai/plugin-marketplace)

## Told apart from

- [claude plugin validate vs claude plugin eval](https://learn.benibix.com/compare/claude-plugin-validate-command-vs-claude-plugin-eval-command): People think a plugin that passes claude plugin validate is a plugin that works. Validate only checks the shape of the files: the manifest, and the skills, agents and commands in the folder. claude plugin eval runs prompts through the plugin many times and scores the answers, with it and without it. So it shows if the plugin helps. A plugin can pass validate and still make Claude worse. Run validate on each change, and eval when what it does changes.

## Taught in

- [The claude plugin Commands](https://learn.benibix.com/learn/ai-claude-code-commands/claude-plugin-commands): Claude Code Commands, 13/17

![Using a plugin: marketplace, install, scope. Making one: validate, then eval, then share.](https://learn.benibix.com/diagrams/cli-plugin-flow.svg)

---

Source: https://learn.benibix.com/term/ai/claude-plugin-validate-command
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
