publish
FreeNo executable scriptsNot checkedPublish a Harbor task or dataset to the registry. Use when the user wants to upload, publish, or share tasks or datasets/benchmarks on the Harbor registry.
by harbor-framework★ 7,621 GitHub starsAbout this skill
Help the user publish a Harbor task or dataset to the registry. Walk them through each step, checking prerequisites and confirming before running publish commands.
All commands use uvx harbor so the user does not need to install the CLI globally.
Prerequisites
Auth: Ensure the user is logged in by running
uvx harbor auth status. If not logged in, prompt them to runuvx harbor auth login.Task identifiers: All tasks must have a
[task]section in theirtask.tomlwith a name like<org>/<name>. If missing, run:uvx harbor task update "<path/to/task>" --org "<org>"To update all tasks in a directory:
uvx harbor task update "<path/to/tasks>" --org "<org>" --scan
Publishing a task
uvx harbor publish "<path/to/task>"
Publish multiple tasks or all tasks in a directory:
uvx harbor publish "<path/to/task-a>" "<path/to/task-b>"
uvx harbor publish "<path/to/tasks>"
Publishing a dataset
1. Initialize the dataset manifest (if no dataset.toml exists)
uvx harbor dataset init "<org>/<dataset>" \
--description "<description>" \
--author "Jane Doe <[email protected]>"
Add --with-metric if the user needs a custom metric script. If omitted, the dataset uses the default metric (average reward across tasks, with missing values treated as 0).
Auto-add behavior: If dataset init is run in a directory that already contains tasks, those tasks are automatically added to the manifest. After init, ask the user if they want to add additional tasks — either from the Harbor registry or from other local folders.
2. Add additional tasks and files (optional)
cd "<path/to/dataset>"
uvx harbor dataset add "<path/to/task-a>" "<path/to/task-b>" # local tasks from elsewhere
uvx harbor dataset add "<path/to/folder>" --scan # all tasks in another folder
uvx harbor dataset add org/task-name # published tasks from registry
uvx harbor dataset add org/dataset-name # all tasks from a published dataset
uvx harbor dataset add metric.py # metric file (same dir as dataset.toml)
uvx harbor dataset remove "<org>/<task-name>" # remove a task
Specific versions: org/task@tag, org/task@revision, or org/task@sha256:<hash>.
3. Sync digests (if tasks/metrics changed since last publish)
uvx harbor sync
uvx harbor sync --upgrade # also upgrade remote tasks to latest
4. Publish the dataset
uvx harbor publish "<path/to/dataset>"
uvx harbor publish automatically refreshes digests of local tasks in the dataset directory.
Publish options (tasks and datasets)
-t / --tag: add tags (repeatable).latestis always included.-c / --concurrency: control upload concurrency.--public: make public (private by default).--no-tasks(datasets only): skip publishing tasks in the dataset directory.
Example:
uvx harbor publish "<path>" -t v1.0 --public
After publishing
- Visibility can be changed later with
uvx harbor task visibility/uvx harbor dataset visibilityor on https://hub.harborframework.com/. - Run a published dataset with:
uvx harbor run -d "<org>/<dataset>@v1.0" -a "<agent>" -m "<model>"
Install publish in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the publish skill do?
Publish a Harbor task or dataset to the registry. Use when the user wants to upload, publish, or share tasks or datasets/benchmarks on the Harbor registry.
How do I install the publish skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the publish skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic