jsrt-claw for Openclaw

A powerful automation skill that leverages the native Microsoft JavaScript Runtime to control Windows systems through COM objects and shell scripting.

gnh1201
v0.1.0
Feb 23, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install jsrt-claw

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 jsrt-claw 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 jsrt-claw?

The jsrt-claw skill enables AI agents to interact directly with Windows environments using the built-in Microsoft JavaScript Runtime (JsRT), often referred to as Windows Scripting Host (WSH) or cscript. By generating and executing standalone JavaScript files, this Openclaw Skills entry provides a bridge to legacy and modern Windows components without requiring heavy external dependencies.

It utilizes the jscript.dll engine to perform low-level system tasks, making it an essential tool for headless Windows automation, system management, and legacy environment support. This skill is particularly useful for developers who need to bridge the gap between modern AI orchestration and classic Windows infrastructure.

jsrt-claw Use Cases

  • Automating local file system operations including reading, writing, and directory management.
  • Querying complex system configurations and environment variables via WMI.
  • Executing Windows shell commands and managing background processes programmatically.
  • Automating Microsoft Office applications like Excel, Word, and Outlook for document processing.
  • Performing HTTP requests and network communication in environments where modern web APIs are unavailable.

How jsrt-claw Works

  1. The agent generates a single JavaScript file containing the required logic and system references.
  2. The skill detects the specific JScript runtime version (e.g., 5.x) to ensure compatibility with the host system.
  3. A specialized COM object loader is initialized to instantiate system components with automatic fallback support.
  4. If modern ECMAScript features are required, the skill identifies necessary polyfills based on the environment.
  5. The final script is executed via the cscript engine, interacting with Windows APIs through the COM interface.

jsrt-claw Setup

To use this within the Openclaw Skills ecosystem, ensure your Windows host has scripting enabled. You can manually test generated scripts using the command line:

cscript YOUR_JS_FILE.js

No external runtime installation is required as it leverages the native jscript.dll found in standard Windows installations.

jsrt-claw Data Schema & Taxonomy

The skill manages data primarily through COM objects and local system calls. It organizes its metadata and operational interfaces as follows:

Component COM Object Purpose
File IO Scripting.FileSystemObject Manages files, folders, and text streams.
Shell WScript.Shell Executes commands and manages environment variables.
Management WbemScripting.SWbemLocator Provides access to WMI system querying.
Networking Msxml2.XMLHTTP Handles HTTP communication with fallback support.
Office Excel.Application Automates spreadsheet tasks (if Office is installed).

jsrt-claw Advanced Features

  • Multi-ProgID Fallback: Automatically attempts multiple COM identifiers to ensure scripts run across different Windows versions.
  • Dynamic Polyfill Injection: Uses CDN-based polyfills to bring modern JavaScript capabilities to legacy scripting environments.
  • Office Automation Suite: Full support for Word, Excel, PowerPoint, and Outlook programmatic control.
  • WMI Introspection: Deep system access for retrieving hardware, process, and network information.
  • WelsonJS Integration: Follows industry-standard patterns for robust, real-world JScript-based automation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*