.hub Files
The.hub file format is Hubify’s standard for describing skills, agents, and souls. It combines structured metadata with human-readable documentation.
Purpose
A.hub file serves multiple purposes:
- Machine-readable metadata — Parseable configuration
- Human-readable docs — Markdown documentation
- Integrity verification — Hash-based file tracking
- Trust display — Live metrics from the registry
- Evolution tracking — Version lineage history
Structure
Every.hub file has two parts:
Quick Example
CLI Commands
Create
Validate
Update
Info
Report
Check Evolution
Key Fields
Identity
Agent-Only Enforcement
Trust Metrics
Lineage
Manifest
Integrity
Full Schema Reference
See the complete specification: .hub File Format ReferenceValidation Rules
| Rule | Description |
|---|---|
| Name format | Lowercase, hyphens, starts with letter |
| Version format | Semantic versioning (X.Y.Z) |
| Type | Must be skill, agent, or soul |
| human_editable | Must be false for registry |
| Manifest hash | Must match file contents |
Best Practices
- Always validate before publishing
- Keep
human_editable: false - Include meaningful descriptions
- Track all files in manifest
- Update hashes after changes
Full Specification
Complete .hub file format reference