web-reverse-algorithm

web-reverse-algorithm is a skill for Codex from lwjjike/xbsReverseSkill. It costs 226 tokens per session (2,238 once invoked), scanned A, original, MIT.

A skill for tracing browser JavaScript computations back from an outgoing request, cookie, header, verification result, or WebSocket message to the code that produced it. It covers ordinary signing and encryption as well as heavily obfuscated code, WebAssembly, proof-of-work, and binary data.

In plain words
What is it for?
Use it to classify a reverse-engineering problem, find the relevant entry point, capture intermediate values, align browser and local results, and turn a confirmed computation into reusable code or a documented workflow.
Why use it?
It helps replace guesswork about an unknown value with a trace of its inputs, intermediate values, and final writer. It also helps decide whether to instrument the code, simplify it, add a small browser environment, or keep execution in a browser.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to classify a reverse-engineering problem, find the relevant entry point, capture intermediate values, align browser and local results, and turn a confirmed computation into reusable code or a documented workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lwjjike/xbsreverseskill/web-reverse-algorithm
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lwjjike/xbsReverseSkill --skill web-reverse-algorithm
Clone the repo
git clone --depth 1 https://github.com/lwjjike/xbsReverseSkill

Made for: Codex.

Wrote 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.

agentmods badge for web-reverse-algorithm

README.md
[![agentmods](https://agentmods.dev/badge/skills/lwjjike/xbsreverseskill/web-reverse-algorithm/github.svg)](https://agentmods.dev/skills/lwjjike/xbsreverseskill/web-reverse-algorithm)
Your own site
<a href="https://agentmods.dev/skills/lwjjike/xbsreverseskill/web-reverse-algorithm"><img src="https://agentmods.dev/badge/skills/lwjjike/xbsreverseskill/web-reverse-algorithm/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.

agentmods 80×15 button for web-reverse-algorithm

Your own site · 80×15
<a href="https://agentmods.dev/skills/lwjjike/xbsreverseskill/web-reverse-algorithm"><img src="https://agentmods.dev/badge/skills/lwjjike/xbsreverseskill/web-reverse-algorithm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 226 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,238 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00226 $0.02238
Opus 5.5 $0.00090 $0.00895
Sonnet 5.5 $0.00045 $0.00448
Haiku 4.5 $0.00023 $0.00224

Measured 1mo ago against content hash 366e236853bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-reverse-algorithm 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/new_case_scaffold.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

web-reverse-algorithm/SKILL.md · 218 lines

How it starts

The opening of the file, as written. The whole thing — 218 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web 逆向纯算

这项技能不是“给一个固定公式”,而是把资料库里的方法层、题型层、训练层、工程化层压成一套总入口。

先把任务压缩成这条闭环,再决定读哪份 references、走哪条路径、写哪种落地代码:

最终请求 / 最终 cookie / 最终 verify / 最终 WS 帧
-> writer
-> builder
-> entry
-> source

核心原则

  1. 先找最终写出点,不先读混淆大文件。
  2. 先存中间值,不先猜算法名。
  3. 先缩小执行范围,再补环境。
  4. 先证明输入输出边界,再决定是否整体迁移。
  5. 先把结果整理成可复用结构,再继续做版本适配。

使用顺序

1. 先判题型

把目标先归到下面之一:

  • 标准签名 / 标准摘要题
  • 混合加密 / 密钥包装题
  • Cookie / Header / 多参数联动题
  • JSVMP / VMP / 强混淆纯算题
  • Wasm / Protobuf / WebSocket / 二进制协议题
  • 验证码 / 风控 / challenge 题

如果还没分清,先读 references/01-decision-tree.md。

2. 再判当前阻塞点

优先判断你卡在下面哪一类:

  • 入口没找对
  • 原始串或原始 payload 没对齐
  • 中间数组 / 中间对象没采到
  • 运行时依赖没补齐
  • 图像线和参数线没拆开
  • 协议边界没证明

遇到这一步拿不准时,优先读 references/04-debug-env-playbook.md。

3. 按题型选路线

标准签名 / 混合加密 / Cookie / Header / 国密

适用信号:

  • 输出长度规整
  • md5/sha1/hmac/aes/rsa/sm3/sm4
  • token&t&appKey&data
  • params + encSecKey
  • document.cookie 或 header 明显可追

优先读取 references/02-algorithm-families.md。

JSVMP / VMP / 小红书 / a_bogus / 多参数复杂纯算

适用信号:

  • 大数组、解释器、for(;;)+switch
  • 位运算密集、状态数组、寄存器式写法
  • window._webmsxyw、__TENCENT_CHAOS_VM、byted_acrawler 一类入口

优先读取 references/02-algorithm-families.md 和 references/04-debug-env-playbook.md。

Wasm / Protobuf / WebSocket / challenge 协议

适用信号:

  • WebAssembly.instantiate
  • application/x-protobuf
  • 二进制响应、导出函数、首包/验证包分段

优先读取 references/02-algorithm-families.md 和 references/03-captcha-families.md。

验证码 / 风控 / challenge / verify

永远先拆 5 条线:

  1. 初始化 / challenge 线
  2. 图像或题面识别线
  3. 参数 builder 线
  4. 环境 / 指纹 / collect 线
  5. 最终 verify 线

优先读取 references/03-captcha-families.md。

统一工作流

1. 锁定最终写出点

优先从这些位置切:

  • fetch
  • XMLHttpRequest.send
  • setRequestHeader
  • document.cookie
  • JSON.stringify
  • verify 提交点
  • WebSocket 首包或验证包发送点

Read the full file on GitHub · 218 lines

Changes

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.

  1. 1mo ago First seen · 218 lines · 226 tokens per session scan A 366e236853bc

Subscribe to this mod's changes

web-reverse-algorithm is a skill published in the GitHub repository lwjjike/xbsReverseSkill (379 stars, last pushed 3mo ago), licensed MIT. It adds 226 tokens to every session and 2,238 once invoked, about $0.0009 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.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

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.

open-metadata/OpenMetadata · 37 tokens

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…

zebbern/claude-code-guide · 71 tokens

deck-retro

Run a fully local agent-deck retrospective over the user's own transcripts, Recall index and logs. Use when a user wants to find recurring failures or take their own finding from investigation through synthetic reproduction, a user-filed issue, a test-first fix and contributor PR handoff. Also use for weekly usage…

asheshgoplani/agent-deck · 86 tokens

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.

rmyndharis/antigravity-skills · 36 tokens

ci-fixer

CI failures - read error, minimal fix, verify.

sipyourdrink-ltd/bernstein · 15 tokens