lua marketplace publishes and installs marketplace skills and agent templates. template publish and template apply change other people’s agents; the rest acts on listings or on the current agent.
Verified against lua-cli 3.33.0.
Synopsis
Description
The noun picks the domain: a marketplace skill is one reusable skill listed for other agents to install; an agent template is a frozen, versioned copy of a whole agent that other agents install and that its creator can push updates to. Without a noun or an action the command offers a menu;skill view and template health exist only as non-interactive actions.
Three flags carry the same meaning everywhere. --force confirms the actions that otherwise stop and ask for it: skill unlist, unpublish, transfer, install, uninstall, and template install, uninstall; template apply asks Apply v<n> to <k> agent(s)? in a terminal and needs --force under --ci. template draft --force instead replaces the authored template: sections wholesale. --yes confirms only the publish consequence prompt. --json is honored by the skill read actions mine, org, search, view, installed and by every template action except uninstall; skill installed --json prints a text line, not [], when nothing is installed.
Under --ci any prompt fails with ✖ error: Interactive prompt required but --ci flag is set. Provide all required flags or arguments. (exit 1); pass --template-id and, for template create, all four of --name, --display-name, --description and --visibility. The authored template: section of lua.skill.yaml is documented in the template manifest.
Arguments
Skill actions
Template actions
Options
Skill options
Template options
Examples
Create a template from the current agent, draft its authored sections, then publish the first version with its env contract.Output
Exit codes
See also
- Publish a template — create, draft and publish end to end
- Template manifest — the
template:sectiondraftwrites andpublishreads - Install and apply and Fleet health
- Marketplace skills — listing and installing skills
lua version— the rollback after an install or apply

