Jsrt Claw
Skill by gnh1201
Why use this skill?
Master Windows automation using the Jsrt Claw skill for OpenClaw. Execute COM-based scripts to manage system files, WMI data, and Office workflows.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/gnh1201/jsrt-clawWhat This Skill Does
The Jsrt Claw skill acts as a bridge between the OpenClaw agent and the Windows Scripting Host (WSH). By leveraging the Microsoft JSRT (JavaScript Runtime) environment, this skill allows users to execute native JavaScript files that interact directly with the Windows Operating System via COM (Component Object Model) automation. It functions as a powerful scripting execution wrapper that can automate file system tasks, query system information through WMI, perform HTTP requests, and even manipulate Microsoft Office applications locally. Unlike browser-based automation, Jsrt Claw interacts directly with the Windows kernel-level interfaces.
Installation
To install the Jsrt Claw skill within your OpenClaw environment, ensure you have the OpenClaw agent installed and configured. Open your terminal or CLI interface and run the following command: clawhub install openclaw/skills/skills/gnh1201/jsrt-claw. This will pull the necessary artifacts from the official source repository. Once installed, ensure that your environment allows for the execution of .js files via cscript or wscript as the agent will utilize these binary paths to trigger the logic.
Use Cases
- System Administration: Automate the gathering of system diagnostic data or environment variable states using WMI and WScript.Shell objects.
- File Operations: Perform complex bulk file system manipulations, such as recursive directory scanning, archival, or stream-based file processing using
Scripting.FileSystemObject. - Office Automation: Script the modification of Excel, Word, or Outlook documents directly on the host machine without needing to open the GUI applications manually.
- Network Utility: Use the extensive list of supported XMLHTTP objects to perform internal network health checks or interact with local REST APIs.
Example Prompts
- "Jsrt Claw, write a script to move all files older than 30 days from my Downloads folder into a backup directory."
- "Use JSRT to pull the current system uptime and CPU load percentage and save it to a local log file."
- "Automate an Excel report update by opening the file at C:\reports\data.xlsx and adding today's date to the first cell."
Tips & Limitations
- Safety: Because this skill uses COM objects, it has high-privilege access. Ensure you audit scripts before execution.
- Compatibility: Always use the provided fallback loader pattern in your scripts to ensure compatibility across different Windows versions that may support different
Msxmlversions. - Execution Context: Since it uses
cscript, ensure that your environment allows for script execution via PowerShell or CMD, as some security policies (GPO) may block WSH.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-gnh1201-jsrt-claw": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, code-execution