Every skill starts with a SKILL.md file. The YAML frontmatter at the top declares the skill's metadata and requirements. Let me show you a minimal example:
---
name: git-stats
description: Show git commit statistics
requires:
bins:
- git
env:
- GITHUB_TOKEN
config:
- gitUser
os:
- linux
- darwin
---
The name field is your skill's unique identifier on ClawHub. The description appears in the tool list. The requires block lists binaries, environment variables, and config keys the skill depends on. The os array restricts which platforms the skill can run on.