lore publish
Package and publish a skill to the Lore registry.
Usage
lore publish [<path>] [flags]Description
Validates the manifest.yaml, compresses the package directory into a .lore archive, and uploads it to the registry. Requires lore login or LORE_AUTH_TOKEN.
Flags
| Flag | Description |
|---|---|
--dry-run | Validate and package without uploading |
--registry | Registry URL |
Examples
# Publish from the current directory
lore publish
# Publish from a specific directory
lore publish ./my-skill
# Dry run — validate without uploading
lore publish --dry-runPackage Structure
Your package directory must contain:
my-skill/
├── manifest.yaml ← Required
├── README.md
├── LICENSE
└── content/
├── en-US.md ← Required (default language)
└── pt-BR.md ← Optional translationsSee Package Authoring for the full manifest.yaml schema.
Published packages are immutable. Once a version is published, it cannot be overwritten. Use a new version number for updates.