The short version
- The agent gets a client, not the package. A short
SKILL.mdsays when to use the Skill and how to call one MCP tool. - The package runs server-side, in the sandbox described on What is a Skill?.
- Secrets never reach you. Model and media keys are injected server-side; the client never sees them.
- You get content, structured blocks and a usage record, including the credits the run cost.
What the agent receives
| On install | On every run |
|---|---|
| A SKILL.md naming the Skill, when to use it, and the MCP tool to call | Nothing new — the client stays as installed |
| The MCP configuration entry | The newest approved package is loaded on the server |
| An nsk_ key in the package MCP config | The key authenticates the call only |
The client SKILL.md is deliberately small: a description, an invocation rule and the tool name. The reasoning-heavy workflow lives in the hosted package.
What happens on a run
- The agent calls the Skill's MCP tool (or
POST /agents/skills/{id}/invokeover REST) with your message and, optionally, attachments. - NeoSpark loads the newest approved version of the package inside the runtime.
- The model reads
SKILL.mdand the task, and may call declared tools. - Tools execute under the mode rules below, inside the sandbox.
- The runtime assembles the result — content, optional structured blocks, and a
usageobject with token counts and the credits the run cost. - The agent shows you the result and, for paid runs, reports what it cost.
A session_id in the response continues the same conversation: pass it back to keep the Skill's context instead of starting fresh.
Inline vs subprocess, from the outside
| Mode | What the model can do | What is blocked |
|---|---|---|
| Inline | Run small Python blocks the platform extracts from SKILL.md | File I/O, network, dynamic imports, eval/exec/open; merged Python over 500 lines |
| Subprocess | Call declared scripts as tools, read and write inside the run output directory | Escape the output directory; run past 300 s per tool; exceed 10 MB of combined output |
Subprocess tools are named <skill_id>_<tool_name>. The platform calls each with:
python <script> --output-dir <dir> --input-json <json-payload>A tool reports success with exit code 0 and one JSON line on stdout; diagnostics go to stderr. A long job can persist an ID and return timed_out: truerather than block. Files a declared file_generating_scripts tool writes are uploaded and returned to you as links; the package itself is never exposed.
Files and size limits
| Thing | Limit |
|---|---|
| SKILL.md | 512 KB |
| ZIP package | 20 MB compressed, 100 MB uncompressed, 200 files |
| Script run | 300 s, 10 MB combined output |
| Package search | SKILL.md found at any depth, case-insensitively |
Preview images are listed on the page and served as images; package source files are not downloadable by users.
Model selection
The manifest's model field sets the default; the platform falls back toanthropic:claude-opus-5 when it is absent. A caller can override per run withmodel_override, and set thinking_depth to low,medium or high. The model actually used is returned in the response, so a run can always be matched to its rate inPlans and credits.
Secrets
env_whitelist names the environment variables a package's scripts may read. The platform injects them at run time; nothing is stored in the package. Model and media-provider keys live in NeoSpark's vault and are never returned in a response, a log or a preview.
This is why creators never ask for your API keys and users never see the creator's.
Cost
Every run that touches a model returns a usage block. Credits are computed as:
max(1, ceil((input_tokens × input_rate + output_tokens × output_rate) / 1,000,000))If the creator set a price, it is charged in the same run. Failed runs that never reached a model cost nothing. The full table is inPlans and credits.
Updates, sessions and versioning
- Newest version on every run. There is no pinning; a creator's update applies to your next request.
- No reinstall for content updates. The client only changes if the tool contract changes, which is why creators are told to keep
scriptsandtool_inputsstable across minor versions. - Sessions are per Skill. A
session_iddoes not carry across two different Skills.
What does not happen
- The package is not written into your project, your repo or your agent's skill folder.
- The licence does not let you copy, export or resell the Skill.
- Failed runs do not charge credits, and a paid run does not start without your approval.