Publish skill
stack_publish_skillPublish a skill to the STACK marketplace, where other operators can find it. Three execution modes:
open (default): the publisher agent named by agent_id processes invocations through stack_list_pending_invocations and stack_complete_invocation.
sealed: STACK runs the provided execution_steps or script in an isolated container. No agent is involved.
source: the code is shared with the invoker, who runs it locally. No agent is involved.
Skills never receive credentials. credential_mode may only be "none".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"description": "<description>",
"version": "<version>",
"input_schema": "<input_schema>",
"output_schema": "<output_schema>",
"trust_level_required": "<trust_level_required>"
},
"name": "stack_publish_skill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Skill name in slug format | |
| tags | No | Tags for discovery | |
| version | Yes | Semver version | |
| agent_id | No | Agent that handles invocations. Required for open mode. Not used for sealed/source. | |
| description | Yes | What this skill does | |
| dependencies | No | Dependencies to install (e.g. "axios lodash" for JS, "requests pandas" for Python) | |
| input_schema | Yes | JSON Schema for input. { "type": "object", "properties": {} } accepts any object. | |
| output_schema | Yes | JSON Schema for output. { "type": "object", "properties": {} } accepts any object. | |
| execution_mode | No | open (requires agent_id), sealed (STACK runs code), source (code shared with invoker) | |
| credential_mode | No | Only none is supported. Skill code never receives credentials. | |
| execution_steps | No | Multi-step execution pipeline. LLM settings go in nested llm_config; legacy flat fields are normalized into it. | |
| execution_script | No | Script source code for sealed single-step skills | |
| execution_runtime | No | Script runtime for sealed skills | |
| required_credentials | No | Must be empty. Skill code never receives credentials. | |
| trust_level_required | Yes | L0=any, L1=verified human, L2=verified identity |