A skill pack is a directory with a SKILL.md at the root. Additional files (scripts, templates, examples) are bundled alongside it.
---
name: my-skill # required — must match pack slug
description: One line. # required
allowed-tools: # optional — list of tool tokens
- Bash
- Read
model: claude-opus-4-7 # optional — preferred model
hooks: # optional — Claude Code lifecycle hooks
PreToolUse:
- Bash
---
# Body
Your instructions follow the frontmatter.Only the following tokens are permitted in allowed-tools:
BashWebFetchWebSearchWriteEditReadGlobGrepMCP tool tokens (mcp__*) are not supported.
Commands annotated in the body are extracted and stored in commands_manifest. Two annotation forms are supported:
# Inline (single backtick with ! prefix):
Run `!git diff HEAD` to see changes.
# Fenced block (triple backtick with ! language):
```!
git log --oneline -20
```These are surfaced on the pack detail page so buyers can see what commands the skill runs.
Total pack size must not exceed 500 KB. The secret scanner will reject any file containing API keys or tokens.