uniform-automations
Installation
SKILL.md
Uniform automations
Serverless functions authored in the user's repo and deployed with the Uniform CLI. This skill is the judgement the SDK types don't give you. Product surface: automations guide. Signatures: JSDoc in @uniformdev/automations-sdk and @uniformdev/canvas.
Mental model
One automation is one TypeScript module that default-exports the result of a define function. Everything else it imports is just modules.
defineAutomation({ metadata, handler }) |
defineScoutAutomation(metadata, instructions) |
|
|---|---|---|
| You write | code | natural-language instructions |
| The actions are | whatever your handler does | the tool calls the Scout agent makes |
| Runs as | your bundled code, in Uniform's sandbox | Uniform's Scout agent, headlessly |
permissions |
optional | required — the agent has no authority without a role |
| Cost | compute only | consumes AI credits per run |
Both live in *.automation.ts; the CLI infers which from the default export. The public ID is the filename: send-welcome.automation.ts deploys as send-welcome. Renaming orphans the deployed automation; deleting the old one is a separate uniform automation delete.