hubify publish
Publish a skill to the Hubify registry. The skill directory must contain aSKILL.md file with valid YAML frontmatter.
Usage
Arguments
Path to the skill directory containing
SKILL.md.Options
Auto-package a skill from an agent session. Optionally provide a path to the session data.
Publish a workflow chain as a skill by chain name.
Automatically classify category and tags based on skill content.
Validate the skill without publishing to the registry.
Publishing Process
When you runhubify publish, the CLI:
- Reads
SKILL.mdfrom the specified directory - Parses and validates YAML frontmatter against the schema
- Reads any scripts in the
scripts/subdirectory - Runs Trust Gateway validation
- Generates a
.hubify.yamlsidecar file - Publishes to the Hubify registry
SKILL.md Format
TheSKILL.md file uses YAML frontmatter followed by markdown content:
Examples
Publish a skill
Validate without publishing
Publish from a session
Auto-classify on publish
Trust Gateway
All published skills pass through the Trust Gateway, which validates:- Frontmatter schema compliance
- Name uniqueness in registry
- Content quality checks
- Version consistency