Skip to content

mpak skill

Validate, pack, search, download, and install Agent Skills using the mpak CLI.

Validate a skill directory against the Agent Skills spec.

Terminal window
mpak skill validate <path>

Checks that:

  • The directory contains a SKILL.md file
  • The YAML frontmatter is valid (name, description, etc.)
  • The skill name matches the directory name
  • Warns about missing optional metadata (tags, category, version)
OptionDescription
--jsonOutput validation result as JSON
Terminal window
$ mpak skill validate ./my-skill
Validating ./my-skill...
Valid: my-skill
SKILL.md found
Required fields
├─ name: my-skill
└─ description: A helpful skill (42 chars)
Optional fields
└─ license: MIT
Warnings:
No tags in metadata - consider adding for better discovery

Exit code is 1 if validation fails, 0 if valid.

Create a .skill bundle from a validated skill directory.

Terminal window
mpak skill pack <path>

Validates the directory first, then creates a ZIP archive as a .skill file. The output includes the bundle path, size, and SHA256 hash.

OptionDescription
-o, --output <path>Output file path (default: ./<name>-<version>.skill)
--jsonOutput as JSON
Terminal window
$ mpak skill pack ./my-skill
Validating ./my-skill...
Valid: my-skill
Creating bundle...
Created: my-skill-1.0.0.skill (2.4 KB)
SHA256: abc123def456...

Search for skills in the registry.

Terminal window
mpak skill search <query>
OptionDescriptionDefault
--tags <tags>Filter by tags (comma-separated)All tags
--category <category>Filter by categoryAll categories
--surface <surface>Filter by surface: claude-code, claude-api, claude-aiAll surfaces
--sort <field>Sort by: downloads, recent, namedownloads
--limit <n>Maximum results20
--offset <n>Pagination offset0
--jsonOutput as JSONHuman-readable

Show detailed information about a skill.

Terminal window
mpak skill show <name>

Displays metadata (license, category, tags, author, downloads), triggers, examples, and version history.

OptionDescription
--jsonOutput as JSON

Download a .skill bundle from the registry to your local filesystem.

Terminal window
mpak skill pull <name>

Downloads the .skill file and verifies its SHA256 hash.

OptionDescription
-o, --output <path>Output file path
--jsonOutput as JSON
Terminal window
$ mpak skill pull @nimblebraininc/deploy
Pulling @nimblebraininc/deploy@1.0.0...
Downloaded deploy-1.0.0.skill (3.2 KB)
SHA256: abc123def456...
Path: /path/to/deploy-1.0.0.skill

Download and install a skill to ~/.claude/skills/ for use in Claude Code.

Terminal window
mpak skill install <name>

Downloads the .skill bundle, verifies its SHA256 hash, and extracts it to ~/.claude/skills/<skill-name>/.

OptionDescription
--forceOverwrite existing installation
--jsonOutput as JSON
Terminal window
$ mpak skill install @nimblebraininc/deploy
Pulling @nimblebraininc/deploy@1.0.0...
Downloaded deploy-1.0.0.skill (3.2 KB)
Extracting to /Users/you/.claude/skills/deploy/
Installed: deploy
Skill available in Claude Code. Restart to activate.

List skills installed in ~/.claude/skills/.

Terminal window
mpak skill list
OptionDescription
--jsonOutput as JSON
Terminal window
$ mpak skill list
Installed skills:
NAME VERSION DESCRIPTION
deploy 1.0.0 Deploy to production with checks
lint 0.2.0 Run project linters
2 skill(s) installed in /Users/you/.claude/skills