# Send Jsrt Claw to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "jsrt-claw",
    "name": "Jsrt Claw",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/gnh1201/jsrt-claw",
    "canonicalUrl": "https://clawhub.ai/gnh1201/jsrt-claw",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/jsrt-claw",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=jsrt-claw",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "jsrt-claw",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T14:58:30.583Z",
      "expiresAt": "2026-05-11T14:58:30.583Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=jsrt-claw",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=jsrt-claw",
        "contentDisposition": "attachment; filename=\"jsrt-claw-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "jsrt-claw"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/jsrt-claw"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/jsrt-claw",
    "downloadUrl": "https://openagent3.xyz/downloads/jsrt-claw",
    "agentUrl": "https://openagent3.xyz/skills/jsrt-claw/agent",
    "manifestUrl": "https://openagent3.xyz/skills/jsrt-claw/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/jsrt-claw/agent.md"
  }
}
```
## Documentation

### Overview

JSRT enables control of a Windows system using the built-in Microsoft JsRT (JavaScript Runtime).

Depending on the execution environment, Microsoft JsRT may be referred to as:

WSH
Windows Scripting Host
cscript
jscript.dll

On classic Windows systems, the JScript engine is implemented in jscript.dll (JScript 5.x). When running via cscript or wscript, this engine is typically used unless hosted by another environment.

This skill generates and executes a single .js file that interacts with Windows using COM objects and built-in scripting capabilities.

### Execution Flow

Create a single JavaScript file using all references described in this document.
Perform Windows operations using COM objects.
Execute the script:

cscript YOUR_JS_FILE.js

### 1. File System Access

COM objects:

Scripting.FileSystemObject
ADODB.Stream

Typical usage:

Reading and writing files
Creating and deleting directories
Handling text or binary streams

### 2. System & Runtime Information

COM objects and functions:

WScript.Shell
WbemScripting.SWbemLocator
GetObject

Example:

GetObject("winmgmts:{impersonationLevel=impersonate}!\\\\\\\\"
          + this.computer + "\\\\" + this.namespace);

Use cases:

Executing Windows shell commands
Querying WMI
Retrieving system configuration
Accessing environment variables

### 3. HTTP Communication

Possible COM objects (availability depends on installed MSXML/WinHTTP components):

Microsoft.XMLHTTP
WinHttp.WinHttpRequest.5.1
Msxml3.XMLHTTP
Msxml2.XMLHTTP
Msxml2.XMLHTTP.7.0
Msxml2.XMLHTTP.6.0
Msxml2.XMLHTTP.5.0
Msxml2.XMLHTTP.4.0
Msxml2.XMLHTTP.3.0
Msxml2.XMLHTTP.2.6
Msxml2.ServerXMLHTTP
Msxml2.ServerXMLHTTP.6.0
Msxml2.ServerXMLHTTP.5.0
Msxml2.ServerXMLHTTP.4.0
Msxml2.ServerXMLHTTP.3.0

Fallback loading is strongly recommended.

### 4. Microsoft Office Automation (If Installed)

Excel.Application
PowerPoint.Application
Word.Application
Outlook.Application
Other Office-related COM objects

### Required COM Object Loader (With Fallback Support)

All COM objects must be instantiated using the following CreateObject function.

It supports:

Single ProgID
Multiple ProgIDs (fallback chain)
Automatic retry until a working object is found

if (typeof CreateObject === "undefined") {
    var CreateObject = function(progId, serverName, callback) {
        var progIds = (progId instanceof Array ? progId : [progId]);

        for (var i = 0; i < progIds.length; i++) {
            try {
                var obj = CreateObject.make(progIds[i], serverName);
                if (typeof callback === "function") {
                    callback(obj, progIds[i]);
                }
                return obj;
            } catch (e) {
                // Try next ProgID
            }
        }
        throw new Error("Unable to create COM object from provided ProgIDs.");
    };

    CreateObject.make = function(p, s) {
        if (typeof WScript !== "undefined") {
            if ("CreateObject" in WScript) {
                return WScript.CreateObject(p, s);
            } else {
                throw new Error("Built-in loader not available.");
            }
        } else if (typeof ActiveXObject !== "undefined") {
            return new ActiveXObject(p);
        } else {
            throw new Error("Could not find a loader");
        }
    };
}

### Fallback Example (XMLHTTP)

var xhr = CreateObject([
    "Msxml2.XMLHTTP.6.0",
    "Msxml2.XMLHTTP.3.0",
    "Msxml2.XMLHTTP",
    "Microsoft.XMLHTTP",
    "WinHttp.WinHttpRequest.5.1"
]);

The loader attempts each ProgID in order until one succeeds.

### JavaScript Runtime Version Detection

Use the following function to determine the runtime:

function getProcessVersion() {
    var getIEVersion = function() {
        var rv = -1;
        if (navigator.appName == 'Microsoft Internet Explorer') {
            var ua = navigator.userAgent;
            var re  = new RegExp("MSIE ([0-9]{1,}[\\\\.0-9]{0,})");
            if (re.exec(ua) != null)
                rv = parseFloat(RegExp.$1);
        }
        return rv;
    };

    if (typeof WScript !== "undefined") {
        return "Microsoft JScript " + WScript.Version;
    } else if (typeof navigator !== "undefined") {
        return (function(rv) {
            return "MSIE" + (rv < 0 ? '' : (' ' + rv));
        })(getIEVersion());
    }
}

### Polyfill Support

Because jscript.dll (JScript 5.x) does not support modern ECMAScript features, polyfills may be required.

### WSH JScript Compatibility

JScript VersionIntroduced with IEExample User-Agent5.6.xIE 6.0Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)5.7.xIE 7.0Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)5.8.xIE 8.0Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)

### Polyfill Discovery

Available polyfills can be checked at:

https://cdnjs.cloudflare.com/polyfill/

### features Parameter Format

The features parameter must be a comma-separated list of feature keywords:

features=feature1,feature2,feature3

In URL query strings, commas must be URL-encoded:

features=feature1%2Cfeature2%2Cfeature3

Example:

Conceptual:
features=default,es2015



URL-encoded:
features=default%2Ces2015

### Request Example

GET https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0&features=default%2Ces2015
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)

The User-Agent must match the detected JScript compatibility level.

### Compatibility Strategy

Detect runtime using getProcessVersion()
Instantiate COM objects using fallback arrays
Identify unsupported JavaScript features
Request polyfills using comma-separated features
Inject polyfills before executing dependent logic
Execute Windows automation logic safely under jscript.dll

### Real-World Example

A real open-source project that applies this environment in practice is WelsonJS.

WelsonJS:

Runs on Windows using the built-in JScript runtime (jscript.dll)
Uses COM objects extensively
Implements fallback loading patterns
Uses core-js (formerly known as Babel polyfills) to bridge modern JavaScript features into legacy JScript environments

If you need concrete usage examples, implementation patterns, or real source code references, use a search function to look up:

WelsonJS project information
WelsonJS source code
WelsonJS core-js integration

Reviewing the WelsonJS project will provide practical references that can help when implementing JSRT-based automation code.

### Summary

JSRT provides:

Direct Windows automation
COM-based system control
WMI querying
HTTP communication
Office automation
Multi-ProgID fallback support
Polyfill-based compatibility for jscript.dll

It is optimized for legacy Windows scripting environments while maintaining cross-version compatibility through structured fallback and polyfill strategies.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: gnh1201
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T14:58:30.583Z
- Expires at: 2026-05-11T14:58:30.583Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/jsrt-claw)
- [Send to Agent page](https://openagent3.xyz/skills/jsrt-claw/agent)
- [JSON manifest](https://openagent3.xyz/skills/jsrt-claw/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/jsrt-claw/agent.md)
- [Download page](https://openagent3.xyz/downloads/jsrt-claw)