VAM Scripter for Openclaw

VAM Scripter is a high-performance, JavaScript-inspired scripting language for Virt-A-Mate that enables advanced automation of scene interactions and animations without reflection.

nffdasilva
v1.2.0
Mar 19, 2026
0
851
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install vam-scripter

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install vam-scripter using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is VAM Scripter?

VAM Scripter provides a robust environment for developers to create complex behaviors within Virt-A-Mate using a syntax that closely mirrors JavaScript. By operating as part of the Openclaw Skills ecosystem, it allows for high-performance execution of scripts that control atoms, audio, and player interactions. This skill is specifically designed to bypass the overhead of traditional reflection, offering a streamlined module system for managing scene state and lifecycle hooks.

Built for efficiency, VAM Scripter utilizes a familiar variable binding, function, and control flow structure. It grants direct access to the Unity engine's core properties like Time and Transform, making it an essential tool for creators looking to build reactive environments, custom keybindings, or parameter-driven animations.

VAM Scripter Use Cases

  • Automating complex character poses and fluid animations based on scene triggers.
  • Creating reactive audio systems that play specific clips when atoms reach a certain proximity.
  • Developing custom UI parameters and keybindings to control scene elements in real-time.
  • Persisting scene data and user states across sessions using local file system operations.
  • Synchronizing scene events with real-world time or randomized logic for unpredictable interactions.

How VAM Scripter Works

  1. The Openclaw Skills engine loads the index.js file containing the VAM Scripter logic.
  2. The script imports necessary modules like scripter and scene from the internal vam-scripter library.
  3. Lifecycle hooks such as onEnable or onUpdate are registered to the main plugin interface.
  4. During the Unity frame cycle, the engine executes the logic within the update loops to manipulate AtomReferences and TransformReferences.
  5. User interactions or parameter changes trigger specific callbacks, allowing the script to modify the scene dynamically.

VAM Scripter Setup

To start using VAM Scripter as part of your Openclaw Skills library, follow these steps:

  1. Create a project directory with an index.js file.
  2. Ensure your script includes the necessary imports:
import { scripter, scene } from "vam-scripter";
  1. Place your scripts in the designated folder within Virt-A-Mate.
  2. Use the following CLI-inspired pattern to manage dependencies if using external build tools:
# Standard setup usually involves direct file placement within the VAM environment
mkdir -p my-vam-project/scripts
touch my-vam-project/index.js

VAM Scripter Data Schema & Taxonomy

VAM Scripter organizes data through a module-based architecture and specific reference types. The schema ensures structured access to the Virt-A-Mate environment:

Data Component Description
AtomReference Metadata and controllers for scene objects (atoms).
TransformReference Spatial data including Position, Rotation, and Direction vectors.
StorableReference Access to internal plugin variables and audio actions.
fs Module Handles JSON-based persistence for scene-specific state files.
Parameters Structured Float, String, and Bool declarations for UI integration.

VAM Scripter Advanced Features

  • Direct Unity Lifecycle Hooks: Access to onFixedUpdate for physics-synced automation and onLateUpdate for camera-related logic.
  • Proximity Detection: Built-in distance methods for AtomReferences to trigger logic based on spatial relationships.
  • Custom Keybinding API: The ability to declare and invoke commands that map directly to user input hardware.
  • Persistence Layer: Built-in fs module for reading and writing scene-specific configuration files directly to disk.
  • Parameter-Driven Animation: Create dynamic UI sliders and toggles that interact directly with script variables through onChange hooks.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*