Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/lwjjike/xbsReverseSkillnpx agentmods add skills/lwjjike/xbsreverseskill/web-js-env-patcherWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/lwjjike/xbsreverseskill/web-js-env-patcher)<a href="https://agentmods.dev/skills/lwjjike/xbsreverseskill/web-js-env-patcher"><img src="https://agentmods.dev/badge/skills/lwjjike/xbsreverseskill/web-js-env-patcher/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lwjjike/xbsreverseskill/web-js-env-patcher"><img src="https://agentmods.dev/badge/skills/lwjjike/xbsreverseskill/web-js-env-patcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00201 | $0.05102 |
| Opus 5.5 | $0.00080 | $0.02041 |
| Sonnet 5.5 | $0.00040 | $0.01020 |
| Haiku 4.5 | $0.00020 | $0.00510 |
Grade A, and why
web-js-env-patcher scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.
网页端 JS Node.js 补环境
能力边界
本 Skill 只处理网页端浏览器 JavaScript 在 Node.js 中运行所需的环境分析、证据采集、WebAPI 实现和验证。
- 目标是运行原始网页 JS,而不是优先重写算法。
- 不处理 App、Android、iOS、小程序、EXE、DLL、Frida、IDA、JADX、Ghidra 等 Native 任务。
- 默认不主动还原 JSVMP、opcode 或虚拟机解释器;只定位环境依赖、请求链和 writer。需要进入 JSVMP 源码时先暂停并让用户明确改变范围。
- TLS 指纹兼容只用于授权验证浏览器网络栈差异,不得用于绕过登录、验证码、MFA、访问控制或批量访问。
工作模型
本 Skill 分三层:
SKILL.md负责范围、决策、硬规则和主流程。references/负责场景细节、schema、采样方法和验收标准;只在触发对应场景时读取。scripts/负责确定性采集和门禁;脚本结果不能替代浏览器真实证据或工程判断。
不要一次性加载全部 references。先根据下方路由确定需要读取的文件。
References 路由
任务确认与取证
- 新 case、信息缺失或需要确认模板:读取
references/intake-template.md、references/workflow.md、references/delivery-templates.md。 - 选择 ruyiPage、RuyiTrace、Camoufox、CloakBrowser、手动取证或 AI 决定:读取
references/browser-acquisition.md。 - 使用 ruyiPage / RuyiTrace、安装检测、自动捕获或导入 NDJSON:读取
references/ruyi-tooling.md。 - 使用 Camoufox / camoufox-reverse-mcp:读取
references/camoufox-tooling.md。 - 自动点击、拖拽、键盘、滚动或可能检测
isTrusted:读取references/trusted-input-and-isTrusted.md。 - 验证码、challenge、WAF 或 verify 流程:读取
references/captcha-flow-and-verify-handoff.md。 - 固化同一 profile、seed、代理、语言、时区、UA、screen、WebGL:读取
references/fingerprint-baseline-consistency.md。 - 评估证据可信度或选择实现 / 回放 / 暂缓:读取
references/trust-matrix.md、references/case-patterns.md。
请求、资源与入口定位
- 解析请求、定位加密入口、XHR/fetch Hook 或梳理
source → entry → builder → writer:读取references/crypto-entry-location.md、references/hook-templates.md。 - HTML、bundle、chunk、challenge JS、403 页面可能过期:读取
references/dynamic-resource-freshness.md。 - Cookie/token 失效或需要定位非登录 Cookie 生成链:读取
references/cookie-generation-analysis.md。 - 最终请求顺序、Cookie jar、Session 生命周期:读取
references/session-request-chain.md。 - UA、Client Hints、Header、TLS/HTTP2 与浏览器 baseline 对齐:读取
references/tls-request-validation.md。
Trace 与环境实现
- 运行目标 JS、Proxy 探测、缺失环境定位:读取
references/env-debug-loop.md。 - Trace 首轮 API inventory、覆盖矩阵和计划外新增原因:读取
references/trace-api-coverage.md。 - Trace contract、audit-only/no-send 和 runtime 深度一致性:读取
references/trace-runtime-conformance.md。 - 选择不使用框架、isolated-vm、
vm或 jsEnv:读取references/runtime-frameworks.md。 - 使用随包魔改 xbs isolated-vm:读取
references/xbs-isolated-vm-api.md。 - addon.node 或 xbs ABI 不兼容:读取
references/node-version-recovery.md。 - addon 新版 API、private API、native collection、plugins/mimeTypes:读取
references/addon-api.md。 - 浏览器对象清单、构造函数、原型链、descriptor 和访问器:读取
references/env-object-model.md。 - addon-first、toString、
document.all、brand 和 native-like:读取references/env-native-protection.md。 - Node 全局对象或宿主 WebAPI 泄露、静默失败:读取
references/node-leakage-and-silent-failure.md。 - Level 1/2/3 模块划分:读取
references/env-module-levels.md。 - 纯 JS、addon 和 xbs 都无法表达真实行为:读取
references/native-capability-gap.md。
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 377 B
- assets/env-modules/base-env.js 6.2 KB runs code
- assets/env-modules/document-env.js 9.4 KB runs code
- assets/env-modules/fingerprint-env.js 17 KB runs code
- assets/env-modules/native-protect.js 39 KB runs code
- assets/env-modules/storage-env.js 5.0 KB runs code
- assets/native-addon/darwin-arm64/addon-darwin-arm64.node 112 KB
- assets/native-addon/darwin-arm64/addon.node 112 KB
- assets/native-addon/darwin-x64/addon-darwin-x64.node 79 KB
- assets/native-addon/darwin-x64/addon.node 79 KB
- assets/native-addon/win32-x64/addon-win32-x64.node 255 KB
- assets/native-addon/win32-x64/addon.node 255 KB
- assets/runtime-frameworks/isolated-vm-runtime.js 19 KB runs code
- assets/runtime-frameworks/jsenv-runtime.js 2.0 KB runs code
- assets/runtime-frameworks/no-framework-runtime.js 1.3 KB runs code
- assets/runtime-frameworks/runtime-factory.js 1.3 KB runs code
- assets/runtime-frameworks/vm-runtime.js 1.6 KB runs code
- assets/runtime-frameworks/xbs-isolated-vm/win32-x64/isolated_vm.node 2600 KB
- assets/runtime-frameworks/xbs-isolated-vm/XBS_API_USAGE.md 20 KB
- assets/runtime-frameworks/xbs-isolated-vm/XBS_DOM_API_USAGE.md 16 KB
- references/addon-api.md 45 KB
- references/browser-acquisition.md 31 KB
- references/camoufox-tooling.md 7.6 KB
- references/captcha-flow-and-verify-handoff.md 8.3 KB
- references/case-patterns.md 1.5 KB
- references/cleanup.md 5.8 KB
- references/code-change-memory.md 5.0 KB
- references/code-style.md 14 KB
- references/cookie-generation-analysis.md 4.8 KB
- references/crypto-entry-location.md 4.6 KB
- references/delivery-templates.md 17 KB
- references/dynamic-resource-freshness.md 4.8 KB
- references/env-debug-loop.md 15 KB
- references/env-module-levels.md 4.5 KB
- references/env-native-protection.md 28 KB
- references/env-object-model.md 30 KB
- references/final-project-summary.md 35 KB
- references/fingerprint-baseline-consistency.md 6.9 KB
- references/fingerprint-value-replay.md 17 KB
- references/fixture-validation.md 5.0 KB
- references/high-intensity-env-diff.md 5.5 KB
- references/high-strength-browser-detection.md 7.1 KB
- references/hook-templates.md 6.8 KB
- references/intake-template.md 3.8 KB
- references/native-capability-gap.md 7.8 KB
- references/node-leakage-and-silent-failure.md 11 KB
- references/node-version-recovery.md 4.6 KB
- references/object-shape-private-state.md 7.2 KB
- references/runtime-frameworks.md 12 KB
- references/ruyi-tooling.md 27 KB
- references/session-request-chain.md 7.4 KB
- references/stage-markdown-reports.md 16 KB
- references/tls-request-validation.md 21 KB
- references/trace-api-coverage.md 7.3 KB
- references/trace-runtime-conformance.md 6.4 KB
- references/trust-matrix.md 1.1 KB
- references/trusted-input-and-isTrusted.md 4.0 KB
- references/validation.md 105 KB
- references/wasm-worker-postmessage.md 4.1 KB
- references/webapi-env-detection-matrix.md 18 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 221 lines · 201 tokens per session scan A 8d9937276d84
web-js-env-patcher is a skill published in the GitHub repository lwjjike/xbsReverseSkill (381 stars, last pushed 3mo ago), licensed MIT. It adds 201 tokens to every session and 5,102 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.
log-error-digest
Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…
cwv-optimizer
Diagnose and fix Core Web Vitals issues on AEM Edge Delivery Services pages. Goes deeper than generic CWV advice by understanding EDS-specific performance patterns including the 100KB LCP budget, E-L-D loading phases, block rendering behavior, and third-party script impact. Produces specific fixes for LCP, CLS, and…
ci-fixer
CI failures - read error, minimal fix, verify.
incident-response-incident-response
Coordinate production incident triage, mitigation, investigation, recovery, and follow-up. Use when responding to outages or other incidents that require structured operational coordination.
diagnosing-missing-recordings
Diagnoses why a session recording is missing or was not captured. Use when a user asks why a session has no replay, why recordings aren't appearing, or wants to troubleshoot session replay capture issues for a specific session ID or across their project. Covers SDK diagnostic signals, project settings, sampling…