{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/jsrt-claw",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=jsrt-claw",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/jsrt-claw",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Overview",
        "body": "JSRT enables control of a Windows system using the built-in Microsoft JsRT (JavaScript Runtime).\n\nDepending on the execution environment, Microsoft JsRT may be referred to as:\n\nWSH\nWindows Scripting Host\ncscript\njscript.dll\n\nOn 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.\n\nThis skill generates and executes a single .js file that interacts with Windows using COM objects and built-in scripting capabilities."
      },
      {
        "title": "Execution Flow",
        "body": "Create a single JavaScript file using all references described in this document.\nPerform Windows operations using COM objects.\nExecute the script:\n\ncscript YOUR_JS_FILE.js"
      },
      {
        "title": "1. File System Access",
        "body": "COM objects:\n\nScripting.FileSystemObject\nADODB.Stream\n\nTypical usage:\n\nReading and writing files\nCreating and deleting directories\nHandling text or binary streams"
      },
      {
        "title": "2. System & Runtime Information",
        "body": "COM objects and functions:\n\nWScript.Shell\nWbemScripting.SWbemLocator\nGetObject\n\nExample:\n\nGetObject(\"winmgmts:{impersonationLevel=impersonate}!\\\\\\\\\"\n          + this.computer + \"\\\\\" + this.namespace);\n\nUse cases:\n\nExecuting Windows shell commands\nQuerying WMI\nRetrieving system configuration\nAccessing environment variables"
      },
      {
        "title": "3. HTTP Communication",
        "body": "Possible COM objects (availability depends on installed MSXML/WinHTTP components):\n\nMicrosoft.XMLHTTP\nWinHttp.WinHttpRequest.5.1\nMsxml3.XMLHTTP\nMsxml2.XMLHTTP\nMsxml2.XMLHTTP.7.0\nMsxml2.XMLHTTP.6.0\nMsxml2.XMLHTTP.5.0\nMsxml2.XMLHTTP.4.0\nMsxml2.XMLHTTP.3.0\nMsxml2.XMLHTTP.2.6\nMsxml2.ServerXMLHTTP\nMsxml2.ServerXMLHTTP.6.0\nMsxml2.ServerXMLHTTP.5.0\nMsxml2.ServerXMLHTTP.4.0\nMsxml2.ServerXMLHTTP.3.0\n\nFallback loading is strongly recommended."
      },
      {
        "title": "4. Microsoft Office Automation (If Installed)",
        "body": "Excel.Application\nPowerPoint.Application\nWord.Application\nOutlook.Application\nOther Office-related COM objects"
      },
      {
        "title": "Required COM Object Loader (With Fallback Support)",
        "body": "All COM objects must be instantiated using the following CreateObject function.\n\nIt supports:\n\nSingle ProgID\nMultiple ProgIDs (fallback chain)\nAutomatic retry until a working object is found\n\nif (typeof CreateObject === \"undefined\") {\n    var CreateObject = function(progId, serverName, callback) {\n        var progIds = (progId instanceof Array ? progId : [progId]);\n\n        for (var i = 0; i < progIds.length; i++) {\n            try {\n                var obj = CreateObject.make(progIds[i], serverName);\n                if (typeof callback === \"function\") {\n                    callback(obj, progIds[i]);\n                }\n                return obj;\n            } catch (e) {\n                // Try next ProgID\n            }\n        }\n        throw new Error(\"Unable to create COM object from provided ProgIDs.\");\n    };\n\n    CreateObject.make = function(p, s) {\n        if (typeof WScript !== \"undefined\") {\n            if (\"CreateObject\" in WScript) {\n                return WScript.CreateObject(p, s);\n            } else {\n                throw new Error(\"Built-in loader not available.\");\n            }\n        } else if (typeof ActiveXObject !== \"undefined\") {\n            return new ActiveXObject(p);\n        } else {\n            throw new Error(\"Could not find a loader\");\n        }\n    };\n}"
      },
      {
        "title": "Fallback Example (XMLHTTP)",
        "body": "var xhr = CreateObject([\n    \"Msxml2.XMLHTTP.6.0\",\n    \"Msxml2.XMLHTTP.3.0\",\n    \"Msxml2.XMLHTTP\",\n    \"Microsoft.XMLHTTP\",\n    \"WinHttp.WinHttpRequest.5.1\"\n]);\n\nThe loader attempts each ProgID in order until one succeeds."
      },
      {
        "title": "JavaScript Runtime Version Detection",
        "body": "Use the following function to determine the runtime:\n\nfunction getProcessVersion() {\n    var getIEVersion = function() {\n        var rv = -1;\n        if (navigator.appName == 'Microsoft Internet Explorer') {\n            var ua = navigator.userAgent;\n            var re  = new RegExp(\"MSIE ([0-9]{1,}[\\\\.0-9]{0,})\");\n            if (re.exec(ua) != null)\n                rv = parseFloat(RegExp.$1);\n        }\n        return rv;\n    };\n\n    if (typeof WScript !== \"undefined\") {\n        return \"Microsoft JScript \" + WScript.Version;\n    } else if (typeof navigator !== \"undefined\") {\n        return (function(rv) {\n            return \"MSIE\" + (rv < 0 ? '' : (' ' + rv));\n        })(getIEVersion());\n    }\n}"
      },
      {
        "title": "Polyfill Support",
        "body": "Because jscript.dll (JScript 5.x) does not support modern ECMAScript features, polyfills may be required."
      },
      {
        "title": "WSH JScript Compatibility",
        "body": "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)"
      },
      {
        "title": "Polyfill Discovery",
        "body": "Available polyfills can be checked at:\n\nhttps://cdnjs.cloudflare.com/polyfill/"
      },
      {
        "title": "features Parameter Format",
        "body": "The features parameter must be a comma-separated list of feature keywords:\n\nfeatures=feature1,feature2,feature3\n\nIn URL query strings, commas must be URL-encoded:\n\nfeatures=feature1%2Cfeature2%2Cfeature3\n\nExample:\n\nConceptual:\nfeatures=default,es2015\n\n\n\nURL-encoded:\nfeatures=default%2Ces2015"
      },
      {
        "title": "Request Example",
        "body": "GET https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0&features=default%2Ces2015\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)\n\nThe User-Agent must match the detected JScript compatibility level."
      },
      {
        "title": "Compatibility Strategy",
        "body": "Detect runtime using getProcessVersion()\nInstantiate COM objects using fallback arrays\nIdentify unsupported JavaScript features\nRequest polyfills using comma-separated features\nInject polyfills before executing dependent logic\nExecute Windows automation logic safely under jscript.dll"
      },
      {
        "title": "Real-World Example",
        "body": "A real open-source project that applies this environment in practice is WelsonJS.\n\nWelsonJS:\n\nRuns on Windows using the built-in JScript runtime (jscript.dll)\nUses COM objects extensively\nImplements fallback loading patterns\nUses core-js (formerly known as Babel polyfills) to bridge modern JavaScript features into legacy JScript environments\n\nIf you need concrete usage examples, implementation patterns, or real source code references, use a search function to look up:\n\nWelsonJS project information\nWelsonJS source code\nWelsonJS core-js integration\n\nReviewing the WelsonJS project will provide practical references that can help when implementing JSRT-based automation code."
      },
      {
        "title": "Summary",
        "body": "JSRT provides:\n\nDirect Windows automation\nCOM-based system control\nWMI querying\nHTTP communication\nOffice automation\nMulti-ProgID fallback support\nPolyfill-based compatibility for jscript.dll\n\nIt is optimized for legacy Windows scripting environments while maintaining cross-version compatibility through structured fallback and polyfill strategies."
      }
    ],
    "body": "SKILL.md\njsrt-claw\nOverview\n\nJSRT enables control of a Windows system using the built-in Microsoft JsRT (JavaScript Runtime).\n\nDepending on the execution environment, Microsoft JsRT may be referred to as:\n\nWSH\nWindows Scripting Host\ncscript\njscript.dll\n\nOn 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.\n\nThis skill generates and executes a single .js file that interacts with Windows using COM objects and built-in scripting capabilities.\n\nExecution Flow\nCreate a single JavaScript file using all references described in this document.\nPerform Windows operations using COM objects.\nExecute the script:\ncscript YOUR_JS_FILE.js\n\nAvailable Windows Capabilities\n1. File System Access\n\nCOM objects:\n\nScripting.FileSystemObject\nADODB.Stream\n\nTypical usage:\n\nReading and writing files\nCreating and deleting directories\nHandling text or binary streams\n2. System & Runtime Information\n\nCOM objects and functions:\n\nWScript.Shell\nWbemScripting.SWbemLocator\nGetObject\n\nExample:\n\nGetObject(\"winmgmts:{impersonationLevel=impersonate}!\\\\\\\\\"\n          + this.computer + \"\\\\\" + this.namespace);\n\n\nUse cases:\n\nExecuting Windows shell commands\nQuerying WMI\nRetrieving system configuration\nAccessing environment variables\n3. HTTP Communication\n\nPossible COM objects (availability depends on installed MSXML/WinHTTP components):\n\nMicrosoft.XMLHTTP\nWinHttp.WinHttpRequest.5.1\nMsxml3.XMLHTTP\nMsxml2.XMLHTTP\nMsxml2.XMLHTTP.7.0\nMsxml2.XMLHTTP.6.0\nMsxml2.XMLHTTP.5.0\nMsxml2.XMLHTTP.4.0\nMsxml2.XMLHTTP.3.0\nMsxml2.XMLHTTP.2.6\nMsxml2.ServerXMLHTTP\nMsxml2.ServerXMLHTTP.6.0\nMsxml2.ServerXMLHTTP.5.0\nMsxml2.ServerXMLHTTP.4.0\nMsxml2.ServerXMLHTTP.3.0\n\nFallback loading is strongly recommended.\n\n4. Microsoft Office Automation (If Installed)\nExcel.Application\nPowerPoint.Application\nWord.Application\nOutlook.Application\nOther Office-related COM objects\nRequired COM Object Loader (With Fallback Support)\n\nAll COM objects must be instantiated using the following CreateObject function.\n\nIt supports:\n\nSingle ProgID\nMultiple ProgIDs (fallback chain)\nAutomatic retry until a working object is found\nif (typeof CreateObject === \"undefined\") {\n    var CreateObject = function(progId, serverName, callback) {\n        var progIds = (progId instanceof Array ? progId : [progId]);\n\n        for (var i = 0; i < progIds.length; i++) {\n            try {\n                var obj = CreateObject.make(progIds[i], serverName);\n                if (typeof callback === \"function\") {\n                    callback(obj, progIds[i]);\n                }\n                return obj;\n            } catch (e) {\n                // Try next ProgID\n            }\n        }\n        throw new Error(\"Unable to create COM object from provided ProgIDs.\");\n    };\n\n    CreateObject.make = function(p, s) {\n        if (typeof WScript !== \"undefined\") {\n            if (\"CreateObject\" in WScript) {\n                return WScript.CreateObject(p, s);\n            } else {\n                throw new Error(\"Built-in loader not available.\");\n            }\n        } else if (typeof ActiveXObject !== \"undefined\") {\n            return new ActiveXObject(p);\n        } else {\n            throw new Error(\"Could not find a loader\");\n        }\n    };\n}\n\nFallback Example (XMLHTTP)\nvar xhr = CreateObject([\n    \"Msxml2.XMLHTTP.6.0\",\n    \"Msxml2.XMLHTTP.3.0\",\n    \"Msxml2.XMLHTTP\",\n    \"Microsoft.XMLHTTP\",\n    \"WinHttp.WinHttpRequest.5.1\"\n]);\n\n\nThe loader attempts each ProgID in order until one succeeds.\n\nJavaScript Runtime Version Detection\n\nUse the following function to determine the runtime:\n\nfunction getProcessVersion() {\n    var getIEVersion = function() {\n        var rv = -1;\n        if (navigator.appName == 'Microsoft Internet Explorer') {\n            var ua = navigator.userAgent;\n            var re  = new RegExp(\"MSIE ([0-9]{1,}[\\\\.0-9]{0,})\");\n            if (re.exec(ua) != null)\n                rv = parseFloat(RegExp.$1);\n        }\n        return rv;\n    };\n\n    if (typeof WScript !== \"undefined\") {\n        return \"Microsoft JScript \" + WScript.Version;\n    } else if (typeof navigator !== \"undefined\") {\n        return (function(rv) {\n            return \"MSIE\" + (rv < 0 ? '' : (' ' + rv));\n        })(getIEVersion());\n    }\n}\n\nPolyfill Support\n\nBecause jscript.dll (JScript 5.x) does not support modern ECMAScript features, polyfills may be required.\n\nWSH JScript Compatibility\nJScript Version\tIntroduced with IE\tExample User-Agent\n5.6.x\tIE 6.0\tMozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)\n5.7.x\tIE 7.0\tMozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)\n5.8.x\tIE 8.0\tMozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)\nPolyfill Discovery\n\nAvailable polyfills can be checked at:\n\nhttps://cdnjs.cloudflare.com/polyfill/\n\nFetching Polyfills\nfeatures Parameter Format\n\nThe features parameter must be a comma-separated list of feature keywords:\n\nfeatures=feature1,feature2,feature3\n\n\nIn URL query strings, commas must be URL-encoded:\n\nfeatures=feature1%2Cfeature2%2Cfeature3\n\n\nExample:\n\nConceptual:\n\nfeatures=default,es2015\n\n\nURL-encoded:\n\nfeatures=default%2Ces2015\n\nRequest Example\nGET https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0&features=default%2Ces2015\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)\n\n\nThe User-Agent must match the detected JScript compatibility level.\n\nCompatibility Strategy\nDetect runtime using getProcessVersion()\nInstantiate COM objects using fallback arrays\nIdentify unsupported JavaScript features\nRequest polyfills using comma-separated features\nInject polyfills before executing dependent logic\nExecute Windows automation logic safely under jscript.dll\nReal-World Example\n\nA real open-source project that applies this environment in practice is WelsonJS.\n\nWelsonJS:\n\nRuns on Windows using the built-in JScript runtime (jscript.dll)\nUses COM objects extensively\nImplements fallback loading patterns\nUses core-js (formerly known as Babel polyfills) to bridge modern JavaScript features into legacy JScript environments\n\nIf you need concrete usage examples, implementation patterns, or real source code references, use a search function to look up:\n\nWelsonJS project information\nWelsonJS source code\nWelsonJS core-js integration\n\nReviewing the WelsonJS project will provide practical references that can help when implementing JSRT-based automation code.\n\nSummary\n\nJSRT provides:\n\nDirect Windows automation\nCOM-based system control\nWMI querying\nHTTP communication\nOffice automation\nMulti-ProgID fallback support\nPolyfill-based compatibility for jscript.dll\n\nIt is optimized for legacy Windows scripting environments while maintaining cross-version compatibility through structured fallback and polyfill strategies."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/gnh1201/jsrt-claw",
    "publisherUrl": "https://clawhub.ai/gnh1201/jsrt-claw",
    "owner": "gnh1201",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}