ZelC Command Reference

Complete foundation language reference — every verb, every syntax

commands
categories

No commands match your search

ZelC CommandRust EquivalentDescriptionSample Code
CORE LANGUAGE
CORE LANGUAGE
define functionfnDeclares a function.
define function greet(name) {
    print name
}
printprintln!Prints text to the console.
print 'Hello World'
return valuereturnReturns a value from a function early.
define function get_age() {
    return value 25
}
ififEvaluates a boolean condition.
if user.is_active {
    login()
}
otherwiseelseFallback block for an if condition.
if is_valid {
    proceed()
} otherwise {
    stop()
}
choosematchControl flow based on pattern matching.
choose status {
    "ok" => continue,
    "err" => stop
}
repeatloop/while/forConstructs for repetitive execution.
repeat {
    process_next()
}
repeat whilewhileLoops as long as a condition is true.
repeat while is_running {
    tick()
}
repeat forforLoops over an iterator.
repeat for i in 1..10 {
    print i
}
for eachfor / iterator loopExecutes a block for each item in a collection.
for each user in users {
    notify(user)
}
stop loopbreakExits a loop immediately.
repeat {
    if done { stop loop }
}
skip stepcontinueSkips to the next iteration of a loop.
repeat for item in list {
    if bad { skip step }
}
waitsleepPauses execution for a duration.
wait 5 seconds
print "done"
delaysleepSuspends the current thread/task.
delay 100 ms
resume_work()
do laterdeferExecutes code at the end of a scope (via Drop or scopeguard).
make file = open("data.txt")
do later { close(file) }
yield nowyield_nowCooperatively gives up a timeslice to the scheduler.
run async {
    yield now
}
tryResult / ?Propagates errors upwards if they occur.
make data = try read("x.txt")
print data
catch errorerror handling branchMatches on an Err variant to handle failure.
catch error err {
    log_error(err)
}
always dofinally behavior / scope guardEnsures cleanup code runs via Drop traits.
always do {
    cleanup_memory()
}
raise errorreturn ErrExplicitly returns an error state.
if bad_input {
    raise error "Invalid data"
}
crashpanicTerminates the thread with an unrecoverable error.
if memory_full {
    crash "Out of memory!"
}
checkassertEnsures a boolean expression is true at runtime.
check user.age >= 18
grant_access()
mark todotodoIndicates unfinished code; panics if executed.
define function new_feature() {
    mark todo
}
should never happenunreachableMarks code paths that logically cannot be reached.
otherwise {
    should never happen
}
run asyncasyncMarks a block or function as returning a Future.
run async {
    fetch_api_data()
}
wait forawaitSuspends execution until a Future completes.
make res = wait for fetch()
process(res)
start taskspawnSpawns a new thread or asynchronous task.
start task {
    background_sync()
}
choose first readyselectWaits on multiple concurrent branches, returning the first to finish.
choose first ready {
    a => print a,
    b => print b
}
do nothingno-opAn empty block {} or () unit type.
if ignore_case {
    do nothing
}
VARIABLES AND VALUES
makelet / createBinds a value to a variable pattern.
make x = 5
print x
setassignAssigns a new value to an existing variable.
make mut x = 0
set x = 10
changemutable assignModifies the value of a mutable binding.
make mut status = "idle"
change status = "active"
keepconst / staticDefines compile-time constants or static lifetime global variables.
keep MAX_LIMIT = 100
keep API_URL = "x.com"
copy valueclone / copyDuplicates a value (via Clone trait for deep copies or Copy for bitwise).
make data = "text"
make clone = copy value data
move valuemoveTransfers ownership of a value to a new scope.
make job = get_job()
spawn(move value job)
swap valuesmem::swapSwaps the values at two mutable locations without deinitializing either.
make mut a = 1
make mut b = 2
swap values a, b
take valuemem::takeReplaces a mutable location with its default value, returning the previous value.
make item = take value buffer
process(item)
replace valuemem::replaceMoves a new value into a mutable location and returns the old value.
make old = replace value state 
           with "ready"
drop valuedropExplicitly drops a value, freeing its memory and resources early.
make heavy = load_assets()
drop value heavy
freeze valueimmutable bindingBinds a value without `mut`, making it unchangeable.
make mut config = init()
freeze value config
share valueRc / ArcThread-local (Rc) or thread-safe (Arc) reference-counted smart pointers.
make obj = new_object()
make shared = share value obj
borrow value&Creates a shared, immutable reference to a value.
make list = [1, 2, 3]
make ref = borrow value list
borrow value to change&mutCreates an exclusive, mutable reference to a value.
make mut map = {}
make ref = borrow value to change map
pin valuePinPins a value in memory, guaranteeing it will not be moved.
make task = pending_task()
pin value task
box valueBoxAllocates data on the heap.
make huge_data = load()
make ptr = box value huge_data
clear valueclearEmpties a collection while retaining its allocated capacity.
make mut cache = get_cache()
clear value cache
reset valuereset/defaultReturns a value to its default state using the Default trait.
make mut player = get_player()
reset value player
value existsis_some / contains / existsChecks if an optional value is Some, or if a collection contains an item.
if value exists user.email {
    send_message()
}
is emptyis_emptyChecks if a collection or string has a length of zero.
if my_list is empty {
    fetch_more_items()
}
MODULES AND STRUCTURE
modulemodDefines a module namespace.
module network {
    // network code here
}
useuseBrings paths into scope.
use network.http
make client = http.Client()
make publicpubMakes an item visible outside its module.
make public define function get_data() {
    return value 42
}
keep privateprivate visibilityDefault visibility; item is restricted to its module.
keep private define function internal_calc() {
    return value 0
}
exportpub useRe-exports an item from a different module.
use network.http.client
export client
rename importuse asAliases an imported item.
use network.http.client 
    rename import web_client
this cratecrateRefers to the root of the current crate.
use this crate.utils.parser
parent modulesuperRefers to the parent of the current module.
use parent module.config
this moduleselfRefers to the current module.
use this module.types.Status
packageCargo packageA collection of crates described by a Cargo.toml.
package "my_zelc_app" {
    version = "1.0.0"
}
feature oncfg featureConditionally compiles code based on Cargo features.
feature on "database" {
    use db.postgres
}
only on platformcfg targetConditionally compiles code based on the OS/architecture.
only on platform "windows" {
    use winapi
}
only for testscfg testIncludes code only when running the test suite.
only for tests {
    define function test_auth() { ... }
}
only for debugcfg debug_assertionsIncludes code only in unoptimized/debug builds.
only for debug {
    print "Running heavily instrumented"
}
TYPES
true or falseboolA boolean type (true or false).
make is_active: true or false = true
charactercharA 32-bit Unicode scalar value.
make letter: character = 'A'
textString / strUTF-8 encoded string data.
make name: text = "ZelC Language"
bytesVec<u8>A heap-allocated array of 8-bit integers.
make payload: bytes = [0x01, 0xFF]
byte buffermutable byte bufferA mutable slice or vector of bytes (`&mut [u8]`).
make mut buf: byte buffer = get_buffer()
small integeri8/i16/i32Signed integers of 8, 16, or 32 bits.
make temp: small integer = -15
integeri64 / isize64-bit signed integer / pointer-sized integer.
make views: integer = 1000000
big integeri128 / BigInt128-bit signed integer or arbitrary precision integer.
make hash: big integer = 99999999999
small positive integeru8/u16/u32Unsigned integers of 8, 16, or 32 bits.
make age: small positive integer = 25
positive integeru64 / usize64-bit unsigned integer / pointer-sized unsigned integer.
make size: positive integer = 4096
decimal numberf64 / Decimal64-bit floating point number.
make price: decimal number = 19.99
listVecA contiguous growable array type.
make scores: list = [10, 20, 30]
mapHashMapA key-value hash map.
make config: map = {"port": 8080}
setHashSetA hash set for storing unique values.
make visited: set = {"home", "about"}
queueVecDequeA double-ended queue implemented with a growable ring buffer.
make tasks: queue = []
stackVecUsed as a LIFO stack via push/pop.
make history: stack = ["page1"]
heapBinaryHeapA priority queue implemented with a binary heap.
make priority_jobs: heap = []
optional valueOptionRepresents either a value (`Some`) or nothing (`None`).
make middle_name: optional value = none
result valueResultRepresents either success (`Ok`) or failure (`Err`).
make status: result value = success("ok")
named shapestructA custom data type containing named fields.
named shape Point {
    x: integer,
    y: integer
}
choice typeenumA type that can be any one of several variants.
choice type State {
    Idle,
    Running,
    Finished
}
raw unionunionA C-like union sharing memory between fields.
raw union Pixel {
    rgba: positive integer,
    channels: bytes
}
any valuedyn Any / serde_json::ValueDynamic trait object for runtime reflection or JSON data.
make payload: any value = parse_json()
nothing()The unit type, representing no meaningful value.
return nothing
never returns!The never type, indicating a function panics or loops forever.
define function crash() -> never returns {
    crash "fatal error"
}
LISTS
make listVec::newCreates a new, empty list.
make my_list = make list
make list with roomVec::with_capacityCreates an empty list with pre-allocated capacity.
make my_list = make list with room 100
add to listpushAppends an element to the back of a collection.
add to list my_list 5
take from listpopRemoves the last element from a collection and returns it.
make last_item = take from list my_list
get from listgetReturns a reference to an element, or None if out of bounds.
make item = get from list my_list at 0
get from list to changeget_mutReturns a mutable reference to an element.
make mut_item = get from list to change 
                my_list at 0
put into listinsertInserts an element at a specific index within the list.
put into list my_list at 1 value 10
set list itemindex assignOverwrites an element at a specific index.
set list item my_list at 0 to 20
cut from listremoveRemoves and returns the element at a position, shifting all others.
make item = cut from list my_list at 2
cut fast from listswap_removeRemoves an element by swapping it with the last element.
make item = cut fast from list 
            my_list at 0
first in listfirstReturns a reference to the first element.
make head = first in list my_list
last in listlastReturns a reference to the last element.
make tail = last in list my_list
sort listsortSorts the slice in place.
sort list my_list
sort list bysort_bySorts the slice with a custom comparator function.
sort list by my_list 
with |a, b| a.cmp(b)
reverse listreverseReverses the order of elements in the slice.
reverse list my_list
shuffle listshuffleRandomizes the order of elements.
shuffle list my_list
list hascontainsReturns true if the slice contains an element with the given value.
if list has my_list 10 { ... }
find in listiter findSearches for an element matching a condition.
make match = find in list my_list 
             where |x| x > 5
find position in listpositionReturns the index of the first element matching a condition.
make idx = find position in list 
           my_list where |x| x == 10
search sorted listbinary_searchBinary searches a sorted slice for a given element.
make idx = search sorted list 
           my_list for 10
remove duplicates from listdedupRemoves consecutive repeated elements.
remove duplicates from list my_list
add all to listextendExtends a collection with the contents of an iterator.
add all to list my_list from other_list
merge listsconcat / appendCreates a new list by joining two lists, or moves items from one to another.
make combined = merge lists a and b
slice listsliceCreates a dynamically-sized view into a contiguous sequence.
make view = slice list my_list 
            from 1 to 3
list lengthlenReturns the number of elements in the collection.
make size = list length my_list
clear listclearClears the list, removing all values.
clear list my_list
map listiter mapTransforms elements into a new sequence.
make squares = map list my_list 
               with |x| x * x
filter listiter filterKeeps elements that match a condition.
make evens = filter list my_list 
             where |x| x % 2 == 0
reduce listfold / reduceCombines elements into a single value.
make sum = reduce list my_list 
           with |acc, x| acc + x
flatten listflattenFlattens a list of lists into a single list.
make flat = flatten list nested_lists
collect listcollectTransforms an iterator back into a concrete collection.
make result = collect list from iter
MAPS
make mapHashMap::newCreates an empty HashMap.
make my_map = make map
put in mapinsertInserts a key-value pair into the map.
put in map my_map key "age" value 30
get from mapgetReturns a reference to the value corresponding to the key.
make val = get from map my_map key "age"
get from map to changeget_mutReturns a mutable reference to the value.
make mut_val = get from map to change 
               my_map key "age"
remove from mapremoveRemoves a key from the map, returning the value.
make val = remove from map my_map 
           key "age"
map has keycontains_keyReturns true if the map contains a value for the specified key.
if map has key my_map "age" { ... }
map keyskeysAn iterator visiting all keys in arbitrary order.
make keys_iter = map keys my_map
map valuesvaluesAn iterator visiting all values in arbitrary order.
make vals_iter = map values my_map
map itemsiterAn iterator visiting all key-value pairs.
repeat for k, v in map items my_map
map lengthlenReturns the number of elements in the map.
make count = map length my_map
clear mapclearClears the map, removing all key-value pairs.
clear map my_map
merge mapsextendAdds all elements from one map into another.
merge maps my_map with other_map
map entryentry APIGets the given key's corresponding entry in the map for in-place manipulation.
make entry = map entry my_map 
             key "count"
SETS
make setHashSet::newCreates an empty HashSet.
make my_set = make set
add to setinsertAdds a value to the set.
add to set my_set "apple"
remove from setremoveRemoves a value from the set.
remove from set my_set "apple"
set hascontainsReturns true if the set contains a value.
if set has my_set "apple" { ... }
join setsunionVisits the values representing the union.
make all = join sets a and b
shared in setsintersectionVisits the values representing the intersection.
make common = shared in sets a and b
difference of setsdifferenceVisits the values representing the difference.
make diff = difference of sets a and b
set lengthlenReturns the number of elements in the set.
make size = set length my_set
clear setclearClears the set, returning all elements.
clear set my_set
ITERATION
make rangerangeGenerates a sequence of numbers.
make nums = make range 0 to 10
do onceonceCreates an iterator that yields an element exactly once.
make iter = do once 42
repeat itemrepeatCreates a new iterator that endlessly repeats a single element.
make iter = repeat item 1
map eachmapTakes a closure and creates an iterator calling that closure on each element.
make iter2 = map each iter 
             with |x| x * 2
filter eachfilterCreates an iterator which uses a closure to determine if an element should be yielded.
make iter2 = filter each iter 
             where |x| x > 0
flat map eachflat_mapCreates an iterator that works like map, but flattens nested structure.
make iter2 = flat map each iter 
             with parse
fold eachfoldFolds every element into an accumulator by applying an operation.
make sum = fold each iter start 0 
           with |acc, x| acc + x
reduce eachreduceReduces the elements to a single one, by repeatedly applying a reducing operation.
make max = reduce each iter 
           with |a, b| max(a, b)
scan eachscanAn iterator to maintain state while iterating over another iterator.
make iter2 = scan each iter start 0 
             with |state, x| ...
find eachfindSearches for an element of an iterator that satisfies a predicate.
make match = find each iter 
             where |x| x == 5
position of eachpositionSearches for an element in an iterator, returning its index.
make idx = position of each iter 
           where |x| x == 5
any matchanyTests if any element of the iterator matches a predicate.
if any match iter where |x| x < 0
all matchallTests if every element of the iterator matches a predicate.
if all match iter where |x| x > 0
take firsttakeCreates an iterator that yields its first n elements.
make iter2 = take first 5 from iter
skip firstskipCreates an iterator that skips the first n elements.
make iter2 = skip first 5 from iter
take whiletake_whileYields elements while a predicate is true.
make iter2 = take while iter 
             where |x| x < 10
skip whileskip_whileSkips elements while a predicate is true.
make iter2 = skip while iter 
             where |x| x < 10
zip togetherzip'Zips up' two iterators into a single iterator of pairs.
make pairs = zip together a and b
number eachenumerateCreates an iterator which gives the current iteration count as well as the next value.
make indexed = number each iter
chunk itemschunksReturns an iterator over chunk_size elements of the slice at a time.
make batches = chunk items iter by 10
window itemswindowsReturns an iterator over all contiguous windows of length size.
make slides = window items iter by 2
chain itemschainTakes two iterators and creates a new iterator over both in sequence.
make both = chain items a and b
cycle itemscycleRepeats an iterator endlessly.
make endless = cycle items iter
peek nextpeekableCreates an iterator which can use the peek method to look at the next element.
make peek_iter = peek next iter
collect allcollectTransforms an iterator into a collection.
make list = collect all iter
sum allsumSums the elements of an iterator.
make total = sum all iter
multiply allproductIterates over the entire iterator, multiplying all the elements.
make val = multiply all iter
count allcountConsumes the iterator, counting the number of iterations and returning it.
make amount = count all iter
first itemfirst/nextReturns the first element of the iterator.
make head = first item iter
last itemlastConsumes the iterator, returning the last element.
make tail = last item iter
smallest itemminReturns the minimum element of an iterator.
make low = smallest item iter
largest itemmaxReturns the maximum element of an iterator.
make high = largest item iter
group bygroup_byGroups elements of an iterator by a key-generating function.
make groups = group by iter 
              with |x| x.type
split by rulepartitionConsumes an iterator, creating two collections from it.
make left, right = split by rule iter 
                   where |x| x > 0
MATH
absolute valueabsComputes the absolute value of a number.
make pos = absolute value -5
minimumminReturns the minimum of two values.
make low = minimum 5 and 10
maximummaxReturns the maximum of two values.
make high = maximum 5 and 10
clamp valueclampRestricts a value to a certain interval.
make safe = clamp value x 
            between 0 and 100
round valueroundReturns the nearest integer to a number.
make r = round value 3.14
floor valuefloorReturns the largest integer less than or equal to a number.
make f = floor value 3.8
ceiling valueceilReturns the smallest integer greater than or equal to a number.
make c = ceiling value 3.1
truncate valuetruncReturns the integer part of a number.
make t = truncate value 3.99
fraction partfractReturns the fractional part of a number.
make f = fraction part 3.14
square rootsqrtReturns the square root of a number.
make rt = square root 16
cube rootcbrtReturns the cube root of a number.
make rt = cube root 27
powerpowRaises a value to the power of a given exponent.
make p = power 2 to 3.5
power with integerpowiRaises a value to an integer power.
make p = power with integer 2 to 3
exponentialexpReturns `e^(self)`.
make e_val = exponential 2.0
natural loglnReturns the natural logarithm of the number.
make log = natural log 10
log base twolog2Returns the base 2 logarithm of the number.
make log = log base two 8
log base tenlog10Returns the base 10 logarithm of the number.
make log = log base ten 100
sinesinComputes the sine of a number.
make s = sine x
cosinecosComputes the cosine of a number.
make c = cosine x
tangenttanComputes the tangent of a number.
make t = tangent x
arc sineasinComputes the arcsine of a number.
make a = arc sine x
arc cosineacosComputes the arccosine of a number.
make a = arc cosine x
arc tangentatanComputes the arctangent of a number.
make a = arc tangent x
arc tangent twoatan2Computes the four quadrant arctangent.
make a = arc tangent two y and x
hyperbolic sinesinhHyperbolic sine function.
make h = hyperbolic sine x
hyperbolic cosinecoshHyperbolic cosine function.
make h = hyperbolic cosine x
hyperbolic tangenttanhHyperbolic tangent function.
make h = hyperbolic tangent x
hypotenusehypotCalculates the length of the hypotenuse of a right-angle triangle.
make h = hypotenuse 3 and 4
modulorem / rem_euclidCalculates the least nonnegative remainder of `a (mod b)`.
make m = modulo 5 by 2
remainder%The remainder operator.
make r = 5 remainder 2
greatest common divisorgcdCalculates the greatest common divisor.
make div = greatest common divisor 
           8 and 12
least common multiplelcmCalculates the least common multiple.
make mult = least common multiple 
            4 and 6
factorialhelperCalculates the factorial of a number.
make f = factorial 5
combinationshelperCalculates combinations (n choose k).
make c = combinations 5 choose 2
permutationshelperCalculates permutations (n P k).
make p = permutations 5 pick 2
sign of numbersignumReturns a number that represents the sign of self.
make s = sign of number -50
is not a numberis_nanReturns true if this value is NaN.
if is not a number val { ... }
is infiniteis_infiniteReturns true if this value is positive or negative infinity.
if is infinite val { ... }
random numberrandGenerates random values.
make r = random number
random in rangegen_rangeGenerates a random value within a range.
make r = random in range 1 to 10
seed randomSeedableRngInitializes a random number generator with a specific seed.
seed random with 12345
noisenoise crateGenerates coherent noise (e.g., Perlin).
make n = noise at x, y
mix betweenlerpLinear interpolation between two values.
make v = mix between 0 and 100 
         by 0.5
smooth stepsmoothstepSmooth interpolation between two values.
make v = smooth step 0 and 100 
         by 0.5
STATS
averagemeanCalculates the arithmetic mean of a dataset.
make m = average data
middle valuemedianFinds the median value of a dataset.
make m = middle value data
most commonmodeFinds the most frequently occurring value.
make m = most common data
variancevarianceCalculates the statistical variance of a dataset.
make v = variance data
standard deviationstddevCalculates the standard deviation.
make s = standard deviation data
lowest valueminFinds the minimum value in a dataset.
make low = lowest value data
highest valuemaxFinds the maximum value in a dataset.
make high = highest value data
quantilequantileComputes the specified quantile of a dataset.
make q = quantile 0.25 of data
percentilepercentileComputes the specified percentile (0-100).
make p = percentile 90 of data
histogramhistogramGroups data into frequency distribution bins.
make h = histogram data bins 10
correlationcorrelationComputes the correlation coefficient between two datasets.
make c = correlation x and y
covariancecovarianceComputes the covariance between two datasets.
make c = covariance x and y
sample datasampleRandomly samples a subset of elements.
make s = sample data size 5
bootstrap databootstrapPerforms bootstrap resampling with replacement.
make b = bootstrap data times 100
normalize datanormalizationScales data to a standard range (e.g., 0 to 1).
make n = normalize data
z scorezscoreCalculates the standard score for elements.
make z = z score data
TIME
nownowGets the current system time.
make current_time = now
todaytodayGets the current date without time.
make current_date = today
read dateparseParses a string into a date/time object.
make d = read date "2026-03-19"
write dateformatFormats a date/time object into a string.
make s = write date d 
         as "YYYY-MM-DD"
add timeadd durationAdds a duration to a time object.
make future = add time 5 days to now
subtract timesub durationSubtracts a duration from a time object.
make past = subtract time 2 hours 
            from now
time differencediffCalculates the duration between two times.
make gap = time difference t1 and t2
time zonetimezoneSets or gets the timezone.
make tz = time zone "UTC"
utc timeUtcGets the current time in UTC.
make u = utc time now
local timeLocalGets the current local time based on system settings.
make l = local time now
time stamptimestampGets the UNIX timestamp (seconds since epoch).
make ts = time stamp now
from time stampfrom_timestampCreates a time object from a UNIX timestamp.
make t = from time stamp 1700000000
day of weekweekdayGets the day of the week component.
make day = day of week today
month of yearmonthGets the month of the year component.
make m = month of year today
year numberyearGets the year component.
make y = year number today
start of daystart of day helperGets the time at midnight for a given date.
make start = start of day today
end of dayend of day helperGets the time just before midnight for a given date.
make end = end of day today
steady clockInstantA monotonically non-decreasing clock for measuring intervals.
make timer = steady clock
fast clockperformance timerHigh-resolution timer for performance profiling.
make profiler = fast clock
sleepsleepSuspends the current thread for a duration.
sleep 5 seconds
time passedelapsedReturns the amount of time elapsed since an Instant.
make duration = time passed timer
time outtimeoutWraps an async operation with a time limit.
make res = time out 5 seconds 
           for fetch_data()
repeat everyintervalCreates a stream/loop that yields at a set interval.
repeat every 1 second {
    print "tick"
}
RANDOM AND IDS
random whole numberintGenerates a random integer value.
make r = random whole number
random decimalfloatGenerates a random floating-point number.
make f = random decimal
random true or falseboolGenerates a random boolean value.
make b = random true or false
random in rangerangeGenerates a random number within a specified range.
make r = random in range 1 to 100
random bytesbytesFills a buffer or returns a vector of random bytes.
make buf = random bytes size 32
pick randomchooseReturns a random element from a slice.
make item = pick random my_list
shuffle randomshuffleRandomizes the order of elements in a collection.
shuffle random my_list
set random seedseedInitializes the RNG with a specific deterministic seed.
set random seed 12345
make uuidUuidGenerates a random UUID (v4).
make id = make uuid
make time uuidUuid v7Generates a time-ordered UUID (v7).
make id = make time uuid
make snowflake idhelperGenerates a distributed, time-based snowflake ID.
make id = make snowflake id
MEMORY AND POINTERS
make boxBox::newAllocates memory on the heap and places a value into it.
make ptr = make box 42
make sharedRc::new / Arc::newCreates a thread-local or thread-safe reference-counted pointer.
make ptr = make shared data
make weak shareddowngradeCreates a non-owning weak reference to a shared pointer.
make weak = make weak shared ptr
borrow from cellRefCell borrowImmutably borrows the wrapped value of a RefCell.
make ref = borrow from cell data
borrow from cell to changeborrow_mutMutably borrows the wrapped value of a RefCell.
make mut_ref = borrow from cell 
               to change data
null pointerptr nullCreates a null raw pointer.
make ptr = null pointer
address ofaddr_ofGets the raw pointer address of a variable or place.
make ptr = address of var
read pointerptr readReads the value from a raw pointer without moving it.
make val = read pointer ptr
write pointerptr writeOverwrites a memory location via a raw pointer.
write pointer ptr with 42
allocate memoryallocAllocates memory with a specific layout on the heap.
make mem = allocate memory layout
free memorydeallocDeallocates a memory block given its pointer and layout.
free memory ptr layout
copy memoryptr copyCopies bytes from one raw pointer to another.
copy memory from src to dst size 10
move memoryptr move helperMoves memory bytes safely, allowing overlapping memory regions.
move memory from src to dst size 10
swap memorymem::swapSwaps the values at two mutable locations.
swap memory a and b
replace memorymem::replaceReplaces the value at a mutable location, returning the old value.
make old = replace memory a 
           with new_val
take memorymem::takeReplaces a location with its default value, returning the old value.
make val = take memory a
zero memorywrite_bytes / zeroizeFills memory with zeroes or securely clears it.
zero memory buffer
fill memoryfillFills a slice with a specific value.
fill memory buffer with 0xFF
align memoryLayoutDescribes the size and alignment requirements for an allocation.
make layout = align memory size 64
map memorymemmap2Maps a file or device into RAM.
make map = map memory file
unmap memorydrop mapUnmaps a memory-mapped file/device via Drop.
unmap memory map
protect memorymprotect wrapperChanges memory page protection flags (read/write/exec).
protect memory map to read_only
lock memorymlockLocks memory pages to prevent them from being swapped to disk.
lock memory buffer
unlock memorymunlockUnlocks memory pages, allowing them to be swapped out again.
unlock memory buffer
pin memoryPinEnsures data is not moved in memory (often for async).
pin memory future
unsafe blockunsafeA block that bypasses standard safety and borrow checks.
unsafe block {
    write pointer ptr with 0
}
DIAGNOSTICS AND COMPILER TOOLS
show infolog infoLogs a message at the Info level.
show info "Server started on port 80"
show warninglog warnLogs a message at the Warning level.
show warning "Disk space is low"
show errorlog errorLogs a message at the Error level.
show error "Failed to connect to DB"
show hintcompiler hintEmits a diagnostic hint during compilation.
show hint "Did you mean `my_var`?"
show notecompiler noteEmits a diagnostic note during compilation.
show note "Defined here"
show tracelog traceLogs a message at the Trace level (highly verbose).
show trace "Entering function X"
mark spandiagnostic spanHighlights a specific section of code in an error message.
mark span on line 10
run lintclippy/custom lintRuns static analysis to catch common mistakes.
run lint strict_mode
fix lintcargo fix/custom fixAutomatically applies compiler/linter suggestions.
fix lint format_errors
format coderustfmtFormats code according to style guidelines.
format code my_script.zc
check formatrustfmt --checkVerifies that code matches style guidelines without changing it.
check format project_dir
build codecargo buildCompiles the project into an executable or library.
build code target_release
check codecargo checkQuickly parses and type-checks code without generating binaries.
check code
emit coderustc emitOutputs specific compiler artifacts (LLVM IR, ASM, etc).
emit code as asm
show syntax treeASTPrints the Abstract Syntax Tree representation of the code.
show syntax tree func_body
show lowered codeIR/MIRPrints the intermediate representation of the code.
show lowered code for logic
show tokenstoken streamPrints the raw lexical tokens parsed by the compiler.
show tokens macro_input
FILES AND PATHS
open fileFile::openOpens a file in read-only mode.
make f = open file "data.txt"
create fileFile::createOpens a file in write-only mode, truncating it if it exists.
make f = create file "log.txt"
read fileread_to_stringReads the entire contents of a file into a string.
make txt = read file "config.json"
read file bytesreadReads the entire contents of a file into a byte vector.
make data = read file bytes "img.png"
read file lineslinesReturns an iterator over the lines of a file.
repeat for line in read file lines "x.txt"
write filewriteWrites a string to a file.
write file "out.txt" with "Hello"
write file byteswriteWrites a byte slice to a file.
write file bytes "bin.dat" with buffer
append fileOpenOptions appendOpens a file and appends a string to the end of it.
append file "log.txt" with "ERROR\n"
append file bytesappend bytesOpens a file and appends bytes to the end of it.
append file bytes "stream.dat" 
with data
copy filecopyCopies the contents of one file to another.
copy file "a.txt" to "b.txt"
move filerenameMoves a file to a new path.
move file "temp.txt" to "final.txt"
rename filerenameRenames a file in place.
rename file "old.txt" to "new.txt"
delete fileremove_fileRemoves a file from the filesystem.
delete file "trash.txt"
truncate fileset_lenTruncates or extends the underlying file.
truncate file "data.bin" to 0
sync filesync_allEnsures all OS-buffered data and metadata is written to disk.
sync file my_file
touch filecreate/update timeCreates an empty file or updates its access/modification time.
touch file "lock.tmp"
file existsexistsChecks if a file exists at the given path.
if file exists "config.json" { ... }
is fileis_fileChecks if a path points to a regular file.
if is file my_path { ... }
is folderis_dirChecks if a path points to a directory.
if is folder my_path { ... }
file infometadataGets metadata (size, type, perms) for a file.
make info = file info "data.txt"
file metadatametadataGets detailed OS-specific metadata.
make meta = file metadata "data.txt"
file permissionspermissionsGets the permissions associated with a file.
make perms = file permissions "script.sh"
file ownermetadata extGets the owner UID of the file (Unix).
make owner = file owner "data.txt"
file groupmetadata extGets the group GID of the file (Unix).
make group = file group "data.txt"
file createdcreatedGets the creation time of the file.
make time = file created "data.txt"
file changedmodifiedGets the last modification time of the file.
make time = file changed "data.txt"
file openedaccessedGets the last access time of the file.
make time = file opened "data.txt"
hash fileread + hashReads a file and computes its hash (e.g., SHA256).
make sum = hash file "data.txt"
list filesread_dirReturns an iterator over the entries within a directory.
make entries = list files "./src"
walk fileswalkdirRecursively iterates over all files in a directory tree.
repeat for file in walk files "./src"
watch filesnotifyWatches a file or directory for filesystem events.
watch files "./src" for changes
make hard linkhard_linkCreates a new hard link on the filesystem.
make hard link "target" to "link"
make symlinksymlinkCreates a new symbolic link on the filesystem.
make symlink "target" to "link"
make temp filetempfileCreates an unnamed temporary file that is deleted on drop.
make tmp = make temp file
make pathPathBuf::newCreates an empty, mutable path buffer.
make p = make path
join pathjoinCreates a new path by adjoining a path to the current one.
make p2 = join path p with "src"
push pathpushExtends the path buffer with a new path component.
push path mut_p "main.rs"
pop pathpopTruncates the path buffer to its parent.
pop path mut_p
parent pathparentReturns a path representing the parent directory.
make parent = parent path my_path
file namefile_nameReturns the final component of the path.
make name = file name my_path
file stemfile_stemReturns the file name without its extension.
make stem = file stem my_path
file extensionextensionReturns the file extension.
make ext = file extension my_path
clean pathnormalizeResolves dots (`.`, `..`) to make a path clean.
make clean = clean path my_path
absolute pathcanonicalizeReturns the canonical, absolute form of a path.
make abs = absolute path "./config"
relative pathpathdiffCalculates a relative path from one path to another.
make rel = relative path a from b
full pathabsolute helperExpands `~` and makes a path absolute.
make full = full path "~/data"
is absolute pathis_absoluteReturns true if the path is absolute.
if is absolute path my_path { ... }
is relative pathis_relativeReturns true if the path is relative.
if is relative path my_path { ... }
path partscomponentsReturns an iterator over the individual path components.
repeat for part in path parts my_path
current foldercurrent_dirGets the current working directory as a Path.
make cwd = current folder
home folderhome_dirGets the path to the current user's home directory.
make home = home folder
temp foldertemp_dirGets the path to the system's temporary directory.
make tmp = temp folder
PERMISSIONS
can readpermission checkChecks if the current process has read access to a file.
if can read "secret.txt" { ... }
can writepermission checkChecks if the current process has write access to a file.
if can write "log.txt" { ... }
can runexecutable checkChecks if a file has execution permissions.
if can run "script.sh" { ... }
path existsexistsChecks if a given path actually exists on the filesystem.
if path exists "/tmp/lock" { ... }
change modechmodChanges the Unix permission mode of a file.
change mode "script.sh" to 0o755
change ownerchownChanges the Unix owner of a file.
change owner "app.bin" to "root"
change groupchgrpChanges the Unix group of a file.
change group "data" to "admin"
set maskumaskSets the calling process's file mode creation mask.
make old = set mask 0o022
get access listACL getReads the Access Control List (ACL) of a file.
make acl = get access list "x.txt"
set access listACL setWrites a new Access Control List (ACL) to a file.
set access list "x.txt" to acl
raise rightselevate helperRequests elevated permissions (e.g., sudo or UAC prompt).
raise rights
install_driver()
drop rightsdrop privilege helperLowers privileges to a safer user account (e.g., "nobody").
drop rights to "nobody"
STREAMS AND IO
standard inputstdinA handle to the standard input stream of a process.
make in = standard input
standard outputstdoutA handle to the standard output stream of a process.
make out = standard output
standard errorstderrA handle to the standard error stream of a process.
make err = standard error
read streamreadPulls some bytes from a stream into a provided buffer.
make count = read stream in 
             into buffer
read allread_to_endReads all bytes from a stream until EOF is reached.
read all from socket into buffer
read exactread_exactReads the exact number of bytes required to fill a buffer.
read exact from file size 10 
into chunk
read lineread_lineReads all bytes until a newline into a string.
read line from in into str_buf
write streamwriteWrites some portion of a buffer to a stream.
make count = write stream out 
             with data
write allwrite_allContinuously writes a buffer to a stream until all bytes are written.
write all to stream out with data
flush streamflushEnsures all intermediately buffered contents reach their destination.
flush stream out
seek streamseekMoves the cursor position within the stream to a specific byte offset.
seek stream file to 0
stream positiontellReturns the current cursor position/offset within the stream.
make pos = stream position file
copy streamio::copyCopies the entire contents of a reader into a writer.
copy stream from file_in 
to socket_out
pipe streamos pipe helperCreates a unidirectional OS-level pipe returning a read and write handle.
make rx, tx = pipe stream
buffer inputBufReaderWraps a raw reader with an internal memory buffer to reduce syscalls.
make buffered_in = buffer input in
buffer outputBufWriterWraps a raw writer with an internal memory buffer to batch writes.
make buffered_out = buffer output out
ENCODING AND DATA
encode base16hex encodeEncodes data into a Base16 (hexadecimal) string.
make hex = encode base16 data
decode base16hex decodeDecodes a Base16 (hexadecimal) string into bytes.
make bytes = decode base16 hex
encode base32base32Encodes data into a Base32 string.
make b32 = encode base32 data
decode base32base32Decodes a Base32 string into bytes.
make bytes = decode base32 b32
encode base58bs58Encodes data into a Base58 string (often used in crypto).
make b58 = encode base58 data
decode base58bs58Decodes a Base58 string into bytes.
make bytes = decode base58 b58
encode base64base64Encodes data into a Base64 string.
make b64 = encode base64 data
decode base64base64Decodes a Base64 string into bytes.
make bytes = decode base64 b64
encode hexhexEncodes data into a lowercase hexadecimal string.
make h = encode hex buffer
decode hexhexDecodes a hexadecimal string back into bytes.
make b = decode hex h
encode urlurlencodingPercent-encodes a string for safe use in a URL.
make safe = encode url "a/b c"
decode urlurlencodingDecodes a percent-encoded URL string.
make raw = decode url safe
encode htmlhtml_escapeEscapes characters safe for HTML (`<` to `<`).
make safe = encode html ""
decode htmlhtml_escapeUnescapes HTML entities back to characters.
make raw = decode html "<b>"
encode utf8bytes/string conversionConverts a string into a UTF-8 byte array.
make bytes = encode utf8 text
decode utf8from_utf8Attempts to parse a byte array into a UTF-8 string.
make text = decode utf8 bytes
encode utf16encode_utf16Encodes a string into a UTF-16 representation.
make wide = encode utf16 text
decode utf16from_utf16Decodes UTF-16 data back into a string.
make text = decode utf16 wide
encode asciihelperEnsures or converts a string strictly to ASCII.
make asc = encode ascii text
decode asciihelperReads ASCII byte data into a string.
make text = decode ascii bytes
compress gzipflate2Compresses a byte stream using Gzip.
make zip_data = compress gzip data
decompress gzipflate2Decompresses a Gzip byte stream.
make data = decompress gzip zip_data
make zipzip writerCreates a new ZIP archive writer.
make archive = make zip "out.zip"
open zipzip archiveOpens an existing ZIP archive for reading.
make archive = open zip "in.zip"
add to zipzip writer addAdds a file or data stream into a ZIP archive.
add to zip archive "file.txt"
extract zipzip archive extractExtracts files from a ZIP archive.
extract zip archive to "./folder"
list zipzip archive listLists the contents of a ZIP archive.
make files = list zip archive
make tartar builderCreates a new TAR archive builder.
make archive = make tar "out.tar"
open tartar archiveOpens an existing TAR archive.
make archive = open tar "in.tar"
add to tartar builder appendAppends a file to a TAR archive.
add to tar archive "script.sh"
extract tartar archive unpackUnpacks a TAR archive to a directory.
extract tar archive to "./"
open rarunrarOpens a RAR archive for reading.
make r = open rar "data.rar"
extract rarunrarExtracts contents from a RAR archive.
extract rar r to "./out"
compress bz2bzip2Compresses data using bzip2.
make bz = compress bz2 data
decompress bz2bzip2Decompresses bzip2 data.
make data = decompress bz2 bz
compress xzxz2Compresses data using xz.
make x = compress xz data
decompress xzxz2Decompresses xz data.
make data = decompress xz x
compress zstdzstdCompresses data using zstandard.
make zs = compress zstd data
decompress zstdzstdDecompresses zstandard data.
make data = decompress zstd zs
compress lz4lz4Compresses data using the fast LZ4 algorithm.
make l = compress lz4 data
decompress lz4lz4Decompresses LZ4 data.
make data = decompress lz4 l
read jsonserde_json::from_strDeserializes a JSON string into an object.
make obj = read json "{}"
write jsonserde_json::to_stringSerializes an object into a JSON string.
make s = write json obj
read json fileread + parseReads a file and parses it as JSON.
make config = read json file "a.json"
write json fileserialize + writeSerializes an object and writes it as a JSON file.
write json file "b.json" with data
read yamlserde_yamlDeserializes a YAML string into an object.
make obj = read yaml "key: val"
write yamlserde_yamlSerializes an object into a YAML string.
make s = write yaml obj
read yaml fileread + parseReads a file and parses it as YAML.
make cfg = read yaml file "c.yaml"
write yaml fileserialize + writeSerializes an object and writes it as a YAML file.
write yaml file "d.yaml" with data
read tomltomlDeserializes a TOML string into an object.
make obj = read toml "a = 1"
write tomltomlSerializes an object into a TOML string.
make s = write toml obj
read toml fileread + parseReads a file and parses it as TOML.
make cfg = read toml file "Cargo.toml"
write toml fileserialize + writeSerializes an object and writes it as a TOML file.
write toml file "out.toml" with obj
read xmlquick_xmlParses an XML string.
make doc = read xml "<a></a>"
write xmlserializerSerializes data into an XML string.
make s = write xml doc
read xml fileread + parseReads and parses an XML file.
make doc = read xml file "a.xml"
write xml fileserialize + writeWrites an object as an XML file.
write xml file "b.xml" with doc
read csvcsv readerParses CSV text into records.
make rows = read csv "1,2\n3,4"
write csvcsv writerFormats records into CSV text.
make s = write csv data
append csvappend writerAppends records to an existing CSV.
append csv "data.csv" with row
read iniini parserParses an INI formatted string or file.
make cfg = read ini "config.ini"
write iniini writerFormats configuration data into INI format.
write ini "config.ini" with cfg
encode msgpackrmp-serdeSerializes data into MessagePack format.
make mp = encode msgpack data
decode msgpackrmp-serdeDeserializes MessagePack data into an object.
make obj = decode msgpack mp
encode bincodebincodeSerializes data into the compact bincode format.
make bin = encode bincode data
decode bincodebincodeDeserializes bincode data into an object.
make obj = decode bincode bin
read plistplistParses Apple Property List files.
make pl = read plist "Info.plist"
write plistplistWrites data to an Apple Property List file.
write plist "Info.plist" with pl
CONFIG
load configconfig loaderLoads configuration from various sources.
make cfg = load config
save configsave configSaves the current configuration state to a destination.
save config cfg to "out.toml"
get configgetterRetrieves a specific configuration value by key.
make port = get config "port"
set configsetterSets a specific configuration value.
set config "port" to 8080
config hascontainsChecks if a configuration key exists.
if config has "port" { ... }
merge configmergeMerges another configuration source into the current one.
merge config overrides
clear configclearClears all loaded configuration values.
clear config
config filefile sourceSpecifies a file as a configuration source.
make src = config file "app.json"
config envenv sourceSpecifies environment variables as a configuration source.
make src = config env
watch confignotifyWatches the configuration source for runtime changes.
watch config cfg { ... }
check configvalidateValidates the loaded configuration against a schema.
check config cfg
THREADS, TASKS, CHANNELS
start threadthread spawnSpawns a new OS thread.
make t = start thread {
    do_work()
}
wait for threadjoinWaits for an associated thread to finish.
wait for thread t
detach threaddrop handleAllows a thread to run independently in the background.
detach thread t
sleep threadsleepPuts the current thread to sleep for a duration.
sleep thread 5 seconds
yield threadyield_nowCooperatively gives up a timeslice to the OS scheduler.
yield thread
thread idcurrent idGets the unique identifier of the current thread.
make id = thread id
thread namebuilder nameSets or gets the name of the thread.
make name = thread name
make lockMutex::newCreates a mutual exclusion primitive for protecting shared data.
make mx = make lock data
take locklockAcquires a mutex, blocking the thread until it is available.
make guard = take lock mx
try locktry_lockAttempts to acquire a mutex without blocking.
make guard = try lock mx
free lockguard dropExplicitly releases a held lock.
free lock guard
make read write lockRwLock::newCreates a lock allowing multiple readers or one writer.
make rw = make read write lock data
read lockreadAcquires a reader-writer lock for shared reading.
make guard = read lock rw
write lockwriteAcquires a reader-writer lock for exclusive writing.
make guard = write lock rw
free read write lockguard dropReleases a reader or writer lock.
free read write lock guard
wait on signalCondvar waitBlocks the thread until a condition variable is notified.
wait on signal cv lock guard
wake onenotify_oneWakes up one thread waiting on a condition variable.
wake one cv
wake allnotify_allWakes up all threads waiting on a condition variable.
wake all cv
atomic readloadSafely reads an atomic value.
make val = atomic read flag
atomic writestoreSafely writes an atomic value.
atomic write flag with true
atomic swapswapSafely swaps an atomic value and returns the old one.
make old = atomic swap flag to false
atomic addfetch_addSafely adds to an atomic integer.
atomic add counter 1
atomic subtractfetch_subSafely subtracts from an atomic integer.
atomic subtract counter 1
atomic andfetch_andSafely performs a bitwise AND on an atomic integer.
atomic and flags 0x01
atomic orfetch_orSafely performs a bitwise OR on an atomic integer.
atomic or flags 0x10
atomic xorfetch_xorSafely performs a bitwise XOR on an atomic integer.
atomic xor flags 0x11
run onceOnce / OnceLockEnsures a block of code runs exactly once globally.
run once { init_system() }
start tasktokio::spawnSpawns a new asynchronous task onto the runtime.
make handle = start task {
    fetch_data()
}
wait for taskawait join handleWaits for an asynchronous task to complete.
wait for task handle
stop taskabortCancels an asynchronous task.
stop task handle
join tasksjoinWaits for multiple asynchronous tasks to finish.
join tasks t1 and t2
choose taskselectWaits on multiple concurrent branches, returning the first to finish.
choose task {
    a => print a,
    b => print b
}
sleep tasktokio sleepAsynchronously waits for a duration without blocking the thread.
sleep task 2 seconds
yield taskyield_nowYields execution back to the async runtime scheduler.
yield task
ready futurereadyCreates a future that is immediately ready with a value.
make fut = ready future 42
pending futurependingCreates a future that never resolves.
make fut = pending future
next stream itemnextAsynchronously gets the next item from an async stream.
make item = wait for next stream item s
collect streamcollectAsynchronously collects all items from a stream.
make list = wait for collect stream s
make async locktokio mutexCreates an async-aware mutex.
make mx = make async lock data
make async channelmpscCreates an async multi-producer, single-consumer channel.
make tx, rx = make async channel
make one shotoneshotCreates an async channel for sending exactly one value.
make tx, rx = make one shot
make broadcastbroadcastCreates an async multi-producer, multi-consumer channel.
make tx, rx = make broadcast
make watch channelwatchCreates an async channel for watching a single value.
make tx, rx = make watch channel 0
make semaphoresemaphoreCreates an async semaphore to limit concurrency.
make sem = make semaphore 5
make barrierbarrierCreates an async barrier to synchronize multiple tasks.
make b = make barrier 3
make channelchannelCreates a standard synchronous multi-producer, single-consumer channel.
make tx, rx = make channel
send on channelsendSends a value down a channel.
send on channel tx 42
get from channelrecvBlocks waiting for a value from a channel.
make msg = get from channel rx
try get from channeltry_recvAttempts to get a value from a channel without blocking.
make msg = try get from channel rx
close channelcloseCloses the channel, preventing further sends.
close channel rx
send on buspublishPublishes a message to an event bus.
send on bus "events" msg
watch bussubscribeSubscribes to an event bus topic.
make sub = watch bus "events"
stop watching busunsubscribeUnsubscribes from an event bus topic.
stop watching bus sub
PROCESS, SHELL, HOST
make processCommand::newCreates a new process builder for the given executable.
make p = make process "git"
add process argargAdds a single argument to pass to the program.
add process arg p "status"
add process argsargsAdds multiple arguments to pass to the program.
add process args p ["commit", "-m"]
run processstatus/output/spawnExecutes the process builder.
make child = run process p
wait for processwaitWaits for the child process to exit completely.
wait for process child
kill processkillForces the child process to exit immediately.
kill process child
process statusstatusGets the exit status/code of a completed process.
make code = process status child
process outputoutputExecutes and captures the standard output of the process.
make out = process output p
process inputstdinGets a handle to the child's standard input stream.
make in = process input child
process stdoutstdoutGets a handle to the child's standard output stream.
make out = process stdout child
process stderrstderrGets a handle to the child's standard error stream.
make err = process stderr child
pipe processpiped stdioConfigures process streams to be piped to/from the parent.
pipe process p stdout
send process signalsignal helperSends a specific OS signal to a running process.
send process signal child SIGTERM
end processterminate helperGracefully asks a process to terminate.
end process child
run as daemondaemonizeDetaches a process to run in the background.
run as daemon p
process idchild idGets the OS-assigned identifier of the process.
make pid = process id child
parent processparent helperGets the ID of the parent process.
make ppid = parent process child
set process prioritysetpriorityAdjusts the scheduling priority of the process.
set process priority child to 10
nice processniceAdjusts the niceness (Unix CPU priority) of the process.
nice process child by 5
set process affinityaffinity helperPins the process to specific CPU cores.
set process affinity child to [0, 1]
list processessysinfoGets a list of all running system processes.
make procs = list processes
process infosysinfoRetrieves detailed metrics for a specific process ID.
make info = process info pid
set process envcommand envsSets environment variables for the process before spawning.
set process env p "DEBUG" to "1"
run shellshell wrapperExecutes a string command in the system's default shell.
run shell "echo Hello World"
exec shellexec helperReplaces the current process entirely with a shell command.
exec shell "bash"
start shellspawn shellSpawns a shell process asynchronously in the background.
make sh = start shell "top"
pipe shellpipe commandsConnects the standard output of one shell command to another.
pipe shell "ls" to "grep rust"
redirect shellredirect streamsRedirects shell output to a specific file or stream.
redirect shell "ls" to file "out.txt"
capture shellcapture outputRuns a shell command and captures its string output.
make out = capture shell "date"
shell foldercurrent dir overrideSets the working directory for a specific shell command.
shell folder "make build" 
to "./src"
shell envenv overrideSets environment variables exclusively for a shell command.
shell env "node script.js" "PORT=80"
find shell commandwhichLocates the executable path of a command in the system PATH.
make path = find shell command "git"
shell aliasalias helperDefines a temporary shell alias for execution.
shell alias "ll" to "ls -la"
source shell filesource helperEvaluates a file containing shell commands within the runtime.
source shell file ".env"
wait for shellwaitWaits for an asynchronous shell process to finish.
wait for shell sh
kill shellkillTerminates a running shell process.
kill shell sh
exit shellprocess exitTerminates the current ZelC program with a status code.
exit shell 0
program argsenv::argsReturns an iterator over arguments passed to the application.
make args = program args
program argnth argRetrieves a specific application argument by its index.
make file = program arg 1
get envenv::varFetches the value of an environment variable.
make p = get env "PATH"
list envenv::varsReturns an iterator over all environment variables.
repeat for k, v in list env { ... }
set envset_varSets the value of an environment variable for the current process.
set env "DEBUG" to "true"
remove envremove_varRemoves an environment variable from the current process.
remove env "DEBUG"
current foldercurrent_dirGets the current working directory path.
make cwd = current folder
change folderset_current_dirChanges the working directory of the current process.
change folder "/tmp"
temp foldertemp_dirGets the system's temporary directory path.
make tmp = temp folder
home folderhome_dirGets the current user's home directory path.
make home = home folder
program pathcurrent_exeGets the full filesystem path to the currently running executable.
make exe = program path
shell pathSHELL / ComSpecGets the path to the system's default shell environment.
make sh = shell path
OS AND SYSTEM
system nameOSReturns the name of the operating system (e.g., "linux", "windows").
make os = system name
system versionos_infoRetrieves the specific version of the operating system.
make ver = system version
system architectureARCHReturns the CPU architecture (e.g., "x86_64", "aarch64").
make arch = system architecture
system platformplatformGets platform-specific environment information.
make plat = system platform
kernel versionuname/sysinfoGets the version of the OS kernel.
make kv = kernel version
host namehostnameGets the network host name of the current machine.
make host = host name
system infounameGets general system identification information.
make info = system info
user namewhoami/usersGets the username of the current active user.
make user = user name
user iduidGets the numeric user ID of the current user.
make id = user id
group idgidGets the numeric group ID of the current user.
make gid = group id
group namegroupGets the group name of the current user.
make gname = group name
home pathhome_dirGets the home directory path of the current user.
make home = home path
temp pathtemp_dirGets the temporary directory path of the system.
make tmp = temp path
working foldercurrent_dirGets the current working directory path.
make cwd = working folder
change working folderset_current_dirChanges the working directory of the current process.
change working folder "/var/log"
get system envenv::varFetches the value of an environment variable.
make path = get system env "PATH"
set system envset_varSets an environment variable globally for the process.
set system env "DEBUG" to "1"
remove system envremove_varRemoves an environment variable from the process.
remove system env "DEBUG"
cpu countavailable_parallelismGets the number of available CPU logical cores.
make cores = cpu count
cpu infosysinfoGets detailed CPU specifications and load per core.
make cpu_data = cpu info
total memorysysinfoGets total physical RAM available in the system in bytes.
make mem = total memory
free memorysysinfoGets currently available physical RAM in bytes.
make available = free memory
total swapsysinfoGets total swap space available in bytes.
make swp = total swap
free swapsysinfoGets currently available swap space in bytes.
make free_swp = free swap
list diskssysinfoGets a list of connected storage disks and partitions.
make disks = list disks
disk usagesysinfoGets storage usage statistics for a specific disk.
make usage = disk usage "/dev/sda1"
network statssysinfoGets traffic statistics for network interfaces.
make net = network stats "eth0"
system loadloadavgGets the 1, 5, and 15-minute system load averages.
make load = system load
uptimesysinfoGets the system uptime in seconds.
make up = uptime
boot timesysinfoGets the Unix timestamp of when the system booted.
make boot = boot time
list system processessysinfoGets a list of all currently running OS processes.
make procs = list system processes
system process infosysinfoGets detailed metrics (RAM/CPU) for a specific OS process.
make p_info = system process info pid
handle signalsignal-hookRegisters a callback for OS-level signals (like SIGINT).
handle signal SIGINT {
    print "Exiting gracefully"
}
kill system processkillSends a termination signal to an arbitrary OS process.
kill system process pid
open with systemopenerOpens a file or URL using the system's default handler.
open with system "https://rust-lang.org"
find executablewhichLocates the full path of an executable in the system PATH.
make git_path = find executable "git"
restart systemreboot helperIssues a system reboot command (requires privileges).
restart system
shut down systemshutdown helperIssues a system shutdown command (requires privileges).
shut down system
sleep systemsuspend helperPuts the operating system into suspend/sleep mode.
sleep system
hibernate systemhibernate helperPuts the operating system into hibernation mode.
hibernate system
lock screenplatform helperLocks the current user's desktop session.
lock screen
system clipboardarboardReads from or writes to the OS clipboard.
make txt = system clipboard read
NETWORKING
ip addressIpAddrRepresents an IPv4 or IPv6 network address.
make ip = ip address "127.0.0.1"
port numberu16Represents a 16-bit network port number.
make port = port number 8080
resolve hostToSocketAddrsResolves a domain name into a list of IP addresses.
make addrs = resolve host "localhost:80"
reverse lookupreverse dnsResolves an IP address back to its domain name.
make host = reverse lookup "8.8.8.8"
ping hostping helperSends ICMP echo requests to measure reachability and latency.
make latency = ping host "1.1.1.1"
trace routetraceroute helperTraces the network hops taken to reach a destination.
make hops = trace route "google.com"
open tcpTcpStream::connectOpens a TCP connection to a remote host.
make conn = open tcp "127.0.0.1:80"
listen tcpTcpListener::bindBinds a TCP listener to a local network address.
make server = listen tcp "0.0.0.0:8080"
accept tcpacceptAccepts an incoming TCP connection from a client.
make client = accept tcp server
read tcpstream readReads bytes from an open TCP connection.
make bytes = read tcp conn
write tcpstream writeWrites bytes to an open TCP connection.
write tcp conn with data
close tcpshutdown/dropCloses both the read and write halves of a TCP connection.
close tcp conn
bind udpUdpSocket::bindBinds a UDP socket to a local address.
make socket = bind udp "0.0.0.0:9000"
send udpsend_toSends a UDP datagram to a specific remote address.
send udp socket to "1.1.1.1:53" 
with query
get udprecv_fromReceives a UDP datagram and the sender's address.
make msg, sender = get udp socket
join multicastjoin_multicastSubscribes a UDP socket to a multicast group.
join multicast socket group "224.0.0.1"
leave multicastleave_multicastUnsubscribes a UDP socket from a multicast group.
leave multicast socket group "224.0.0.1"
open raw socketsocket2/pnetOpens a raw network socket for custom packet crafting.
make raw = open raw socket
set socket optionsocket2Configures low-level socket options (e.g., TTL, keepalive).
set socket option conn TTL to 64
show routesroute helperRetrieves the system's IP routing table.
make routes = show routes
list interfacesif_addrsLists all network interfaces available on the system.
make ifaces = list interfaces
bring interface upinterface helperEnables a network interface (requires privileges).
bring interface up "eth0"
bring interface downinterface helperDisables a network interface (requires privileges).
bring interface down "eth0"
read arpARP helperReads the system's ARP (Address Resolution Protocol) cache.
make cache = read arp
mac addressMAC helperRetrieves the hardware MAC address of a network interface.
make mac = mac address "eth0"
mtu sizeMTU helperRetrieves the Maximum Transmission Unit of an interface.
make size = mtu size "eth0"
WEB AND HTTP
make web clientreqwest clientCreates an asynchronous HTTP client capable of connection pooling.
make client = make web client
get requestGETPrepares an HTTP GET request to retrieve a resource.
make req = get request "https://api.com"
post requestPOSTPrepares an HTTP POST request to submit data.
make req = post request "https://api.com"
put requestPUTPrepares an HTTP PUT request to replace a resource.
make req = put request "https://api.com"
patch requestPATCHPrepares an HTTP PATCH request to partially update a resource.
make req = patch request "https://api.com"
delete requestDELETEPrepares an HTTP DELETE request to remove a resource.
make req = delete request "https://api.com"
head requestHEADPrepares an HTTP HEAD request to fetch headers without the body.
make req = head request "https://api.com"
options requestOPTIONSPrepares an HTTP OPTIONS request to check supported methods/CORS.
make req = options request "https://api.com"
trace requestTRACEPrepares an HTTP TRACE request for diagnostic routing.
make req = trace request "https://api.com"
send requestgeneric requestDispatches the prepared HTTP request and awaits the response.
make res = send request req
set headerheader insertAdds a custom HTTP header to the request.
set header req "Accept" to "*/*"
get headersheader mapRetrieves the collection of headers from a response.
make hdrs = get headers res
set cookiecookie handlingInjects a cookie into the client's cookie store or request.
set cookie client "session=123"
get cookiescookie storeRetrieves the managed cookie store from the client.
make jar = get cookies client
set queryquery paramsAppends URL-encoded query parameters to the request.
set query req "page" to 2
send formform bodySets the request body to application/x-www-form-urlencoded.
send form req with form_data
send multipartmultipartSets the request body to multipart/form-data.
send multipart req with part_data
send jsonjson bodySerializes data and sets the request body to application/json.
send json req with my_obj
upload filemultipart uploadAttaches a file stream to a multipart request.
upload file form "doc.pdf"
download filebytes saveStreams the response body directly into a file on disk.
download file res to "dl.zip"
stream responsestreaming bodyRetrieves the response body as an async stream of byte chunks.
make stream = stream response res
follow redirectsredirect policyConfigures the client's policy for following HTTP redirects.
follow redirects client true
set proxyproxy configConfigures the client to route traffic through a proxy server.
set proxy client "http://proxy:80"
set timeouttimeout configSets the maximum duration allowed for the request to complete.
set timeout client 30 seconds
retry requestretry helperAdds exponential backoff and retry logic to a request.
retry request req 3 times
use basic authbasic_authConfigures the request with HTTP Basic Authentication.
use basic auth req "user" "pass"
use bearer authbearer_authConfigures the request with an OAuth/Bearer Token.
use bearer auth req "token_xyz"
use digest authdigest helperConfigures the request to use Digest Authentication.
use digest auth req "user" "pass"
use mutual tlsmTLSConfigures the client with a client certificate for mTLS.
use mutual tls client my_cert
set tlstls configAdjusts TLS settings (e.g., specifying trusted roots or ignoring validation).
set tls client insecure
cache responsecache helperInstructs the client to utilize a local response cache.
cache response client true
response statusstatusRetrieves the HTTP status code from the response.
make code = response status res
response texttextConsumes the response body into a UTF-8 string.
make body = response text res
response bytesbytesConsumes the response body into a raw byte vector.
make raw = response bytes res
save responsesave fileWrites the completely downloaded response to a disk path.
save response res to "img.png"
set rangerange headerSets the Range header to fetch partial content (resuming downloads).
set range req from 0 to 1024
use etagetag helperHandles ETag headers for conditional requests.
use etag req "W/12345"
WEBSOCKETS, EVENTS, REALTIME
open websocketws connectConnects to a remote WebSocket server.
make ws = open websocket "ws://api.com"
send websocketws sendSends a text or binary message over a WebSocket.
send websocket ws "Hello Server"
get websocketws recvReceives the next message from the WebSocket stream.
make msg = get websocket ws
close websocketws closeCloses the WebSocket connection cleanly.
close websocket ws
ping websocketws pingSends a ping control frame to keep the connection alive.
ping websocket ws
pong websocketws pongSends a pong control frame in response to a ping.
pong websocket ws
subscribe websocketsubscribeSubscribes to a specific topic over the socket (application-level).
subscribe websocket ws to "updates"
unsubscribe websocketunsubscribeUnsubscribes from a previously subscribed topic.
unsubscribe websocket ws from "updates"
open event streamSSE connectConnects to a Server-Sent Events stream.
make sse = open event stream "http://stream"
read event streamnext SSEAwaits the next event from the SSE stream.
make event = read event stream sse
close event streamclose SSECloses the SSE connection.
close event stream sse
make rtc peerWebRTC peerInitializes a new WebRTC peer connection.
make peer = make rtc peer
make rtc offerofferCreates an SDP offer to initiate a WebRTC connection.
make offer = make rtc offer peer
make rtc answeranswerCreates an SDP answer to respond to an offer.
make answer = make rtc answer peer
handle rtc iceiceProcesses incoming ICE candidates for NAT traversal.
handle rtc ice peer candidate
make data channeldata channelOpens a WebRTC data channel for arbitrary data transmission.
make ch = make data channel peer
make media streammedia streamAttaches audio/video media tracks to the peer connection.
make stream = make media stream peer
DNS, TLS, SSH, FTP
lookup dnsresolver lookupQueries the DNS resolver for a domain.
make records = lookup dns "rust-lang.org"
lookup a recordAQueries for IPv4 addresses (A records).
make ipv4 = lookup a record "example.com"
lookup aaaa recordAAAAQueries for IPv6 addresses (AAAA records).
make ipv6 = lookup aaaa record "example.com"
lookup mx recordMXQueries for Mail Exchange (MX) records.
make mx = lookup mx record "example.com"
lookup txt recordTXTQueries for text strings (TXT records).
make txt = lookup txt record "example.com"
lookup ns recordNSQueries for Name Server (NS) records.
make ns = lookup ns record "example.com"
lookup srv recordSRVQueries for Service (SRV) records.
make srv = lookup srv record "_sip._tcp"
reverse dnsPTRPerforms a reverse lookup from IP address to hostname.
make host = reverse dns "8.8.8.8"
flush dnshelperClears the local DNS cache.
flush dns cache
renew dhcphelperRenews the DHCP lease for a network interface.
renew dhcp "eth0"
release dhcphelperReleases the DHCP lease for an interface.
release dhcp "eth0"
open tlsrustls connectInitiates a TLS client connection over an underlying stream.
make tls = open tls "api.com" on tcp_stream
accept tlsrustls acceptAccepts an incoming TLS connection as a server.
make tls = accept tls incoming_stream
do tls handshakehandshakePerforms the cryptographic handshake explicitly.
do tls handshake tls
load certificatecert loadLoads an X.509 certificate.
make cert = load certificate "cert.pem"
parse certificatex509 parseParses raw bytes into a certificate object.
make cert = parse certificate bytes
check certificateverifyVerifies a certificate against trusted roots.
check certificate cert against roots
load keyprivate key loadLoads a private cryptographic key.
make key = load key "private.key"
make identityidentity bundleCombines a certificate and private key into an identity.
make id = make identity cert and key
tls sessionsession infoGets details about the active TLS session parameters.
make info = tls session tls
set alpnALPNConfigures Application-Layer Protocol Negotiation (e.g., HTTP/2).
set alpn tls to "h2"
set ciphercipherRestricts the allowed cryptographic cipher suites.
set cipher tls to "TLS13_AES_256_GCM_SHA384"
tls versionprotocol versionSpecifies the minimum/maximum allowed TLS protocol versions.
set tls version tls to 1.3
check ocsphelperVerifies certificate revocation status via OCSP.
check ocsp cert
load caCA storeLoads a custom Certificate Authority root trust store.
make ca = load ca "custom_roots.pem"
make csrCSR createGenerates a Certificate Signing Request.
make csr = make csr for "site.com"
issue certificateissue certSigns a CSR to create a new certificate (acting as a CA).
make new_cert = issue certificate csr
revoke certificaterevokeAdds a certificate to a revocation list (CRL).
revoke certificate cert
check chainverify chainValidates the entire certificate trust chain up to a root CA.
check chain cert to ca_store
open sshssh2/opensshInitiates an SSH connection.
make ssh = open ssh "[email protected]"
run sshexecExecutes a command remotely over the SSH connection.
make out = run ssh ssh "ls -la"
open ssh shellshell sessionOpens an interactive shell session over SSH.
make shell = open ssh shell ssh
make ssh tunneltunnelForwards a local port to a remote destination via SSH.
make ssh tunnel ssh from 8080 to 80
forward sshforwardActs as a jump host to forward the SSH connection.
forward ssh ssh to "internal_host"
send with sshcopy_toCopies a local file to the remote host (SCP protocol).
send with ssh ssh "app.bin" to "/usr/bin/"
get with sshcopy_fromCopies a remote file to the local host (SCP protocol).
get with ssh ssh "/var/log/syslog" to "./"
list sftpreaddirLists files in a remote directory via SFTP.
make files = list sftp sftp "/var/www"
get sftpgetDownloads a file via SFTP.
get sftp sftp "remote_file.txt"
put sftpputUploads a file via SFTP.
put sftp sftp "local_file.txt"
make sftp foldermkdirCreates a remote directory via SFTP.
make sftp folder sftp "/new_dir"
remove sftpremoveDeletes a remote file or directory via SFTP.
remove sftp sftp "old_file.txt"
open ftpconnectConnects to an FTP server.
make ftp = open ftp "ftp.example.com"
login ftploginAuthenticates with the FTP server.
login ftp ftp as "user" "password"
list ftplistLists directory contents on the FTP server.
make files = list ftp ftp
get ftpretrieveDownloads a file via FTP.
get ftp ftp "backup.zip"
put ftpstoreUploads a file via FTP.
put ftp ftp "backup.zip"
make ftp foldermkdirCreates a directory on the FTP server.
make ftp folder ftp "archives"
rename ftprenameRenames a file on the FTP server.
rename ftp ftp "old.txt" to "new.txt"
close ftpquitCloses the FTP connection cleanly.
close ftp ftp
EMAIL AND MESSAGING
send maillettreConstructs and sends an email message.
send mail to "[email protected]" 
with subject "Hi"
get mailIMAP/POP3 helperRetrieves emails from an inbox via a mail protocol.
make emails = get mail inbox
open smtpsmtp connectConnects to an SMTP server for outbound email routing.
make smtp = open smtp "smtp.mail.com"
open imapimap connectConnects to an IMAP server for syncing remote mailboxes.
make imap = open imap "imap.mail.com"
open pop3pop3 connectConnects to a POP3 server for downloading mail.
make pop = open pop3 "pop.mail.com"
attach mailadd attachmentAdds a file or binary payload to an email draft.
attach mail draft "report.pdf"
reply mailreply helperDrafts a reply linking to the original message's Message-ID.
make rep = reply mail original_msg
forward mailforward helperDrafts a forwarded copy of an existing message.
make fwd = forward mail original_msg
search mailmail searchSearches a mailbox (e.g., via IMAP SEARCH commands).
make hits = search mail "URGENT"
delete maildeleteMarks an email for deletion on the server.
delete mail msg
mark mail readmark seenAdds the `\Seen` flag to an email.
mark mail read msg
send text messageSMS providerSends an SMS text message using a configured API provider.
send text message to "555-1234" 
with "Alert"
get text messageprovider APIFetches received SMS texts from a provider.
make texts = get text message
open xmppxmpp clientConnects to an XMPP instant messaging server.
make chat = open xmpp "xmpp.server.com"
send xmppxmpp sendSends a chat stanza over the XMPP connection.
send xmpp chat to "bob" with "Hello"
open mqttmqtt clientConnects to an IoT MQTT message broker.
make mqtt = open mqtt "broker.hivemq.com"
send mqttpublishPublishes a payload to an MQTT topic.
send mqtt mqtt topic "sensors/temp" 
with "22.5"
watch mqttsubscribeSubscribes to an MQTT topic to receive messages.
watch mqtt mqtt topic "sensors/#"
stop mqtt watchunsubscribeUnsubscribes from an MQTT topic.
stop mqtt watch mqtt topic "sensors/#"
send kafkaproduceProduces a message to an Apache Kafka event stream.
send kafka topic "logs" with "error_01"
get kafkaconsumeConsumes events from an Apache Kafka topic.
make event = get kafka topic "logs"
send queue messagemq sendPushes a task or message to a message broker (e.g., RabbitMQ).
send queue message queue "tasks" 
with job_data
get queue messagemq recvPulls the next available message from a queue.
make job = get queue message "tasks"
accept queue messageackAcknowledges successful processing so the broker removes it.
accept queue message job
reject queue messagenackRejects a message, returning it to the queue or dead-lettering it.
reject queue message job
BROWSER, HTML, DOM
open browserbrowser automationLaunches a managed browser instance (headed or headless).
make b = open browser
close browsercloseTerminates the managed browser instance.
close browser b
go browsernavigateNavigates the browser to a specified URL.
go browser b "https://example.com"
back browserbackNavigates to the previous page in the session history.
back browser b
forward browserforwardNavigates to the next page in the session history.
forward browser b
reload browserreloadRefreshes the current browser page.
reload browser b
run browser codeeval jsExecutes arbitrary JavaScript within the active page context.
run browser code b "alert('hi')"
take browser shotscreenshotCaptures a screenshot of the viewport or entire page.
take browser shot b to "shot.png"
get browser cookiescookiesExtracts the cookies currently set in the browser session.
make c = get browser cookies b
get local storagelocalStorageReads the browser's persistent LocalStorage for the origin.
make ls = get local storage b
get session storagesessionStorageReads the browser's temporary SessionStorage for the origin.
make ss = get session storage b
get browser historyhistoryRetrieves the history stack of the current tab.
make hist = get browser history b
print browserprint pageGenerates a PDF or print-ready document from the page.
print browser b to "page.pdf"
open webviewwebviewCreates an OS-native webview window for local UI rendering.
make wv = open webview "app.html"
bind webviewbridge bindingExposes a Rust backend function to the webview's JavaScript.
bind webview wv "save" to save_fn
run webview codeevalEvaluates JavaScript within the webview.
run webview code wv "updateUI()"
close webviewcloseDestroys the webview window.
close webview wv
read htmlparseParses a raw HTML string into an operable Document Object Model.
make doc = read html html_string
write htmlrenderSerializes a DOM structure back into an HTML string.
make str = write html doc
escape htmlescapeEncodes special characters to prevent cross-site scripting (XSS).
make safe = escape html "<b>"
unescape htmlunescapeDecodes HTML entities back to characters.
make raw = unescape html "&amp;"
read cssparseParses a CSS stylesheet string into an object model.
make css = read css stylesheet_str
write cssstringifySerializes a CSS object model back to a text string.
make str = write css css_obj
find domquery selectorLocates the first node matching a CSS selector.
make btn = find dom doc "#submit"
find all domquery_allLocates all nodes matching a CSS selector.
make links = find all dom doc "a.nav"
make domcreate nodeInstantiates a new standalone HTML element.
make div = make dom "div"
add domappendAppends a child element to a parent node.
add dom div to doc.body
remove domremoveRemoves a node from its parent in the DOM.
remove dom ad_banner
dom attributeattrReads or modifies an HTML attribute of a node.
dom attribute div "id" to "main"
dom stylestyleReads or modifies an inline CSS property of a node.
dom style div "color" to "blue"
dom texttext contentSets the safe text content of an element (no HTML parsing).
dom text div to "Hello World"
dom htmlinner htmlSets the inner HTML of an element (parses string as markup).
dom html div to "<b>Hello</b>"
listen domadd handlerAttaches an event listener to a specific DOM node.
listen dom btn "click" {
    print "Clicked!"
}
stop dom listenremove handlerRemoves a previously attached event listener.
stop dom listen btn "click"
fire domdispatchDispatches a synthetic event on a node.
fire dom btn "click"
SERVERS
start serverserver runStarts the HTTP server listening on a port. [Image of web server architecture diagram]
start server app on "0.0.0.0:80"
stop servergraceful shutdownSignals the server to stop accepting connections and shut down cleanly.
stop server app
add routeroute registrationRegisters a new endpoint route and handler.
add route app "/api" to api_handler
get routeGET routeRegisters a route specifically for GET requests.
get route app "/users" to get_users
post routePOST routeRegisters a route specifically for POST requests.
post route app "/users" to add_user
put routePUT routeRegisters a route specifically for PUT requests.
put route app "/users/1" to update_user
patch routePATCH routeRegisters a route specifically for PATCH requests.
patch route app "/users/1" to patch_user
delete routeDELETE routeRegisters a route specifically for DELETE requests.
delete route app "/users/1" to del_user
add middlewaremiddlewareInjects a middleware layer for processing requests/responses globally.
add middleware app logging_mw
serve filesstatic filesRegisters a directory to serve static file assets.
serve files app "/public" from "./dist"
serve templatetemplate engineResponds to a request by rendering an HTML template.
serve template res "index.html" 
with context
serve websocketws routeUpgrades an incoming HTTP request into a WebSocket connection.
serve websocket app "/ws" to ws_handler
serve event streamsse routeEstablishes a Server-Sent Events connection for the client.
serve event stream app "/events" 
to sse_stream
server cookiecookie handlingSets or modifies cookies on the outgoing server response.
server cookie res "auth=true"
server sessionsession middlewareReads or writes to the server-side user session store.
server session req set "user_id" to 1
server uploadmultipart uploadParses and saves incoming multipart file uploads from the client.
make file = server upload req "avatar"
server downloadfile responseSends a local file to the client as a downloadable attachment.
server download res "report.pdf"
allow corsCORS middlewareConfigures Cross-Origin Resource Sharing headers for the server.
allow cors app from "https://web.com"
proxy serverreverse proxy helperForwards the incoming request to another backend server.
proxy server req to "http://internal"
server tlsrustlsConfigures the server to listen over HTTPS/TLS.
server tls app with cert and key
redirect serverredirect responseSends an HTTP redirect response to the client.
redirect server res to "/login"
TEMPLATES AND DOCS
load templatetemplate loadLoads a template file into the templating engine.
make tpl = load template "email.html"
render templaterenderRenders a loaded template using a provided context/data.
make html = render template tpl 
            with data
template partpartialRegisters a reusable sub-template (partial) for inclusion.
template part engine "header.html"
template layoutlayoutSets a base layout template that wraps other templates.
template layout engine "base.html"
read markdownparseParses a Markdown string into an abstract syntax tree.
make ast = read markdown "# Title"
write markdownrenderRenders a Markdown AST back into text.
make txt = write markdown ast
markdown to htmlto_htmlConverts a Markdown string directly into HTML markup.
make html = markdown to html "**bold**"
read rstparse helperParses reStructuredText markup.
make rst = read rst doc_text
write rstrender helperRenders an object into reStructuredText format.
make txt = write rst rst_obj
GUI AND WINDOW
open appeframe/iced/tauriBootstraps and launches the main graphical application framework.
open app MyApp
main approot UIDefines the root container/widget of the application UI.
main app { ... }
show labellabelRenders static text on the screen.
show label "Welcome to the App"
show buttonbuttonRenders a clickable button.
if show button "Submit" { ... }
show inputtext inputRenders a single-line text input field.
show input mut_username
show text areamultiline textRenders a multi-line text input box.
show text area mut_description
show checkboxcheckboxRenders a togglable true/false checkbox.
show checkbox "Agree" mut_agreed
show radioradioRenders a mutually exclusive radio button option.
show radio "Option A" in mut_choice
show selectcombo/selectRenders a dropdown combo box for selecting from a list.
show select mut_val from ["A", "B"]
show listlistRenders a vertical, scrollable list of items.
show list items with |item| { ... }
show tabletableRenders a data table with columns and rows.
show table rows with headers
show gridgridRenders a 2D layout grid for precise widget placement.
show grid 2 columns { ... }
show rowrow layoutArranges child widgets horizontally from left to right.
show row { show button "1"; ... }
show columncolumn layoutArranges child widgets vertically from top to bottom.
show column { show label "1"; ... }
show stackstack layoutLayers widgets on top of each other (Z-index).
show stack { bg_image(); label(); }
show tabstabsRenders a tabbed interface for switching between views.
show tabs ["Home", "Settings"]
show menumenuRenders a standard application dropdown menu bar.
show menu "File" { ... }
show toolbartoolbarRenders an icon/action toolbar, typically near the top.
show toolbar { add_icon(); save_icon(); }
show status barstatus barRenders an informational bar at the bottom of the window.
show status bar "Ready"
show sidebarsidebarRenders a collapsible or fixed panel on the side of the window.
show sidebar { nav_links() }
show dialogdialogSpawns an OS-level file or message dialog window.
make path = show dialog open_file
show modalmodalDisplays a UI overlay that blocks interaction with the rest of the app.
show modal "Are you sure?"
show toasttoastDisplays a brief, non-blocking notification pop-up.
show toast "Saved successfully"
show tiptooltipShows a hover tooltip when the cursor rests on a widget.
show tip "Click to save" on btn
show progressprogressRenders a loading bar or spinner.
show progress 0.75
show slidersliderRenders an interactive value slider.
show slider mut_volume from 0 to 100
show canvascanvasProvides a raw drawing surface for custom graphics.
show canvas { draw_circle(ctx) }
show webviewwebviewEmbeds a web browser view inside the native GUI.
show webview "https://example.com"
show treetreeRenders a collapsible tree view of hierarchical data.
show tree file_system_nodes
show splitsplitterRenders a resizable divider between two panels.
show split horizontal { left(); right(); }
show accordionaccordionRenders a vertically stacked set of expandable panels.
show accordion "Details" { ... }
make windowcreateInstantiates a new OS-level window.
make w = make window
show windowshowMakes a hidden window visible on the desktop.
show window w
hide windowhideHides a window without destroying it.
hide window w
close windowcloseDestroys the window and its context.
close window w
resize windowresizeChanges the logical size of the window.
resize window w to 800 by 600
move windowmoveChanges the absolute desktop position of the window.
move window w to 100, 100
set window titletitleChanges the text in the OS title bar.
set window title w "My App"
set window iconiconSets the taskbar/window icon.
set window icon w "app.png"
fullscreen windowfullscreenToggles the window into borderless full-screen mode.
fullscreen window w true
maximize windowmaximizeMaximizes the window to fill the available work area.
maximize window w
minimize windowminimizeMinimizes the window to the OS taskbar/dock.
minimize window w
focus windowfocusRequests OS focus to bring the window to the foreground.
focus window w
set window opacityopacityChanges the transparency level of the window surface.
set window opacity w to 0.8
set window cursorcursorChanges the mouse cursor icon when hovering over the window.
set window cursor w to "pointer"
window clipboardclipboardAccesses the clipboard context linked to the window.
make text = window clipboard w read
window drag dropdragdropHandles OS file drop events over the window.
window drag drop w { |files| ... }
take window shotscreenshotGrabs a bitmap image of the rendered window surface.
take window shot w to "app.png"
sync windowvsyncWaits for the monitor's vertical blanking interval before drawing.
sync window w true
TERMINAL
clear terminalclearClears the terminal screen and resets the cursor.
clear terminal
move cursorcursor moveMoves the terminal cursor to a specific row and column.
move cursor to 10, 5
set terminal colorcolorChanges the foreground or background text color using ANSI escape codes.
set terminal color to "green"
set terminal stylestyleApplies text styling like bold, italic, or underline.
set terminal style to "bold"
write terminalprintPrints text to the standard output.
write terminal "Hello User"
read keyread keyReads a single unbuffered keystroke from the terminal.
make k = read key
read terminal lineread lineReads a full line of text from standard input until enter is pressed.
make input = read terminal line
terminal sizesizeGets the current dimensions (columns and rows) of the terminal window.
make cols, rows = terminal size
use alt screenalternate screenSwitches to the terminal's alternate screen buffer (useful for TUI apps).
use alt screen true
show terminal progressprogressRenders a progress bar in the terminal.
show terminal progress 50%
show terminal menumenuDisplays an interactive selection menu using arrow keys.
make opt = show terminal menu 
           ["Start", "Quit"]
show terminal tabletablePrints data formatted as a grid/table in the terminal.
show terminal table data_rows
show terminal panelpanelDraws a bordered box/panel around content in the terminal.
show terminal panel "Info" { ... }
show cursorcursor showMakes the terminal cursor visible.
show cursor
hide cursorcursor hideHides the terminal cursor.
hide cursor
ring bellbellTriggers the terminal's audible or visual bell.
ring bell
INPUT AND EVENTS
key downkey downTriggered when a keyboard key is pressed down.
listen event "key down" { |k| ... }
key upkey upTriggered when a keyboard key is released.
listen event "key up" { |k| ... }
key presskey pressTriggered when a full key press (down and up) occurs.
listen event "key press" { |k| ... }
mouse positionmouse posGets the current X and Y coordinates of the mouse cursor.
make x, y = mouse position
mouse downmouse downTriggered when a mouse button is pressed.
listen event "mouse down" { |b| ... }
mouse upmouse upTriggered when a mouse button is released.
listen event "mouse up" { |b| ... }
mouse clickmouse clickTriggered when a mouse button is fully clicked.
listen event "mouse click" { |b| ... }
mouse scrollmouse scrollTriggered when the mouse wheel is scrolled.
listen event "mouse scroll" { |d| ... }
touch eventtouchTriggered by a touch screen interaction (start, move, end).
listen event "touch" { |e| ... }
gesture eventgestureTriggered by a complex multi-touch gesture (pinch, swipe).
listen event "gesture" { |g| ... }
gamepad inputgamepadReads state from connected gamepads or controllers.
make pad = gamepad input 0
joystick inputjoystickReads analog joystick axis values.
make axis = joystick input "x"
keyboard shortcutshortcutRegisters a global or application-level key combination.
keyboard shortcut "ctrl+s" { save() }
drag eventdragTriggered when an element or file is being dragged.
listen event "drag" { |e| ... }
drop eventdropTriggered when a dragged element or file is dropped.
listen event "drop" { |files| ... }
focus eventfocusTriggered when an element or window gains input focus.
listen event "focus" { ... }
blur eventblurTriggered when an element or window loses input focus.
listen event "blur" { ... }
listen eventonSubscribes a handler function to a specific event type.
listen event "custom" to handler
stop listeningoffRemoves a previously subscribed event handler.
stop listening "custom" handler
send eventemitDispatches a custom event to the event loop.
send event "update" with data
listen signalsignal onListens for OS-level signals or framework-specific signals.
listen signal "quit" { ... }
stop signalsignal offStops listening for a specific signal.
stop signal "quit"
send signalsignal emitEmits a signal to active listeners.
send signal "ready"
CLIPBOARD AND DRAG DROP
copy clipboardcopyCopies data or text into the system clipboard.
copy clipboard "Hello World"
paste clipboardpasteRetrieves data or text from the system clipboard.
make txt = paste clipboard
clear clipboardclearEmpties the current contents of the system clipboard.
clear clipboard
start dragdrag startInitiates a drag-and-drop operation with a payload.
start drag item_data
move dragdrag moveUpdates UI state as a dragged item moves over drop zones.
listen event "drag move" { ... }
end dragdrag endFired when a drag operation is cancelled or completed.
listen event "drag end" { ... }
accept dropacceptSignals that a hovered drop zone accepts the dragged payload.
accept drop if type == "image"
drop filesfilesRetrieves a list of file paths dropped onto a window/widget.
make paths = drop files
drop texttextRetrieves text content dropped onto a window/widget.
make str = drop text
DRAWING, SVG, CHARTS, ANIMATION, 3D
make canvasgraphics canvasCreates a new 2D drawing context/surface.
make ctx = make canvas 800 by 600
clear drawingclearFills the entire canvas with a transparent or solid color.
clear drawing ctx with "white"
set draw colorcolorSets the active color for subsequent drawing operations.
set draw color ctx to "red"
set draw strokestrokeSets the active line thickness and style.
set draw stroke ctx to 2px
set draw fillfillDetermines if shapes should be filled or just outlined.
set draw fill ctx to true
draw linelineDraws a straight line between two points.
draw line ctx from 0,0 to 10,10
draw boxrectDraws a rectangle at a specific position with a width/height.
draw box ctx at 10,10 size 50,50
draw round boxround rectDraws a rectangle with rounded corners.
draw round box ctx at 10,10 rad 5
draw circlecircleDraws a perfect circle given a center point and radius.
draw circle ctx at 50,50 rad 20
draw ellipseellipseDraws an oval given a center point and X/Y radii.
draw ellipse ctx at 50,50 rad 20,10
draw arcarcDraws a segment of a circle's circumference.
draw arc ctx at 50,50 from 0 to Pi
draw polygonpolygonDraws a closed shape connecting an array of points.
draw polygon ctx points [p1, p2, p3]
draw pathpathExecutes a sequence of complex drawing commands (lines, curves).
draw path ctx my_custom_path
draw curvebezierDraws a quadratic or cubic Bezier curve.
draw curve ctx to p3 via p1, p2
draw texttextRenders a string of text onto the canvas at a specific point.
draw text ctx "Score: 0" at 10,20
draw imageimageRenders a bitmap image onto the canvas.
draw image ctx sprite at 50,50
transform drawingtransformApplies a 2D transformation matrix to the canvas.
transform drawing ctx with matrix
move drawingtranslateShifts the canvas origin (0,0) to a new point.
move drawing ctx by 100, 50
turn drawingrotateRotates the canvas context around its origin.
turn drawing ctx by 45 deg
scale drawingscaleMultiplies the size of subsequent drawing operations.
scale drawing ctx by 2.0
clip drawingclipRestricts drawing to occur only inside a defined path.
clip drawing ctx to my_path
mask drawingmaskUses an image's alpha channel to mask out drawn pixels.
mask drawing ctx with alpha_img
shadow drawingshadowApplies a drop-shadow effect to subsequent drawings.
shadow drawing ctx blur 5 color "black"
gradient drawinggradientFills shapes using a linear or radial color gradient.
gradient drawing ctx from "red" to "blue"
pattern drawingpatternFills shapes by repeating a smaller image as a tile.
pattern drawing ctx with brick_img
blend drawingblendChanges how overlapping colors are mixed (e.g., multiply, screen).
blend drawing ctx to "multiply"
set drawing opacityopacityChanges the global alpha transparency for the canvas.
set drawing opacity ctx to 0.5
filter drawingfilterApplies an image filter (like blur, sepia) to the canvas.
filter drawing ctx "blur(5px)"
load svgsvg parseParses a Scalable Vector Graphics file into a renderable object.
make icon = load svg "logo.svg"
save svgsaveSerializes an SVG object to a file.
save svg icon to "out.svg"
svg pathpathCreates or modifies an SVG `` node.
make p = svg path "M10 10 H 90 V 90"
svg boxrectCreates an SVG `` node.
make r = svg box 10,10 size 50,50
svg circlecircleCreates an SVG `` node.
make c = svg circle at 50,50 rad 20
svg ellipseellipseCreates an SVG `` node.
make e = svg ellipse at 50,50 rx 20 ry 10
svg linelineCreates an SVG `` node.
make l = svg line from 0,0 to 10,10
svg polylinepolylineCreates an SVG `` node.
make p = svg polyline pts [p1, p2, p3]
svg polygonpolygonCreates an SVG `` node.
make p = svg polygon pts [p1, p2, p3]
svg groupgroupCreates an SVG `` node to group elements together.
make g = svg group [rect, circle]
svg texttextCreates an SVG `` node.
make t = svg text "Hello" at 10,20
svg transformtransformApplies a transform attribute to an SVG node.
svg transform g rotate 45
svg stylestyleApplies a CSS style string to an SVG node.
svg style g "fill: red;"
export svgexportRenders an SVG object into a rasterized image (like PNG).
export svg icon to png "icon.png"
draw line chartchart lineGenerates a line graph from a dataset. [Image of line chart data visualization]
draw line chart data on canvas
draw bar chartchart barGenerates a bar graph from a dataset.
draw bar chart data on canvas
draw pie chartchart pieGenerates a pie chart from a dataset.
draw pie chart data on canvas
draw scatter chartscatterGenerates a scatter plot mapping X and Y points.
draw scatter chart pts on canvas
draw area chartareaGenerates a line chart where the area under the line is filled.
draw area chart data on canvas
draw histogramhistogramGenerates a bar chart showing frequency distribution.
draw histogram freq_data on canvas
draw heatmapheatmapGenerates a grid where values are represented by color intensity.
draw heatmap matrix on canvas
set chart axisaxisConfigures the labels, scales, and ticks for a chart's X/Y axis.
set chart axis X title "Months"
set chart legendlegendConfigures the visibility and position of the chart legend.
set chart legend pos "bottom"
add chart seriesseriesAppends an additional dataset line/bar to an existing chart.
add chart series "Project B" data2
render chartrenderFinalizes and draws the chart object to the canvas context.
render chart my_chart
export chartexportSaves the rendered chart directly to an image file.
export chart my_chart "chart.png"
plot lineline plotA low-level mathematical plotting function for lines.
plot line math_func on graph
plot pointspoint plotA low-level mathematical plotting function for discrete points.
plot points coordinates on graph
make animationanimation objectCreates a controller object for an animation sequence.
make anim = make animation
play animationplayStarts or resumes playing an animation.
play animation anim
pause animationpausePauses an animation at its current frame.
pause animation anim
stop animationstopStops an animation and usually returns it to frame 0.
stop animation anim
reset animationresetForces an animation back to its starting state.
reset animation anim
seek animationseekJumps the animation to a specific time or percentage.
seek animation anim to 50%
set animation speedspeedChanges the playback rate multiplier (1.0 is normal).
set animation speed anim to 2.0
loop animationloopSets whether the animation restarts after finishing.
loop animation anim true
reverse animationreversePlays the animation backwards.
reverse animation anim
delay animationdelaySets a wait time before the animation begins playing.
delay animation anim 1 second
add keyframekeyframeDefines an explicit property state at a specific time in the timeline.
add keyframe anim at 1s alpha 0
sequence animationsequenceChains multiple animations to play one after another.
sequence animation [anim1, anim2]
parallel animationparallelPlays multiple animations simultaneously.
parallel animation [anim1, anim2]
tween animationtweenInterpolates a numeric value from start to finish over time.
tween animation x from 0 to 100 in 1s
fade animationfadeAnimate the opacity of an element.
fade animation element to 0 in 1s
move animationmoveAnimate the X/Y coordinates of an element.
move animation element to 50,50 in 1s
scale animationscaleAnimate the size multiplier of an element.
scale animation element to 2x in 1s
turn animationrotateAnimate the rotation angle of an element.
turn animation element by 360 in 1s
color animationcolorSmoothly interpolate an element's color over time.
color animation bg to "blue" in 1s
ease animationeaseApplies an easing function (e.g., ease-in-out) to a tween.
ease animation anim with "ease-out"
spring animationspringApplies a physics-based spring easing for bouncy motion.
spring animation x to 100 tension 50
animation timelinetimelineA master object that scrubs/controls multiple child animations.
make t = animation timeline
make scenesceneCreates an empty 3D world graph for rendering.
make world = make scene
add to sceneaddInserts a 3D object, light, or camera into the scene.
add to scene world my_model
remove from sceneremoveRemoves an object from the 3D scene.
remove from scene world my_model
update sceneupdateAdvances physics, animations, and logic for all objects in the scene by one tick.
update scene world delta_time
draw scenerenderRenders the 3D scene to the screen using the active camera.
draw scene world
make cameracameraCreates a viewport (perspective or orthographic) for viewing the scene.
make cam = make camera perspective
move cameramoveSets the 3D coordinates (X, Y, Z) of the camera.
move camera cam to 0, 10, -50
turn camerarotateRotates the camera on its pitch, yaw, or roll axes.
turn camera cam yaw 45
look camera atlook_atAutomatically calculates rotation so the camera stares at a specific 3D point.
look camera at origin
load meshloadLoads a 3D geometry file (like .obj or .glTF).
make mesh = load mesh "cube.obj"
make meshcreateProgrammatically generates 3D geometry via vertices and indices.
make mesh = make mesh [v1, v2, v3]
make materialcreateDefines surface properties (color, roughness, metallic) for a mesh.
make mat = make material "gold"
set materialsetAssigns a material to a specific mesh or model.
set material mesh to mat
make lightcreateCreates an illumination source (point, directional, or ambient).
make sun = make light directional
move lightmovePositions a light source in the 3D scene.
move light sun to 0, 100, 0
load skyboxloadLoads a cubemap texture to serve as the background of the 3D world.
load skybox world "space.hdr"
load shaderloadCompiles a custom GLSL/WGSL GPU shader program.
make fx = load shader "water.glsl"
set shadersetAssigns a custom shader to override a material's default rendering.
set shader mat to fx
load modelloadLoads a complex pre-assembled 3D asset containing meshes, materials, and animations.
make player = load model "hero.glb"
draw modeldrawExplicitly commands the GPU to render a single model instance.
draw model player
pick scenepickingCasts a ray from the mouse cursor into the 3D world to click on objects.
make hit = pick scene world at mouse_x, mouse_y
GPU
get gpu devicedeviceGets a logical handle to the GPU for resource creation.
make dev = get gpu device
get gpu adapteradapterRetrieves the physical GPU hardware adapter (e.g., querying for discrete vs integrated).
make gpu = get gpu adapter
make gpu bufferbuffer createAllocates raw memory on the GPU (VRAM).
make buf = make gpu buffer size 1024
write gpu bufferbuffer writeUploads data from the CPU to a GPU buffer.
write gpu buffer buf with my_data
make gpu texturetexture createAllocates image memory on the GPU for rendering or sampling.
make tex = make gpu texture 800x600
write gpu texturetexture writeUploads pixel data to a GPU texture.
write gpu texture tex with pixels
make gpu pipelinepipeline createConfigures the GPU render or compute pipeline state.
make pipe = make gpu pipeline 
            using shader
build gpu shadershader compileCompiles shader code (WGSL/GLSL) into an executable GPU module.
make sh = build gpu shader "main.wgsl"
run gpu computecompute dispatchExecutes a compute shader workload across a number of workgroups.
run gpu compute pipe groups 8, 8, 1
begin gpu drawrender beginStarts recording a rendering pass for a specific frame buffer.
make pass = begin gpu draw to frame
draw gpurender drawIssues a draw call for geometry (vertices/indices) on the GPU.
draw gpu pass vertices 0 to 3
end gpu drawrender endFinishes recording a rendering pass.
end gpu draw pass
present gpupresentSwaps the back buffer to present the rendered frame to the display.
present gpu frame
set shader uniformuniformPasses global variables (like camera matrices) to the shader.
set shader uniform "time" to 1.5
bind shaderbindBinds resources (textures, buffers) to a pipeline slot.
bind shader tex to slot 0
GAME AND PHYSICS
make spritecreateInstantiates a 2D sprite object from a texture.
make player = make sprite "hero.png"
draw spritedrawRenders a sprite to the game screen.
draw sprite player at 100, 100
move spritemoveTranslates a sprite's 2D coordinates.
move sprite player by 5, 0
turn spriterotateRotates a sprite by a specified angle.
turn sprite player by 90 deg
scale spritescaleResizes a sprite relative to its original dimensions.
scale sprite player to 2.0
flip spriteflipMirrors a sprite horizontally or vertically.
flip sprite player horizontal
play spriteanimateSteps through a spritesheet animation sequence.
play sprite player "run"
sprite hitcollideChecks 2D bounding box collision between two sprites.
if sprite hit player and enemy { ... }
make entitycreateSpawns an ECS (Entity Component System) entity.
make obj = make entity
drop entitydestroyRemoves an ECS entity and all its associated components.
drop entity obj
add to entityadd componentAttaches a data component to an entity.
add to entity obj component Health(100)
remove from entityremove componentDetaches a component from an entity.
remove from entity obj component Poison
tag entitytagAdds an empty marker component for quick querying.
tag entity obj "Enemy"
set entity layerlayerAssigns a rendering or physics layer mask to an entity.
set entity layer obj to "Foreground"
run game looploopStarts the main ECS update/render loop.
run game loop app
game ticktickManually advances the game engine state by one delta-time step.
game tick app
make physics worldworldInitializes a physics simulation space.
make phys = make physics world
make bodybodyCreates a rigid body (dynamic, static, or kinematic).
make b = make body dynamic
make collidercolliderAttaches physical collision geometry to a body.
make col = make collider box 10, 10
apply forceforceApplies a continuous force to a rigid body over time.
apply force to b 0, 9.8
apply pushimpulseApplies an instantaneous impulse (like a jump or explosion).
apply push to b 0, -50
set speedvelocityDirectly overrides the linear or angular velocity of a body.
set speed b to 10, 0
set gravitygravityModifies the global gravity vector of the physics world.
set gravity phys to 0, 9.81
cast rayraycastShoots a line through the physics world to detect hits.
make hit = cast ray phys 
           from origin to dir
test overlapoverlapChecks if a specific shape overlaps with any colliders in the world.
if test overlap phys box at x,y { ... }
step physicssimulateAdvances the physics simulation by a given time delta.
step physics phys by 0.016
pause physicspauseFreezes the physics simulation while leaving rendering active.
pause physics phys
resume physicsresumeUnfreezes the physics simulation.
resume physics phys
make jointjointConstrains two bodies together (e.g., hinge, spring, fixed).
make j = make joint hinge b1 to b2
load tilemaploadLoads a 2D grid-based level map.
make map = load tilemap "level1.tmx"
save tilemapsaveSaves modifications back to a tilemap file.
save tilemap map to "level1.tmx"
draw tilemapdrawRenders the visible chunk of the tilemap.
draw tilemap map on screen
get tilegetReads the tile ID or data at a specific grid coordinate.
make t = get tile map at 5, 5
set tilesetModifies the tile ID at a specific grid coordinate.
set tile map at 5, 5 to "wall"
make boardcreateInitializes a logical grid board (e.g., for chess or matching games).
make b = make board 8 by 8
draw boarddrawRenders the logical board visually.
draw board b
board cellcellAccesses the state of a specific logical cell.
make piece = board cell b at 0, 0
highlight boardhighlightVisually emphasizes a cell or valid movement path.
highlight board b at 0, 0 color "green"
reset boardresetClears the board back to its initial state.
reset board b
undo boardundoReverts the last logical board move via an internal history stack.
undo board b
redo boardredoReapplies a previously reverted board move.
redo board b
IMAGES, VIDEO, AUDIO
load imageimage loadReads and parses an image file from disk into memory.
make img = load image "photo.jpg"
save imagesaveEncodes and writes an image object to disk.
save image img to "out.png"
read imagedecodeDecodes an image from a raw byte stream in memory.
make img = read image bytes
write imageencodeEncodes an image object back into a raw byte format.
make bytes = write image img as "jpeg"
resize imageresizeChanges the dimensions of an image using a scaling filter.
make small = resize image img 
             to 100 by 100
crop imagecropExtracts a rectangular region from an image.
make face = crop image img 
            at 50,50 size 100,100
turn imagerotateRotates the image by a specific number of degrees.
make turned = turn image img by 90
flip imageflipMirrors the image horizontally or vertically.
make mirrored = flip image img horiz
blur imageblurApplies a Gaussian blur to the image.
make soft = blur image img rad 5.0
sharpen imagesharpenApplies a sharpening convolution filter to the image.
make crisp = sharpen image img
denoise imagehelperReduces visual noise and artifacting in the image.
make clean = denoise image img
gray imagegrayscaleConverts a color image into grayscale.
make bw = gray image img
invert imageinvertInverts all colors in the image.
invert image mut_img
threshold imagethresholdConverts pixels to pure black or white based on a cutoff.
threshold image mut_img at 128
set image alphaalpha opsModifies the transparency channel of the image.
set image alpha mut_img to 0.5
mask imagemaskUses another image's alpha channel to mask this image.
mask image mut_img with mask_layer
overlay imageoverlayDraws one image on top of another.
overlay image mut_bg with stamp 
at 10,10
mix imagecompositeBlends two images together using a specific blend mode.
mix image img1 and img2 mode "multiply"
draw text on imagedraw_textRenders text directly into the image's pixel data.
draw text on image mut_img "Watermark"
draw shape on imagedraw_shapeDraws geometric shapes directly into the image.
draw shape on image mut_img box at 0,0
image metadatametadataRetrieves the dimensions, color space, and format.
make info = image metadata img
image exifexifExtracts EXIF camera and GPS data from the image file.
make gps = image exif img "GPSInfo"
image histogramhistogramComputes the color distribution of the image.
make hist = image histogram img
make image thumbthumbnailGenerates a fast, low-resolution thumbnail.
make thumb = make image thumb img 
             size 128
take image shotscreenshotCaptures the current contents of the desktop or a window.
make img = take image shot main_window
read text from imageOCRPerforms Optical Character Recognition to extract text.
make txt = read text from image img
read qr from imageQR decodeDetects and decodes a QR code found within an image.
make url = read qr from image img
write qr to imageQR encodeGenerates a new image containing a QR code payload.
make qr = write qr to image "api.com"
load videoffmpeg openOpens a video file for frame-by-frame processing.
make vid = load video "clip.mp4"
save videowrite outputFinalizes and multiplexes a video stream to a file.
save video vid to "final.mkv"
play videoplaybackStarts playback of a video stream to the UI.
play video player
pause videopausePauses video playback.
pause video player
stop videostopStops playback and resets to the beginning.
stop video player
seek videoseekJumps the video stream to a specific timestamp.
seek video vid to 1m30s
trim videotrimCuts the video down to a specific start and end time.
trim video vid from 10s to 20s
cut videocutRemoves a segment from the middle of the video.
cut video vid from 5s to 10s
merge videomergeBlends two video streams (e.g., side-by-side or picture-in-picture).
merge video v1 and v2 mode "pip"
join videoconcatStitches two videos together end-to-end.
make final = join video v1 and v2
overlay videooverlayPlaces an image or text overlay on top of the video stream.
overlay video vid with watermark
subtitle videosubtitleAdds a soft-subtitle track (like .srt) to the video container.
subtitle video vid with "eng.srt"
caption videoburn captionsHard-codes/burns text captions directly into the video frames.
caption video vid with "eng.srt"
take audio from videoextract audioDemultiplexes and returns just the audio track.
make mp3 = take audio from video vid
take frame from videoextract frameDecodes a single specific frame from the video into an image.
make img = take frame from video 
           vid at 5s
capture camera videocaptureStarts streaming frames from a hardware capture device.
make stream = capture camera video
capture screen videocaptureStarts recording the user's desktop into a video stream.
make rec = capture screen video
stream videostreamPushes video data to a network destination (e.g., RTMP).
stream video vid to "rtmp://live"
encode videoencodeCompresses raw video frames using a codec (e.g., H.264).
encode video vid as "h264"
decode videodecodeDecompresses a video stream into raw frames.
decode video stream into frames
convert videotranscodeTranscodes a video from one format/codec to another.
convert video vid to "webm"
filter videofilter graphApplies a complex processing graph (like FFmpeg filters) to the video.
filter video vid with "vflip,negate"
video metadatametadataRetrieves duration, resolution, codecs, and framerate.
make info = video metadata vid
make video thumbthumbnailGenerates a still image thumbnail representing the video.
make thumb = make video thumb vid
export videoexportRenders the final processed video pipeline to disk.
export video vid to "render.mp4"
video fpsfpsGets or sets the frames-per-second of the video stream.
set video fps vid to 60
video sizeresolutionGets the pixel width and height of the video.
make w, h = video size vid
list cameraslistReturns available hardware webcams and capture cards.
make cams = list cameras
open cameraopenInitializes a connection to a specific camera device.
make cam = open camera 0
get camera frameframePulls the latest individual image frame from the camera buffer.
make img = get camera frame cam
record camerarecordBegins continuously saving the camera feed to a video file.
record camera cam to "vlog.mp4"
snap camerasnapshotTakes a high-res still photo from the camera.
make photo = snap camera cam
close cameracloseReleases the hardware lock on the camera device.
close camera cam
open webcamopenOpens the default system webcam.
make web = open webcam
get webcam frameframePulls the latest frame from the default webcam.
make img = get webcam frame web
record webcamrecordRecords the default webcam to a file.
record webcam web to "out.mp4"
close webcamcloseReleases the default webcam.
close webcam web
list screenslistReturns information about all connected physical monitors.
make displays = list screens
main screenprimaryGets the primary system monitor.
make main = main screen
take screen shotcaptureCaptures a full image of a specific screen.
take screen shot main to "bg.png"
take screen areacapture areaCaptures a specific cropped region of the screen.
take screen area 0,0 size 100,100
screen widthwidthGets the pixel width of a screen.
make w = screen width main
screen heightheightGets the pixel height of a screen.
make h = screen height main
screen scalescaleGets the DPI scaling factor of a screen (e.g., 1.5 for Retina).
make dpi = screen scale main
screen raterefresh rateGets the hardware refresh rate (Hz) of the monitor.
make hz = screen rate main
fullscreen screenfullscreenRequests the OS to make a window take up the entire screen.
fullscreen screen main true
screen brightnessbrightnessAdjusts the hardware backlight brightness of a monitor.
set screen brightness main to 80%
screen orientationorientationGets or sets the rotation of the screen (landscape/portrait).
set screen orientation main "portrait"
load audioloadReads and decodes an audio file into memory.
make track = load audio "song.mp3"
play audioplayStarts playback of an audio track to the default output device.
play audio track
pause audiopausePauses audio playback.
pause audio track
stop audiostopStops playback and resets to the beginning.
stop audio track
seek audioseekJumps playback to a specific timestamp in the audio track.
seek audio track to 1m30s
loop audioloopToggles whether the track should repeat indefinitely.
loop audio track true
set audio volumevolumeChanges the playback volume multiplier.
set audio volume track to 0.5
set audio panpanShifts the audio balance between left and right channels.
set audio pan track to -1.0
set audio pitchpitchChanges the playback speed/pitch without altering duration (if time-stretched).
set audio pitch track to 1.2
fade audiofadeApplies a volume fade-in or fade-out effect.
fade audio track in over 2s
mix audiomixCombines multiple audio tracks into a single output stream.
make master = mix audio [t1, t2]
record audiorecordCaptures audio from an input device to a file.
record audio mic to "voice.wav"
capture audiocapture inputStarts streaming live audio chunks from an input device.
make stream = capture audio mic
encode audioencodeCompresses raw PCM audio into a format like MP3 or Vorbis.
encode audio raw_pcm as "mp3"
decode audiodecodeDecompresses encoded audio into raw PCM frames.
make pcm = decode audio mp3_bytes
audio metadatametadataRetrieves the sample rate, channels, and duration.
make info = audio metadata track
audio spectrumspectrumPerforms an FFT to analyze the frequency spectrum of the audio.
make freqs = audio spectrum track
list audio devicesdevice listReturns all available hardware inputs and outputs.
make devices = list audio devices
set audio devicechoose deviceRoutes audio playback or capture to a specific hardware device.
set audio device track to "Speakers"
audio reverbeffect reverbApplies an environmental reverberation effect.
apply audio reverb track preset "hall"
audio equalizerequalizerAdjusts specific frequency bands in the audio track.
apply audio equalizer track boost bass
SPEECH
speak textTTSSynthesizes text into spoken audio.
speak text "Hello, world"
stop speakingstopHalts the current speech synthesis playback.
stop speaking
speech voicevoiceSets the synthetic voice profile (e.g., male, female, accent).
set speech voice to "en-US-Jenny"
speech raterateAdjusts the speed of the spoken text.
set speech rate to 1.5
speech pitchpitchAdjusts the tonal pitch of the synthetic voice.
set speech pitch to 0.8
speech languagelangSets the target language for pronunciation and synthesis.
set speech language to "es-ES"
hear speechrecognitionListens to microphone input and transcribes it to text.
make text = hear speech
PDF, DOCS, SHEETS
open pdfpdf openOpens a PDF document for reading or editing.
make doc = open pdf "file.pdf"
save pdfsaveWrites the PDF document to disk.
save pdf doc to "out.pdf"
pdf pagepage accessAccesses a specific page within the PDF.
make page = pdf page doc at 1
pdf textadd/read textExtracts text from or adds text to a PDF page.
make txt = pdf text page
pdf imageadd/extract imageExtracts images from or embeds images into a PDF page.
make img = pdf image page at 0
pdf tabledraw tableRenders a tabular data structure onto a PDF page.
pdf table page with data_rows
merge pdfmergeCombines multiple PDF documents into one.
make all = merge pdf doc1 and doc2
split pdfsplitExtracts specific pages into a new PDF document.
make doc2 = split pdf doc from 1 to 5
take text from pdfextract_textExtracts all readable text from the entire PDF.
make txt = take text from pdf doc
take image from pdfextract_imageExtracts all embedded images from the PDF.
make imgs = take image from pdf doc
pdf metadatametadataReads document properties like author, title, and creation date.
make info = pdf metadata doc
sign pdfsignApplies a cryptographic digital signature to the PDF.
sign pdf doc with my_cert
lock pdfencryptEncrypts the PDF and restricts permissions (e.g., printing, editing).
lock pdf doc with "password"
open printprinter contextInitializes a system print spooler context.
make job = open print
print setuppage setupConfigures paper size, orientation, and margins.
print setup job size "A4"
print previewpreviewGenerates a preview rendering of the print job.
show print preview job
print jobprint jobEnqueues a document into the print spooler.
print job doc to "Printer1"
send printsendCommits and sends the job to the physical printer.
send print job
open documentdoc openOpens a word processing document (e.g., DOCX).
make doc = open document "file.docx"
save documentdoc saveSaves changes to a word processing document.
save document doc
document to pdfexport pdfConverts a word processing document into a PDF.
document to pdf doc as "out.pdf"
document to htmlto htmlConverts a word processing document into HTML markup.
make html = document to html doc
open sheetworkbook openOpens a spreadsheet workbook (e.g., XLSX, CSV).
make book = open sheet "data.xlsx"
save sheetworkbook saveSaves changes to a spreadsheet workbook.
save sheet book
read cellread cellReads the value or formula from a specific spreadsheet cell.
make val = read cell book at "A1"
write cellwrite cellWrites a value or formula into a spreadsheet cell.
write cell book at "B2" with 42
read rangeread rangeReads a 2D array of values from a range of cells.
make data = read range book "A1:C10"
write rangewrite rangeWrites a 2D array of values into a range of cells.
write range book "A1:C10" with data
add sheetadd sheetAdds a new worksheet tab to the workbook.
add sheet book named "Summary"
remove sheetremove sheetDeletes a worksheet tab from the workbook.
remove sheet book named "Sheet2"
make tablecreateDefines a structural table within a document or sheet.
make t = make table 5 by 5
add rowrow addInserts a new row into a table.
add row t with ["a", "b"]
remove rowrow removeDeletes a row from a table.
remove row t at 2
add columncolumn addInserts a new column into a table.
add column t with "Total"
remove columncolumn removeDeletes a column from a table.
remove column t at 1
sort tablesortSorts the table rows based on a specific column.
sort table t by "Total"
filter tablefilterHides table rows that do not match a filter condition.
filter table t where "Total" > 10
SCAN, OCR, BARCODE
open scannerscan openConnects to an attached hardware image scanner (e.g., TWAIN/SANE).
make s = open scanner
scan pagescan pageTriggers the hardware scanner to capture a document page.
make img = scan page s
save scansave scanSaves the scanned image to disk.
save scan img to "doc.tiff"
read ocrOCR textRuns Optical Character Recognition to extract text from an image.
make txt = read ocr img
find text in scanOCR detectLocates the bounding boxes of specific text within a scanned document.
make boxes = find text in scan img 
             "Total"
scan layoutlayout analysisAnalyzes a document image to detect paragraphs, columns, and tables.
make layout = scan layout img
read barcodebarcode decodeDetects and decodes a 1D barcode (e.g., UPC, EAN) from an image.
make code = read barcode img
write barcodebarcode encodeGenerates an image containing a 1D barcode.
make img = write barcode "123456789"
read qrqr decodeDetects and decodes a 2D QR code from an image.
make url = read qr img
write qrqr encodeGenerates an image containing a 2D QR code.
make img = write qr "https://zelc.org"
NOTIFY, LOCALE, ACCESSIBILITY, LOCATION, POWER
show notificationnotifyTriggers a native OS desktop or mobile notification.
show notification "Download Complete"
update notificationupdateModifies an existing native notification without chiming again.
update notification notif_id 
with "Still downloading..."
close notificationcloseProgrammatically dismisses an active notification.
close notification notif_id
notification soundsoundAttaches an alert sound to a notification payload.
notification sound notif "chime.wav"
notification badgebadgeUpdates the unread count badge on the app's dock/home screen icon.
notification badge 5
show alertalertDisplays a blocking modal alert box.
show alert "Operation Failed!"
show toasttoastDisplays a brief, non-blocking UI message.
show toast "Saved"
get localelocale getGets the system's current language and region code (e.g., "en-US").
make loc = get locale
set localelocale setOverrides the application's locale for localization.
set locale to "fr-FR"
format local dateformat_dateFormats a date string according to local regional customs.
make s = format local date now
format local numberformat_numberFormats a number with local decimal and thousands separators.
make s = format local number 1000.5
format local moneycurrencyFormats a number as currency according to the active locale.
make s = format local money 19.99
translate texttranslateTranslates a translation key into the active locale string.
make s = translate text "btn_submit"
plural textpluralizeSelects the correct pluralized string based on a numeric value.
make s = plural text "item_count" 5
local time zonetimezoneGets the system's active timezone identifier.
make tz = local time zone
access labela11y labelSets an accessibility screen-reader label for a UI element.
access label btn to "Submit form"
access rolea11y roleDefines the semantic role of a UI element for screen readers.
access role div to "button"
access focusa11y focusProgrammatically moves accessibility focus to an element.
access focus error_msg
access announcea11y announceForces the screen reader to announce a specific string immediately.
access announce "Loading complete"
access shortcuta11y shortcutDefines a keyboard shortcut accessible to screen readers.
access shortcut btn "Alt+S"
access contrasta11y contrastChecks if the OS has a high-contrast mode enabled.
if access contrast { use_dark_theme() }
access scalea11y scaleGets the user's preferred text scaling/magnification factor.
make text_size = base_size * access scale
read gpsgps readRequests a single latitude/longitude coordinate from hardware.
make lat, lon = read gps
watch gpsgps watchSubscribes to continuous location updates.
watch gps { |loc| update_map(loc) }
read accelerometeraccelReads the current X/Y/Z acceleration vector of the device.
make x, y, z = read accelerometer
read gyrogyroReads the rotational velocity of the device.
make pitch, roll, yaw = read gyro
read magnetmagnetReads the magnetic field vector (compass heading).
make heading = read magnet
battery statusbattery statusChecks if the device is discharging, charging, or full.
make state = battery status
battery levelbattery levelGets the current battery charge percentage.
make pct = battery level
sleep powersleepPuts the physical device into a low-power sleep state.
sleep power
hibernate powerhibernatePuts the physical device into deep hibernation.
hibernate power
wake powerwakeRegisters a wake-lock to prevent the device from sleeping.
wake power "downloading_file"
shut down powershutdownIssues an OS-level shutdown command.
shut down power
restart powerrestartIssues an OS-level reboot command.
restart power
DATABASE, CACHE, SEARCH
open databasedb openConnects to a relational database.
make db = open database "postgres://..."
close databasecloseCloses the database connection pool.
close database db
run queryqueryExecutes a SQL query returning rows.
make rows = run query db "SELECT * FROM users"
run commandexecuteExecutes a SQL statement that modifies data (INSERT/UPDATE).
run command db "DELETE FROM logs"
prepare queryprepareCompiles a SQL query for repeated execution.
make stmt = prepare query db 
            "SELECT * WHERE id=?"
bind querybindBinds parameters to a prepared query statement to prevent injection.
bind query stmt with [1]
get one rowfetch_oneExecutes a query and expects exactly one row back.
make user = get one row stmt
get all rowsfetch_allExecutes a query and collects all returning rows into a list.
make users = get all rows stmt
begin transactionbeginStarts a database transaction block.
make tx = begin transaction db
commit transactioncommitCommits the current transaction to the database.
commit transaction tx
rollback transactionrollbackAborts and rolls back the current transaction.
rollback transaction tx
migrate databasemigrateRuns pending schema migrations against the database.
migrate database db with "./migrations"
last inserted idlast_idGets the auto-increment ID of the most recently inserted row.
make id = last inserted id res
rows affectedrows_affectedGets the number of rows changed by an UPDATE/DELETE.
make count = rows affected res
database poolpoolConfigures connection pooling settings (max connections, timeouts).
database pool db max connections 10
backup databasebackupTriggers a physical or logical backup of the database.
backup database db to "dump.sql"
open memory databaseopen_in_memoryOpens an ephemeral SQLite database in RAM for testing.
make db = open memory database
database transactiontransactionWraps a block of code in a transaction that automatically rolls back on error.
database transaction db { ... }
open key storesled/redb/rocksdbOpens a fast, embedded key-value database.
make kv = open key store "./data.db"
get keygetRetrieves a value by its key.
make val = get key kv "session_xyz"
set keysetStores or updates a value at a specific key.
set key kv "user_1" to "data"
delete keydeleteRemoves a key and its value from the store.
delete key kv "session_xyz"
key existsexistsChecks if a key is present in the store.
if key exists kv "config" { ... }
list keyskeysIterates over all keys in the store (or a specific prefix).
make all = list keys kv prefix "user_"
get cachegetRetrieves a value from an in-memory cache (like Redis or Memcached).
make val = get cache "metrics"
set cachesetStores a value in the cache.
set cache "metrics" to data
delete cachedeleteRemoves a value from the cache.
delete cache "metrics"
clear cacheclearFlushes all data from the cache.
clear cache
cache time to livettlSets how long a cached item should remain before expiring.
cache time to live "metrics" 60 seconds
expire cacheexpireForces a cached item to expire immediately or at a specific time.
expire cache "metrics" now
search texttext searchPerforms a full-text search against a database or search engine.
make hits = search text db "apple"
search patternregex searchPerforms a search using regular expressions.
make hits = search pattern db "^a.*"
search filefile searchScans a file system for filenames matching a query.
make files = search file "./" "index"
search globglob searchScans a file system using glob wildcards.
make files = search glob "**/*.js"
make indexcreate indexCreates an inverted index or B-tree index for faster searching.
make idx = make index "users"
add to indexaddAdds a document to a search index.
add to index idx doc_id with text
remove from indexremoveRemoves a document from a search index.
remove from index idx doc_id
query indexqueryQueries a created search index.
make results = query index idx "rust"
CLOUD, REMOTE, CONTAINERS
sign in cloudcloud authAuthenticates with a cloud provider's SDK using credentials.
make session = sign in cloud "aws"
set cloud regionregionSets the default geographic region for cloud operations.
set cloud region to "us-east-1"
list cloud instancesinstance listRetrieves a list of running VMs or compute instances.
make vms = list cloud instances
start cloud instancestartSends a command to boot up a compute instance.
start cloud instance "i-01234"
stop cloud instancestopSends a command to shut down a compute instance.
stop cloud instance "i-01234"
put cloud objectstorage putUploads a file or buffer to a cloud object store (e.g., S3).
put cloud object "s3://bucket/file" 
with data
get cloud objectstorage getDownloads an object from cloud storage.
make data = get cloud object 
            "s3://bucket/file"
list cloud objectsstorage listLists keys/objects available within a cloud storage bucket.
make keys = list cloud objects 
            "s3://bucket"
open cloud databasecloud dbConnects to a managed cloud database (e.g., DynamoDB).
make db = open cloud database 
          "dynamodb"
call cloud functioninvokeInvokes a serverless function (e.g., AWS Lambda).
make res = call cloud function 
           "ProcessImage" with payload
run remoteremote execExecutes a command on a remote host via SSH/WinRM.
run remote "ls -la" on "server1"
put remoteremote copyCopies a local file to a remote server.
put remote "app.jar" to "server1:/opt"
sync remoteremote syncSynchronizes a local directory with a remote directory (rsync-like).
sync remote "./src" to "server1:/src"
build dockerdocker buildBuilds a container image from a Dockerfile.
build docker "myapp:latest" from "./"
pull dockerdocker pullPulls a container image from a remote registry.
pull docker "ubuntu:20.04"
push dockerdocker pushPushes a local container image to a remote registry.
push docker "myrepo/myapp:latest"
run dockerdocker runSpawns a new container instance from an image.
make cid = run docker "redis"
exec dockerdocker execExecutes a command inside an already running container.
exec docker cid "redis-cli ping"
show docker logsdocker logsRetrieves stdout/stderr logs from a container.
show docker logs cid
stop dockerdocker stopGracefully stops a running container.
stop docker cid
remove dockerdocker rmDeletes a stopped container.
remove docker cid
list dockerdocker psLists all active Docker containers on the host.
make procs = list docker
docker infodocker inspectRetrieves detailed JSON metadata about a container/image.
make info = docker info cid
start composecompose upStarts a multi-container environment via Docker Compose.
start compose "./docker-compose.yml"
stop composecompose downStops and removes a Compose environment.
stop compose "./docker-compose.yml"
show compose logscompose logsAggregates logs from all containers in a Compose environment.
show compose logs
start vmvm startBoots up a local Virtual Machine (e.g., via libvirt or VirtualBox).
start vm "dev_box"
stop vmvm stopShuts down a local Virtual Machine.
stop vm "dev_box"
make vm snapshotvm snapshotCreates a point-in-time state backup of a VM.
make snap = make vm snapshot "dev_box"
restore vm snapshotvm restoreRolls a VM back to a previously saved snapshot.
restore vm snapshot "dev_box" to snap
SECRETS, AUTH, CRYPTO
get secretsecret manager getFetches a sensitive value from a Secrets Manager (e.g., AWS Secrets, HashiCorp Vault).
make key = get secret "api_key"
set secretsecret manager setStores or rotates a sensitive value in the secrets manager.
set secret "db_pass" to "supersecret"
delete secretsecret manager deleteRemoves a sensitive value from the secrets manager.
delete secret "old_key"
list secretslistLists available secret keys (without revealing values).
make keys = list secrets
open secret vaultsecure vaultUnlocks a local encrypted key-value store for app secrets.
make v = open secret vault "app.vault"
read secret vaultvault readReads an encrypted value from the local vault.
make val = read secret vault v "token"
write secret vaultvault writeWrites an encrypted value into the local vault.
write secret vault v "token" to "xyz"
load credentialscred loadLoads cloud/system credentials into the current context.
make creds = load credentials "aws"
save credentialscred savePersists credentials securely to the system keychain.
save credentials creds to "aws"
issue tokentoken issueGenerates a signed authorization token (e.g., JWT).
make token = issue token user_id
refresh tokentoken refreshExchanges a refresh token for a newly issued access token.
make new_t = refresh token old_refresh
revoke tokentoken revokeInvalidates a token before its natural expiration.
revoke token t
log inauth loginAuthenticates a user and establishes a session.
make s = log in "user" with "pass"
log outauth logoutTerminates an active session.
log out session
get sessionauth sessionRetrieves the current session state from a request.
make s = get session from request
get tokenauth tokenExtracts a Bearer token from authorization headers.
make t = get token from request
refresh loginauth refreshUpdates the session cookie or token to extend its lifetime.
refresh login session
check authauth verifyValidates if the provided session/token is valid and active.
if check auth session { ... }
hash authauth hashHashes a password for secure database storage.
make h = hash auth "my_password"
password authauth passwordVerifies a plaintext password against its stored hash securely.
if password auth "input" against h
oauth loginauth oauthInitiates an OAuth 2.0 or OIDC authentication flow.
make session = oauth login "google"
jwt authauth jwtVerifies a JWT signature and extracts its claims payload.
make claims = jwt auth token
saml authauth samlProcesses an enterprise SAML SSO assertion.
make session = saml auth request
mfa authauth mfaValidates a secondary authentication factor.
if mfa auth code { ... }
totp authauth totpValidates a Time-Based One-Time Password (e.g., Google Authenticator).
if totp auth secret code { ... }
md5 hashmd5Computes the MD5 hash (not recommended for security).
make h = md5 hash data
sha1 hashsha1Computes the SHA1 hash (not recommended for security).
make h = sha1 hash data
sha256 hashsha256Computes the cryptographically strong SHA-256 hash.
make h = sha256 hash data
sha512 hashsha512Computes the cryptographically strong SHA-512 hash.
make h = sha512 hash data
blake3 hashblake3Computes the extremely fast BLAKE3 cryptographic hash.
make h = blake3 hash data
hmac hashhmacComputes a Hash-based Message Authentication Code.
make h = hmac hash key data
make crypto randomrandom bytesGenerates secure random bytes suitable for cryptographic keys.
make key = make crypto random 32
lock dataencryptEncrypts plaintext into ciphertext using a key.
make cipher = lock data text with key
unlock datadecryptDecrypts ciphertext back into plaintext.
make plain = unlock data cipher 
             with key
sign datasignGenerates a cryptographic signature proving the origin of the data.
make sig = sign data text with priv_key
check signatureverifyVerifies that a digital signature is valid for the given data.
if check signature sig against pub_key
make keykeygenGenerates an asymmetric public/private keypair.
make pub, priv = make key rsa
derive keyderiveDerives a strong cryptographic key from a weak password using a KDF.
make key = derive key "password"
pbkdf2 keypbkdf2Derives a key using the PBKDF2 algorithm.
make key = pbkdf2 key "pass" salt
scrypt keyscryptDerives a key using the memory-hard Scrypt algorithm.
make key = scrypt key "pass" salt
argon2 keyargon2Derives a key using the modern Argon2 algorithm.
make key = argon2 key "pass" salt
aes cryptoaes helperProvides AES block cipher encryption/decryption operations.
make c = aes crypto key plain
chacha cryptochacha helperProvides ChaCha20 stream cipher operations.
make c = chacha crypto key plain
rsa cryptorsa helperProvides RSA asymmetric operations.
make c = rsa crypto pub_key plain
ec cryptoelliptic curve helperProvides Elliptic Curve (ECDH/ECDSA) operations.
make shared = ec crypto pub and priv
x509 cryptox509 helperHandles encoding/decoding of X509 digital certificates.
make cert = x509 crypto load_der raw
load certcert loadLoads a digital certificate from a file.
make cert = load cert "app.crt"
check certcert verifyValidates a certificate against trusted CA roots.
if check cert cert_chain { ... }
AI AND VISION
load modelai loadLoads a machine learning model (e.g., ONNX, PyTorch) into memory.
make model = load model "yolo.onnx"
run modelai runExecutes an inference pass on the loaded model.
make result = run model using input
make embeddingai embedConverts text or images into a dense vector embedding for similarity search.
make vec = make embedding "dog"
classify dataai classifyRuns a classification model to categorize input data.
make tag = classify data img
detect objectai detectRuns an object detection model to find bounding boxes in an image.
make boxes = detect object img
tokenize textai tokenizeSplits text into tokens based on an LLM tokenizer (e.g., BPE, WordPiece).
make tokens = tokenize text "Hello"
generate textai generatePrompts an LLM to generate a text completion. [Image of Large Language Model (LLM) transformer architecture]
make resp = generate text "Write a poem"
chat with aiai chatSends a conversational prompt to an AI model while maintaining history.
make reply = chat with ai session "Hi!"
transcribe audioai transcribeUses a Speech-to-Text model (like Whisper) to transcribe audio.
make txt = transcribe audio "memo.wav"
summarize textai summarizeUses an AI model to condense a large block of text.
make brief = summarize text article
translate with aiai translateTranslates text from one language to another using neural machine translation.
make es = translate with ai "Hello" 
          to "Spanish"
see with aiai visionPasses an image to a multimodal AI for description or Q&A.
make desc = see with ai img
find facevision faceRuns a facial recognition/detection algorithm on an image.
make faces = find face img
find objectvision objectDetects objects in an image using standard computer vision techniques.
make cars = find object img "car"
segment imagevision segmentSegments an image into masks (e.g., separating foreground from background).
make mask = segment image img
track objectvision trackTracks a moving object across sequential video frames.
track object obj in video_stream
match imagevision matchCompares two images to find overlapping features (feature matching).
make match = match image a and b
read vision textvision ocrExtracts text from an image using an ML-based OCR engine.
make txt = read vision text receipt
read vision qrvision qr readLocates and decodes a QR code using computer vision.
make url = read vision qr img
write vision qrvision qr writeGenerates a visual QR code from data.
make qr = write vision qr "data"
AUTOMATION, GIT, BUILD, TEST, DEBUG
click automaticallyauto clickSimulates a hardware mouse click at the current cursor position.
click automatically left
move mouse automaticallyauto moveSimulates moving the mouse cursor to a specific screen coordinate.
move mouse automatically to 500, 500
type automaticallyauto typeSimulates typing a string of text via the keyboard.
type automatically "Hello World"
press hotkey automaticallyauto hotkeySimulates pressing a multi-key shortcut.
press hotkey automatically "ctrl+c"
wait automaticallyauto waitPauses automation execution for a specified duration.
wait automatically 1 second
find image automaticallyauto find imageSearches the screen for a specific template image.
make pos = find image automatically 
           "btn.png"
find text automaticallyauto find textSearches the screen for specific text using OCR.
make pos = find text automatically 
           "Submit"
focus window automaticallyauto focusBrings a specific OS window to the foreground.
focus window automatically "Notepad"
capture screen automaticallyauto captureTakes a screenshot of the entire desktop.
capture screen automatically to "a.png"
scroll automaticallyauto scrollSimulates scrolling the mouse wheel.
scroll automatically down by 100
drag automaticallyauto dragSimulates clicking, holding, and moving the mouse.
drag automatically from 0,0 to 10,10
drop automaticallyauto dropReleases the simulated dragged item.
drop automatically
make gitgit initInitializes a new Git repository in the current directory.
make git "./project"
clone gitgit cloneClones a remote Git repository to the local filesystem.
clone git "https://repo.git"
add gitgit addStages file changes for the next commit.
add git "main.rs"
commit gitgit commitRecords staged changes to the repository history.
commit git "Initial commit"
push gitgit pushUploads local commits to a remote repository.
push git "origin" "main"
pull gitgit pullFetches and merges changes from a remote repository.
pull git "origin" "main"
fetch gitgit fetchDownloads objects and refs from another repository.
fetch git "origin"
branch gitgit branchCreates, lists, or deletes branches.
branch git "feature-x"
checkout gitgit checkoutSwitches branches or restores working tree files.
checkout git "feature-x"
merge gitgit mergeJoins two or more development histories together.
merge git "feature-x" into "main"
rebase gitgit rebaseReapplies commits on top of another base tip.
rebase git onto "main"
tag gitgit tagCreates, lists, deletes or verifies a tag object signed with GPG.
tag git "v1.0"
diff gitgit diffShows changes between commits, commit and working tree, etc.
make patch = diff git
status gitgit statusShows the working tree status.
make s = status git
log gitgit logShows the commit logs.
make history = log git
stash gitgit stashStashes the changes in a dirty working directory away.
stash git save "temp fixes"
remote gitgit remoteManages the set of tracked repositories.
remote git add "origin" "url"
make packagecargo new/initCreates a new Cargo package.
make package "my_app"
init packagecargo initInitializes a new Cargo package in an existing directory.
init package
add packagecargo addAdds dependencies to a Cargo.toml file.
add package "serde"
remove packagecargo removeRemoves dependencies from a Cargo.toml file.
remove package "serde"
update packagecargo updateUpdates dependencies as recorded in the local lock file.
update package
lock packagelockfile handlingGenerates or interacts with the dependency lock file.
lock package
vendor packagecargo vendorVendors all dependencies locally for offline building.
vendor package
publish packagecargo publishPackages and uploads this package to a registry.
publish package
install packagecargo installInstalls a Rust binary package globally.
install package "ripgrep"
uninstall packageuninstall helperRemoves a globally installed Rust binary package.
uninstall package "ripgrep"
build projectcargo buildCompiles the current package.
build project
clean projectcargo cleanRemoves the target directory containing build artifacts.
clean project
build debugcargo buildCompiles the package in unoptimized debug mode.
build debug
build releasecargo build --releaseCompiles the package in optimized release mode.
build release
build targetcargo build --targetCompiles the package for a specific architecture.
build target "wasm32"
cross buildcrossUses the 'cross' tool to compile for foreign architectures via Docker.
cross build "aarch64"
run cargo buildcargo buildExecutes the Cargo build process.
run cargo build
run cargocargo runCompiles and immediately executes the binary.
run cargo
test cargocargo testExecutes all unit and integration tests in the package.
test cargo
check cargocargo checkAnalyzes the package for errors without compiling to machine code.
check cargo
doc cargocargo docBuilds the HTML documentation for the package and its dependencies.
doc cargo
format cargocargo fmtFormats all Rust code within the Cargo package.
format cargo
lint cargocargo clippyRuns the Clippy linter to catch common mistakes.
lint cargo
add cargo depcargo addAdds a dependency to Cargo.toml.
add cargo dep "tokio"
remove cargo depcargo removeRemoves a dependency from Cargo.toml.
remove cargo dep "tokio"
update cargo depscargo updateUpdates dependencies in Cargo.lock.
update cargo deps
publish cargocargo publishPublishes the package to crates.io.
publish cargo
bench cargocargo benchExecutes all benchmarks within the package.
bench cargo
trace logtracing traceEmits a tracing event at the TRACE level.
trace log "Verbose data: {}" x
debug logtracing debugEmits a tracing event at the DEBUG level.
debug log "State: {}" state
info logtracing infoEmits a tracing event at the INFO level.
info log "System ready"
warn logtracing warnEmits a tracing event at the WARN level.
warn log "Memory high"
error logtracing errorEmits a tracing event at the ERROR level.
error log "Database failed"
fatal logcritical logEmits a critical error log and potentially panics.
fatal log "Disk corrupted"
log to filefile loggerConfigures the logging system to append to a file.
log to file "app.log"
rotate logrolling file loggerConfigures a logger that creates new files periodically (e.g., daily).
rotate log "app.log" daily
json logjson loggerConfigures the logging system to output structured JSON.
json log true
start tracetracing span startBegins a new telemetry span for distributed tracing.
make span = start trace "req"
trace spanspanDefines a span of time representing a unit of work.
trace span "db_query" { ... }
trace eventeventRecords a specific telemetry event within a span.
trace event "query_started"
end traceend spanExplicitly ends a telemetry span.
end trace span
export tracetelemetry exportExports telemetry data to an external backend (e.g., Jaeger, OTLP).
export trace to "http://jaeger"
count metriccounterIncrements a telemetry metric counter.
count metric "requests" by 1
gauge metricgaugeSets a telemetry metric to a specific value.
gauge metric "temp" to 22.5
histogram metrichistogramRecords a value into a telemetry histogram (e.g., request latency).
histogram metric "latency" 150
time metrictimerStarts a timer to record duration metrics.
make t = time metric "db_time"
observe metricobserveRecords an observation for summary or histogram metrics.
observe metric "queue_size" 10
export metricsexporterExposes metrics via an endpoint (e.g., Prometheus /metrics).
export metrics on port 9090
health checkhealth checkDefines an endpoint to report overall application health.
health check { return true }
ready checkreadinessDefines an endpoint to report if the app is ready to receive traffic.
ready check { return db.ok() }
live checklivenessDefines an endpoint to report if the app process is still alive.
live check { return true }
make testtest caseDefines a new unit or integration test case.
make test "math works" { ... }
check testassertAsserts that a condition is true during a test.
check test 1 + 1 == 2
equal testassert_eqAsserts that two values are exactly equal during a test.
equal test a and b
not equal testassert_neAsserts that two values are not equal during a test.
not equal test a and b
true testassert trueAsserts that a boolean value is true.
true test flag
false testassert falseAsserts that a boolean value is false.
false test flag
fail testfailExplicitly fails the current test run.
fail test "Should not reach here"
skip testignoreMarks a test case to be ignored during the test suite run.
skip test "math works"
bench testbenchmarkDefines a micro-benchmark to measure performance over iterations.
bench test "sorting" { ... }
mock testmockCreates a mock object to simulate behavior in a test.
make db = mock test Database
stub teststubDefines a canned response for a mocked method.
stub test db.get() to return 1
fixture testfixtureLoads predefined sample data for testing.
make data = fixture test "user.json"
snapshot testsnapshotCompares output against a previously saved 'golden' snapshot.
snapshot test html_output
coverage testcoverageGenerates a report showing what lines of code were executed during tests.
run test with coverage
break debugbreakpointHalts program execution and drops into the interactive debugger.
break debug
watch debugwatchLogs the value of a variable whenever it changes during execution.
watch debug my_var
inspect debuginspectPrints a detailed, debug-formatted representation of an object.
inspect debug complex_struct
stack debugbacktracePrints the current call stack trace to the console.
stack debug print
trace debugtraceEnables low-level step-by-step tracing of execution.
trace debug on
start profileprofiler startBegins recording a performance profile.
start profile
stop profileprofiler stopStops recording a performance profile.
stop profile
cpu profileCPU profileSamples CPU call stacks to find performance bottlenecks.
cpu profile enable
memory profilememory profileTracks heap allocations to find memory leaks.
memory profile enable
export flamegraphflamegraphExports profiling data into a visual flamegraph SVG.
export flamegraph "perf.svg"
RECOVERY, BACKUP, PLUGINS, FFI, RUST
catch crashcatch_unwindCatches a thread panic before it unwinds the entire stack.
make res = catch crash { 
    risky_code() 
}
dump crashdump reportGenerates a crash dump or backtrace report.
dump crash to "crash.log"
retryretry helperRetries an operation if it yields an error.
retry 3 times { fetch_data() }
back offbackoff helperImplements exponential backoff for retrying failed requests.
back off exponentially { 
    ping_server() 
}
resumeresume workflowResumes a previously suspended or failed workflow state.
resume workflow "job_123"
roll backrollback workflowReverts a workflow or saga to its previous safe state on failure.
roll back workflow "job_123"
make backupbackup createCreates a backup archive of data or state.
make b = make backup of "./data"
restore backupbackup restoreRestores data from a backup archive.
restore backup b to "./data"
check backupverify backupVerifies the integrity and checksums of a backup archive.
if check backup b { ... }
sync copysync copySynchronizes files by copying missing or changed ones to a target.
sync copy "./src" to "./dest"
sync mirrorsync mirrorSynchronizes files, deleting extras in the destination.
sync mirror "./src" to "./dest"
sync deltasync deltaSyncs only the binary diffs (deltas) of changed files to save bandwidth.
sync delta "./src" to "./dest"
watch syncsync watchContinuously monitors a directory and syncs changes in real-time.
watch sync "./src" to "./dest"
make snapshotsnapshot createCreates a point-in-time filesystem or state snapshot.
make snap = make snapshot "/vol"
restore snapshotsnapshot restoreReverts a filesystem or state to a saved snapshot.
restore snapshot "/vol" to snap
list snapshotssnapshot listLists available snapshots for a volume or state.
make snaps = list snapshots "/vol"
load moduledynamic module loadDynamically loads a shared library or plugin at runtime.
make mod = load module "plugin.so"
unload moduleunloadUnloads a dynamically loaded module from memory.
unload module mod
reload modulereloadHot-reloads a dynamic module for rapid iteration/development.
reload module mod
install plugininstallRegisters and installs a plugin into the application framework.
install plugin "auth_plugin"
enable pluginenableActivates an installed plugin.
enable plugin "auth_plugin"
disable plugindisableDeactivates a running plugin.
disable plugin "auth_plugin"
call plugincallInvokes a specific function exported by a plugin.
call plugin "auth_plugin" 
method "login"
load foreign librarylibloadingLoads a C-compatible dynamic library (.dll, .so, .dylib).
make lib = load foreign library 
           "math.dll"
call foreign codeffi callCalls a function across the Foreign Function Interface (FFI).
call foreign code lib_func(1, 2)
bind foreign symbolffi bindBinds a Rust function signature to a loaded C symbol.
bind foreign symbol lib "add" as add_fn
open librarylib openOpens a system or local dynamic library.
make lib = open library "user32.dll"
get library symbollib symbolLooks up a memory address for an exported library symbol.
make sym = get library symbol 
           lib "MessageBoxA"
use cC FFIEnables C-language ABI compatibility and types.
use c
use cppC++ bridgeEnables integration with C++ code (e.g., via cxx).
use cpp
use winapiWinAPIExposes Windows operating system API bindings.
use winapi
use posixPOSIXExposes POSIX-compliant OS API bindings.
use posix
use objcObjective-CEnables messaging Objective-C runtimes (macOS/iOS).
use objc
use comCOMEnables Windows Component Object Model integration.
use com
open dynamic librarydlopenOpens a dynamic library using POSIX dlopen style.
make dl = open dynamic library "libm.so"
get dynamic symboldlsymGets a symbol from an opened dynamic library via dlsym.
make sym = get dynamic symbol dl "cos"
load wasmwasm runtimeInstantiates a WebAssembly runtime (e.g., Wasmtime) and loads a module.
make wasm = load wasm "app.wasm"
call wasmwasm callExecutes an exported WebAssembly function.
call wasm wasm_func with [1, 2]
wasm memorywasm memoryAccesses the linear memory buffer of a WebAssembly instance.
make mem = wasm memory wasm_instance
run rust blockinline RustEmbeds raw Rust code directly within ZelC logic.
run rust block {
    println!("Raw rust!");
}
call rustwrapped Rust APICalls natively compiled Rust functions.
call rust native_function()
import rustgenerate useImports a native Rust crate or module.
import rust std::collections::HashMap
add rust cratedependency injectionInjects a Cargo crate dependency into the build.
add rust crate "tokio" version "1.0"
use rust macromacro hookInvokes a Rust declarative or procedural macro.
use rust macro vec![1, 2, 3]
use rust unsafeunsafe escape hatchOpens an unsafe block for low-level memory access.
use rust unsafe { ... }
raw rustpassthroughInjects a raw string of Rust code directly into the compiler output.
raw rust "let x = 5;"
bridge cargocargo integration bridgeIntegrates the ZelC build system tightly with Cargo.
bridge cargo "./Cargo.toml"
BLOCKCHAIN AND SECURITY-NATIVE ZELC
open chainprovider connectConnects to a blockchain node (e.g., via RPC or WebSocket).
make rpc = open chain "https://mainnet.infura.io"
chain accountwallet accountLoads a blockchain account address for interaction.
make acc = chain account "0x123..."
chain balanceget balanceQueries the native token balance of an account.
make bal = chain balance acc
send chainsend transactionConstructs, signs, and broadcasts a transaction to the network.
make tx = send chain 1.5 to "0xabc..."
call chaincontract callExecutes a read-only smart contract function (no gas cost).
make res = call chain my_contract "totalSupply"
deploy chaindeploy contractDeploys compiled smart contract bytecode to the blockchain.
make addr = deploy chain bytecode 
            with args
watch chain eventsubscribe eventListens for specific smart contract events emitted in new blocks.
watch chain event my_contract "Transfer"
chain transactiontx lookupFetches details of a specific transaction hash.
make tx_info = chain transaction "0xhash"
sign chainsign payloadSigns an arbitrary payload using a blockchain wallet's private key.
make sig = sign chain payload
make walletwallet createGenerates a new secure cryptocurrency wallet (private/public keypair).
make w = make wallet
import walletwallet importImports a wallet using a seed phrase or private key.
make w = import wallet "apple banana..."
export walletwallet exportExports the wallet's private key or keystore file securely.
make key = export wallet w
read contractcontract readReads public state variables directly from a contract.
make val = read contract "0x123" "owner"
write contractcontract writeExecutes a state-changing transaction on a smart contract.
write contract "0x123" "transfer" 
with [to, amount]
deploy contractcontract deploySimilar to `deploy chain`, deploys a contract instance.
deploy contract ABI bytecode
add to ipfsipfs addPins a file or data object to the InterPlanetary File System.
make cid = add to ipfs "data.json"
get from ipfsipfs getRetrieves data from IPFS using a Content Identifier (CID).
make data = get from ipfs cid
send alertSIEM/SOAR alert actionDispatches a security alert to a webhook or platform (e.g., PagerDuty, Slack).
send alert "Malware detected on Host A"
raise alertcreate detection alertCreates an internal high-priority security detection alert.
raise alert "Suspicious Login"
close alertclose alertResolves an active security alert in the SIEM/SOAR.
close alert alert_id "False Positive"
assign alertassign analystAssigns a security alert to a specific SOC analyst.
assign alert alert_id to "alice"
set alert severityseverity setterEscalates or de-escalates the severity of an alert.
set alert severity alert_id to "Critical"
open caseincident case createCreates an incident tracking case for investigation.
make case = open case "Ransomware Triage"
add case notenote addAppends an analyst note to an incident case.
add case note case_id "Found C2 beacon"
attach to caseattach artifactAttaches digital evidence artifacts (logs, pcaps) to a case.
attach to case case_id "malware.exe"
assign case ownerassign ownerSets the primary investigator for an incident case.
assign case owner case_id to "bob"
close caseclose caseMarks an incident investigation as resolved.
close case case_id "Remediated"
record evidenceevidence logLogs digital evidence with a timestamp in a tamper-evident audit log.
record evidence "Memory dump acquired"
hash evidenceevidence hashCryptographically hashes a file to prove it hasn't been altered.
make h = hash evidence "dump.mem"
sign evidenceevidence signDigitally signs an evidence hash with the investigator's key.
sign evidence h with my_key
chain evidencechain of custodyUpdates the chronological documentation (chain of custody) for an artifact.
chain evidence artifact "Transferred to Lab"
export evidenceexport bundlePackages artifacts and logs into a secure bundle for legal proceedings.
export evidence case_id to "case.zip"
anchor evidenceblockchain anchorAnchors the hash of the evidence bundle to a public blockchain for immutability.
anchor evidence bundle_hash to "ethereum"
make ip indicatorIOC IP objectCreates an Indicator of Compromise (IOC) for a malicious IP address.
make ioc = make ip indicator "192.168.1.100"
make domain indicatorIOC domain objectCreates an IOC for a malicious domain name.
make ioc = make domain indicator "evil.com"
make hash indicatorIOC hash objectCreates an IOC for a malicious file hash (e.g., MD5/SHA256).
make ioc = make hash indicator "e3b0c44..."
make url indicatorIOC URL objectCreates an IOC for a malicious URL.
make ioc = make url indicator "http://x.com/pay"
make email indicatorIOC email objectCreates an IOC for a malicious email address or sender.
make ioc = make email indicator "[email protected]"
match indicatorIOC match engineScans logs or memory to see if a specific IOC is present.
if match indicator ioc in syslog { ... }
load threat feedfeed ingestIngests external Threat Intelligence feeds (e.g., MISP, STIX/TAXII).
load threat feed "https://feed.misp.org"
isolate deviceEDR isolateCommands an Endpoint Detection and Response (EDR) agent to cut a device off from the network.
isolate device "host-042"
release deviceEDR releaseCommands the EDR to restore network connectivity to an isolated device.
release device "host-042"
kill process on deviceEDR killCommands the EDR to terminate a specific process ID on a remote host.
kill process on device "host-042" pid 1337
scan deviceEDR scanTriggers a full filesystem or memory scan on a remote endpoint via EDR.
scan device "host-042" for malware
quarantine fileEDR quarantineCommands the EDR to encrypt and isolate a malicious file on an endpoint.
quarantine file "C:\temp\evil.exe" 
on "host-042"
block ipfirewall blockInjects a rule into the network firewall to block inbound/outbound traffic from an IP.
block ip "192.168.1.100"
allow ipfirewall allowInjects a rule to explicitly permit traffic from an IP address.
allow ip "10.0.0.5"
drop trafficfirewall dropInstructs a firewall or IPS to silently discard matching network packets.
drop traffic from "192.168.1.100"
make firewall rulefirewall ruleConstructs a complex firewall rule (ports, protocols, source/dest).
make rule = make firewall rule block tcp 80
remove firewall rulefirewall removeRemoves a previously deployed firewall rule.
remove firewall rule rule_id
search siemSIEM queryExecutes a query against the Security Information and Event Management system.
make logs = search siem "login failed"
send event to siemSIEM pushPushes custom application logs or security events into the SIEM.
send event to siem "App crashed"
make siem ruleanalytics ruleCreates a persistent correlation or detection rule in the SIEM.
make siem rule "Brute Force Detection"
make siem alertalertRaises a manual alert within the SIEM console.
make siem alert "Manual Review Required"
open siem casecaseCreates a dedicated investigation case within the SIEM platform.
open siem case "Investigate Host A"
inspect packetpacket inspectPerforms Deep Packet Inspection (DPI) on a network payload.
make data = inspect packet pcap_file
block domainDNS blockAdds a domain to the DNS sinkhole or firewall blocklist.
block domain "evil.com"
sinkhole domainDNS sinkholeRedirects DNS queries for a malicious domain to an internal safe IP for analysis.
sinkhole domain "evil.com" to "10.0.0.99"
block proxyproxy blockBlocks a URL or category at the Secure Web Gateway / Proxy level.
block proxy "http://gambling.com"
allow proxyproxy allowWhitelists a URL at the proxy level.
allow proxy "http://safe.com"
quarantine mailmail quarantineIntercepts and quarantines a suspicious email at the gateway (e.g., Exchange/Proofpoint).
quarantine mail msg_id
release mailmail releaseReleases a false-positive email from quarantine to the user's inbox.
release mail msg_id
disable accountidentity disableSuspends a user account in the identity provider (e.g., Active Directory / Okta).
disable account "jdoe"
reset passwordidentity resetForces a password reset for a compromised account.
reset password "jdoe"
force mfa resetidentity mfa forceRevokes current MFA tokens and forces the user to re-enroll in Multi-Factor Authentication.
force mfa reset "jdoe"
lock cloud resourcecloud lockApplies a resource lock (read-only/cannot delete) to a cloud asset (AWS/Azure).
lock cloud resource "s3://critical-data"
tag cloud assetcloud tagApplies metadata tags to cloud infrastructure (often used to trigger automated quarantine).
tag cloud asset "i-123" "Status" "Compromised"
quarantine cloud instancecloud quarantineMoves a cloud VM into an isolated Security Group/VPC.
quarantine cloud instance "i-123"
stop containercontainer stopKills a running Docker/Kubernetes container.
stop container "web-pod-xyz"
isolate containercontainer isolateApplies network policies to isolate a container from the rest of the cluster.
isolate container "web-pod-xyz"
run sandboxsandbox runDetonates a suspicious file in a secure malware analysis sandbox.
run sandbox "malware.exe"
report sandboxsandbox reportRetrieves the behavioral analysis report from the sandbox.
make report = report sandbox "malware.exe"
match yarayara matchScans a file or memory buffer against a YARA rule set for malware identification.
if match yara rules on file { ... }
match sigmasigma matchEvaluates SIEM logs against a Sigma rule for generic threat detection.
if match sigma rule on logs { ... }
run hunt queryhunt queryExecutes an active threat hunting query across the enterprise.
make results = run hunt query "Find mimikatz"
pivot hunthunt pivotTakes an IOC from a hunt and pivots to search for related artifacts.
make related = pivot hunt on ioc
look up intelintel lookupQueries a Threat Intelligence Platform (TIP) for information on an indicator.
make intel = look up intel "1.1.1.1"
score intelintel scoreRetrieves the malicious confidence/risk score from a TIP.
make score = score intel "evil.com"
score riskrisk scoreCalculates a composite risk score for an asset or user based on behavior and vulnerabilities.
make risk = score risk "user:jdoe"
check policypolicy checkEvaluates a system configuration against compliance policies (e.g., CIS benchmarks).
if check policy "password_length" { ... }
enforce policypolicy enforceAutomatically remediates a system to comply with a security policy.
enforce policy "disable_guest_account"
rotate secretsecret rotateForces the generation of a new secret/password in the secrets manager.
rotate secret "db_password"
rotate keykey rotateGenerates a new cryptographic key and phases out the old one.
rotate key "master_encryption_key"
seal vaultvault sealImmediately locks a secret vault, requiring manual unsealing (e.g., HashiCorp Vault seal).
seal vault
unseal vaultvault unsealProvides key shares to unlock a sealed vault.
unseal vault with shard_1 and shard_2