jarchi-scripting

Installation
SKILL.md

JArchi Script Development

Procedural guide for writing JArchi scripts (GraalVM GraalJS, ECMAScript 2024). Requires Archi 5.7+, JArchi 1.11+.

Constraints (NOT Node.js)

  • Use load() for local files — never require() (it resolves to node_modules/)
  • No Web Workers, no async I/O, no setTimeout (unless shimmed)
  • No Node.js modules (fs, path, http) — use Java.type() for Java equivalents
  • this inside Java.extend() refers to the Java proxy — use the object wrapper pattern below

Creating a Script

Every top-level .ajs script: clear console, load log.js, IIFE, try-catch, "use strict":

Installs
1
First Seen
Sep 23, 2026