Marketplace Publish
Package and submit skills to the Crewly marketplace. This skill handles validation, archiving, and submission to both local and remote registries.
Actions
`validate` — Check a skill directory before publishing
bash {{AGENT_SKILLS_PATH}}/marketplace/marketplace-publish/execute.sh '{"action":"validate","skillPath":"{{PROJECT_PATH}}/config/skills/agent/my-skill"}'
Returns valid: true/false with any errors and warnings.
`publish` — Package and submit to local marketplace
bash {{AGENT_SKILLS_PATH}}/marketplace/marketplace-publish/execute.sh '{"action":"publish","skillPath":"{{PROJECT_PATH}}/config/skills/agent/my-skill"}'
This creates a tar.gz archive and submits it to the local Crewly backend for review. The skill becomes available in the local marketplace once approved.
`publish-remote` — Submit to both local and remote registries
bash {{AGENT_SKILLS_PATH}}/marketplace/marketplace-publish/execute.sh '{"action":"publish-remote","skillPath":"{{PROJECT_PATH}}/config/skills/agent/my-skill"}'
Publishes to the local review queue AND to the public marketplace. The public path goes through the authenticated Crewly Cloud flow (crewly publish --cloud) — it requires crewly cloud login, and the cloud opens a PR to the skills repo on your behalf (a maintainer reviews + merges it). It does NOT write the registry directly: that admin endpoint is correctly restricted (returns 401 to unauthenticated callers), and sending an admin token from a user skill would leak it to every machine.
If you are not logged in, the local submission still succeeds; the result includes a cloudError and a hint to run crewly cloud login, then retry.
`list-submissions` — View submission status
bash {{AGENT_SKILLS_PATH}}/marketplace/marketplace-publish/execute.sh '{"action":"list-submissions"}'
Filter by status:
bash {{AGENT_SKILLS_PATH}}/marketplace/marketplace-publish/execute.sh '{"action":"list-submissions","status":"pending"}'
Skill Directory Requirements
A valid skill directory must contain:
skill.json— Metadata with id (kebab-case), name, description, version (semver), category, assignableRoles, tagsexecute.sh— Executable bash script (the skill's entry point)instructions.md— Usage documentation for the agent
When to Use
- After creating a new skill — validate and publish it to share with the team
- After updating a skill — bump the version and re-publish
- To share capabilities — publish skills that other agents or teams can benefit from
- To check quality — validate a skill before committing it
Output
JSON response with publish status, including submission ID for tracking.