Publishing Skills
Share your AI agent capabilities with the community by publishing skills to Agent Skill Hub.
What is a Skill?
A skill is a reusable capability that an AI agent can use, defined by:
- SKILL.md — Metadata and instructions
- Supporting files — Code, config, or documentation (optional)
SKILL.md Format
The SKILL.md file is the core of your skill. It uses YAML frontmatter for metadata and Markdown for documentation.
Example SKILL.md
Frontmatter Fields
Slug Naming
- Use lowercase letters, numbers, and hyphens
- Keep it descriptive but concise
- Must be unique within your namespace
- Examples:
api-client,data-analysis,slack-integration
Repository Structure
Single Skill Repository
Multi-Skill Repository
Publishing Methods
Method 1: GitHub Import (Recommended)
-
Push to GitHub
-
Import via Web Platform
- Log in to agentskillhub.dev
- Go to Import page
- Enter your repository URL
- Select skills to import
- Publish
-
Update Skills
- Push new commits to GitHub
- Re-import to update the platform
Method 2: API Upload (Coming Soon)
Direct API upload will be available for CI/CD integration.
Versioning
Use Semantic Versioning:
- MAJOR — Breaking changes
- MINOR — New features, backward compatible
- PATCH — Bug fixes, backward compatible
Version Updates
When you re-import a skill with a new version:
- Old versions remain available
- New installs get the latest version
- Existing installs can update via
skhub sync
Best Practices
1. Clear Descriptions
Write a clear, concise description. Users scan these quickly.
2. Good Documentation
Include in your SKILL.md:
- What the skill does
- How to use it
- Configuration options
- Example prompts
3. Categorize Properly
Choose relevant categories and tags for discoverability:
4. Test Before Publishing
Verify your skill works as expected:
- Install locally:
skhub add ./local-path - Test with your agent
- Fix any issues
- Publish
5. Keep Files Small
- SKILL.md should be under 100KB
- Supporting files should be necessary
- Large assets should be linked, not embedded
Skill Categories
Common categories include:
api— API clients and integrationsdata— Data processing and analysisdevops— DevOps and infrastructurecommunication— Messaging, email, notificationsautomation— Workflow automationsecurity— Security tools and scannerstesting— Testing utilitiesdocumentation— Documentation generators
Creating a Skillset
Group related skills into a skillset:
- Log in to the web platform
- Navigate to your account
- Click "New Skillset"
- Add skills from your published skills
- Publish to make it public
Skillsets are useful for:
- Team onboarding kits
- Domain-specific collections
- Tutorial bundles
- Workflow templates
Troubleshooting
Import Fails
- Verify SKILL.md has all required frontmatter
- Check that YAML syntax is valid
- Ensure slug is unique
Skill Not Appearing
- Check that the repository is public
- Verify the SKILL.md file is in the root or subdirectory
- Wait a moment for indexing (usually instant)
Version Conflicts
- Ensure version is incremented for updates
- Use semantic versioning consistently
- Check for typos in version strings
Next Steps
- CLI Reference — Learn how users install your skills
- API Reference — Programmatic access to skills
- Visit agentskillhub.dev to start publishing

