Skode Skript

Automations that read like English.

A real language — variables, data types, loops, and functions — that stays a sentence. Write .skript files in any editor, run them locally, deploy them to Skode.

Install — one command, works today
$curl -fsSL https://developer.skode.ai/skript/install.sh | bash
$npm install -g https://developer.skode.ai/skript/skode-skript-latest.tgz
Node ≥ 18. Installs the skript CLI (also aliased as skode) and editor highlighting.
This page is Skript for automations — the sentence-shaped language for business rules (.skript files, the CLI, this playground). For the code-step dialect that runs inside workflows, head to the in-product Playground →

Try it right here

the real interpreter, running in your browser — nothing leaves the page
AI score
trace — runs in your browser, real interpreter
Press Run (or Ctrl/⌘+Enter) to execute against the simulated event.
The whole language in five lines
when a new lead arrives
score it with ai
if score is hot then
assign to "Maya" and reply on whatsapp
"Thanks! We'll call you in 10 minutes 👋"
skript run lead-autopilot.skript
● event: lead.created     → name: Ada Lovelace · phone: +1 555 0100 …
⚡ score it with ai        → score 79 · HOT (signals: phone, email, budget)
✓ if score is hot         → yes
→ assign to "Maya"        → lead assigned
💬 reply on whatsapp       → "Thanks! We'll call you in 10 minutes 👋"
✔ done in 1.8ms — 1 message · assigned to Maya

Variables

Named containers — one namespace with the event's own fields.

set counter to 0
increase counter by 1
set greeting to "Hi " + name

Data types

Numbers, strings, booleans — and lists, made with commas.

set total to budget * 2 + 50
set vip to true
set channels to "whatsapp", "email"

Control structures

if / otherwise, plus three loops. while is capped at 1000 — typos can't hang anything.

repeat 3 times
for each ch in channels
while counter is below 5

Functions

Define once with “to …”, call it as a plain sentence — order-free.

to welcome the lead
reply on whatsapp "Welcome {name}! 👋"
welcome the lead # ← the call

Syntax

Indentation is structure. One statement per line, “and” chains, # comments, {field} interpolation.

# reads like English, runs like code
add tag "vip" and log "tagged {name}"

The CLI

skript newscaffold the poster program
skript run file.skriptrun against a simulated event (--score · --data · --json)
skript check file.skriptparse only — line-numbered errors, exit 1
skript add <name>install a package from the marketplace
skript install-editorhighlighting + snippets for VS Code / Cursor / Windsurf

Quick reference

the full tables live in the Tutorial and LANGUAGE.md

Events

when a new lead arriveslead.created
when a form is submittedform.submitted
when a message arrivesmessage.received
when an invoice is paidinvoice.paid
when a deal is wondeal.won
when "custom.key" happensas quoted

Actions

score it with aiassign to "Maya"reply on whatsapp "…"send email to "[email protected]" "…"add tag "vip"create task "…" for "Sam"set total to budget * 2increase counter by 1wait 2 dayslog "note"stop

Conditions

score is hot / warm / coldbudget is above 1000amount is at least 500plan is "pro"source is not ""message contains "pricing"vip (truthy check)

Conditions are atomic — compose with nested ifs. Loops: repeat N times · for each x in list · while … (capped at 1,000).

Skode
The Skript
Tutorial
Release 0.2.0

The Skode Skript Tutorial — the whole language, properly

A 51-page book in the tradition of the great language tutorials: 17 chapters, an 11-recipe cookbook, a formal reference, a glossary, and a coming-from-other-languages translation table. Every example was executed against the real interpreter at build time — the outputs printed are the outputs produced.

Ready-made Skripts in the marketplace

Every listing installs with skript add <name> — open source, free to fork.

Browse the marketplace