skills/e3/SKILL.md
East Execution Engine (e3) - durable dataflow execution for East programs. Use when: (1) Authoring e3 packages with @elaraai/e3 (e3.input, e3.task, e3.package, e3.export), (2) Running e3 CLI commands (e3 repo create, e3 start, e3 watch, e3 get, e3 set), (3) Working with workspaces and packages, (4) Content-addressable caching and dataflow execution.
npx skillsauth add elaraai/east-plugin e3Install this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
e3 is a durable dataflow execution engine for East programs with content-addressable caching.
// src/index.ts
import { East, StringType } from '@elaraai/east';
import e3 from '@elaraai/e3';
// Define an input
const name = e3.input('name', StringType, 'World');
// Define a task
const greet = e3.task(
'greet',
[name],
East.function([StringType], StringType, ($, n) =>
East.str`Hello, ${n}!`
)
);
// Bundle and export
const pkg = e3.package('hello', '1.0.0', greet);
await e3.export(pkg, '/tmp/hello.zip');
export default pkg;
# Create repository
e3 repo create .
# Import and deploy
e3 package import . /tmp/hello.zip
e3 workspace create . dev
e3 workspace deploy . dev [email protected]
# Execute dataflow
e3 start . dev
# Get result
e3 get . dev.tasks.greet.output
Define an input dataset at .inputs.${name}.
const name = e3.input('name', StringType, 'default');
const count = e3.input('count', IntegerType);
Define a task that runs an East function.
const greet = e3.task(
'greet',
[name], // dependencies (inputs or other task outputs)
East.function([StringType], StringType, ($, n) =>
East.str`Hello, ${n}!`
)
);
// With custom runner
const pyTask = e3.task(
'py_task',
[input],
East.function([IntegerType], IntegerType, ($, x) => x.multiply(2n)),
{ runner: ['uv', 'run', 'east-py', 'run', '-p', 'east-py-std'] }
);
// Chain tasks via .output
const shout = e3.task(
'shout',
[greet.output],
East.function([StringType], StringType, ($, s) => s.toUpperCase())
);
Define a task that runs a shell command.
const process = e3.customTask(
'process',
[rawData],
StringType,
($, input_paths, output_path) =>
East.str`python script.py -i ${input_paths.get(0n)} -o ${output_path}`
);
Bundle into a package. Dependencies are collected automatically.
const pkg = e3.package('myapp', '1.0.0', finalTask);
Export package to a .zip file.
await e3.export(pkg, '/tmp/myapp.zip');
e3 repo create <repo> # Create a new repository
e3 repo status <repo> # Show repository status
e3 repo remove <repo> # Remove a repository
e3 repo gc <repo> [--dry-run] # Garbage collect unreferenced objects
e3 package import <repo> <zipPath> # Import from .zip
e3 package export <repo> <pkg> <zipPath> # Export to .zip
e3 package list <repo> # List packages
e3 package remove <repo> <pkg> # Remove package
e3 workspace create <repo> <name> # Create workspace
e3 workspace deploy <repo> <ws> <pkg[@ver]> # Deploy package
e3 workspace export <repo> <ws> <zipPath> # Export workspace
e3 workspace import <repo> <ws> <zipPath> # Import package zip into workspace
e3 workspace list <repo> # List workspaces
e3 workspace status <repo> <ws> # Show workspace status
e3 workspace remove <repo> <ws> # Remove workspace
e3 list <repo> [path] # List tree contents
e3 list <repo> <path> -r # List all dataset paths recursively
e3 list <repo> <path> -l # Immediate children with type/status/size
e3 list <repo> <path> -r -l # All datasets with type/status/size
e3 get <repo> <path> [-f east|json|beast2] # Get dataset value
e3 set <repo> <path> <file> [--type <spec>] # Set dataset from file
Path format: workspace.path.to.dataset
e3 get . dev.inputs.name
e3 get . dev.tasks.greet.output
e3 set . dev.inputs.name data.east
e3 start <repo> <ws> [--filter] [--concurrency <n>] [--force]
e3 run <repo> <pkg/task> [inputs...] -o <output>
e3 watch <repo> <ws> <source.ts> [--start] [--abort-on-change]
e3 logs <repo> <path> [--follow]
e3 convert [input] [--from <fmt>] [--to <fmt>] [-o <output>]
e3 login <server> # Log in using OAuth2 Device Flow
e3 logout <server> # Log out and clear credentials
e3 auth status # List all saved credentials
e3 auth token <server> # Print access token (for curl/debugging)
e3 auth whoami [server] # Show current identity
All commands accept HTTP URLs instead of local paths:
# Start a server
e3-api-server --repos ./repos --port 3000
# Use remote repository
e3 repo create http://localhost:3000/repos/my-repo
e3 workspace list http://localhost:3000/repos/my-repo
e3 package import http://localhost:3000/repos/my-repo ./pkg.zip
e3 watch . dev ./src/index.ts --start
Auto-compiles, deploys, and runs on file changes.
npm run build && npm run main
e3 package import . /tmp/pkg.zip
e3 workspace deploy . dev [email protected]
e3 start . dev
| Package | Description |
|---------|-------------|
| @elaraai/e3 | SDK: e3.input, e3.task, e3.package, e3.export |
| @elaraai/e3-types | Shared type definitions |
| @elaraai/e3-core | Core library (workspaces, execution, caching) |
| @elaraai/e3-cli | CLI tool |
| @elaraai/e3-api-client | HTTP client for remote servers |
| @elaraai/e3-api-server | REST API server |
my-project/
├── package.json
├── tsconfig.json
├── pyproject.toml # For Python runner
├── src/
│ └── index.ts # Package definition
└── repo/ # Repository (created by e3 repo create)
├── objects/ # Content-addressable object store
├── packages/ # Package metadata
└── workspaces/ # Workspace state
Tasks are cached by content hash. Re-runs only when:
Use --force to bypass: e3 start . dev --force
development
East programming language - a statically typed, expression-based language embedded in TypeScript. Use when writing East programs with @elaraai/east. Triggers for: (1) Writing East functions with East.function() or East.asyncFunction(), (2) Defining types (IntegerType, StringType, ArrayType, StructType, VariantType, etc.), (3) Using platform functions with East.platform() or East.asyncPlatform(), (4) Compiling East programs with East.compile(), (5) Working with East expressions (arithmetic, collections, control flow), (6) Serializing East IR with .toIR() and EastIR.fromJSON(), (7) Standard library operations (formatting, rounding, generation).
tools
--- name: east-ui description: UI component definitions for the East language. Use when building UIs with @elaraai/east-ui. Triggers for: (1) Creating UI components with Stack, Box, Grid, Card, Text, Button, (2) Building forms with Input, Select, Checkbox, Switch, Slider, (3) Displaying data with Table, DataList, Chart, Badge, Tag, Stat, (4) Using overlays like Dialog, Drawer, Popover, Tooltip, Menu, (5) Working with UIComponentType, (6) Styling with variants (FontWeight, TextAlign, ColorScheme,
development
Data science and machine learning platform functions for the East language (TypeScript types). Use when writing East programs that need optimization (MADS, Optuna, SimAnneal, Scipy, Optimization, GoogleOr), machine learning (XGBoost, LightGBM, NGBoost, Torch MLP, Lightning, GP), Bayesian inference (PyMC), simulation (Simulation DES), ML utilities (Sklearn preprocessing, metrics, splits), conformal prediction (MAPIE), or model explainability (SHAP). Triggers for: (1) Writing East programs with @elaraai/east-py-datascience, (2) Derivative-free optimization with MADS, (3) Bayesian optimization with Optuna, (4) Discrete/combinatorial optimization with SimAnneal, (5) Gradient boosting with XGBoost or LightGBM, (6) Probabilistic predictions with NGBoost or GP, (7) Neural networks with Torch MLP or Lightning, (8) Data preprocessing and metrics with Sklearn, (9) Conformal prediction intervals with MAPIE, (10) Model explainability with Shap, (11) Iterative coordinate descent with Optimization, (12) Constraint programming, vehicle routing, LP/MIP, or graph algorithms with GoogleOr, (13) Bayesian regression, hierarchical models, and multi-layer estimation with PyMC, (14) Economic ontology simulation via discrete event simulation with Simulation.
development
Node.js platform functions for the East language. Use when writing East programs that need Console I/O, FileSystem operations, HTTP Fetch requests, Cryptography, Time operations, Path manipulation, Random number generation, or Testing. Triggers for: (1) Writing East programs with @elaraai/east-node-std, (2) Using platform functions like Console.log, FileSystem.readFile, Fetch.get, Crypto.uuid, Time.now, Path.join, Random.normal, (3) Testing East code with describeEast and Assert.