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.
npx skills add lwjjike/xbsReverseSkill --skill ast-deobfuscationgit clone --depth 1 https://github.com/lwjjike/xbsReverseSkillWrote 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/ast-deobfuscation)<a href="https://agentmods.dev/skills/lwjjike/xbsreverseskill/ast-deobfuscation"><img src="https://agentmods.dev/badge/skills/lwjjike/xbsreverseskill/ast-deobfuscation/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/ast-deobfuscation"><img src="https://agentmods.dev/badge/skills/lwjjike/xbsreverseskill/ast-deobfuscation.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.00146 | $0.01058 |
| Opus 5 | $0.00073 | $0.00529 |
| Sonnet 5 | $0.00029 | $0.00212 |
| Haiku 4.5 | $0.00015 | $0.00106 |
Grade A, and why
ast-deobfuscation 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 10d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- ast-deobfuscation — 100% identical, 0 lines differ
What it actually says
AST 反混淆
优先使用分层入口,而不是继续把站点特有逻辑堆进通用脚本。
工作流
- 先运行
scripts/detect-patterns.js <input.js> [hint]做模式检测。 - 只读取命中的站点或混淆家族规则文档。
- 运行
scripts/run-pipeline.js <input.js> <output-dir> [hint]执行选中的流水线。 - 对照参考产物或原始混淆症状,判断是否还需要新增专用适配脚本。
设计规则
- 通用脚本只保留低风险、可复用的改写,例如结构标准化、虚假分支清理、dispatcher 内联、控制流拍平和
if -> switch。 - 一旦某个模式明显是站点特有的,就同时补齐四部分:规则文档、检测器命中项、专用适配脚本、流水线配置项。
- 对于高开销步骤,优先按家族跳过或重排,不要强行要求所有样本走同一套顺序。像
reese84这种大样本,如果太晚执行inline-literals,很容易卡住。 - 专用适配脚本应当保持窄而准。如果某条规则没有在多个无关样本中复用,不要急着回灌到通用脚本。
- 结构性改写后要重新 parse,并保证每一阶段都可以独立运行和排查。
入口脚本
scripts/detect-patterns.js根据文件路径、可选 hint 和源码症状判断最可能命中的站点或混淆家族。scripts/run-pipeline.js把样本复制到测试目录,执行选中的步骤,记录耗时并输出流水线报告。scripts/collect-residue-metrics.js统计仍未解开的症状,例如split('|')、直接loop/switch平坦化、opcodeif链、dispatcher wrapper 和_0x标识符。scripts/compare-with-reference.js将最新流水线输出与decode.js对比,汇总剩余差距。
参考文档
- 新增或调整适配器时,先读
references/pattern-layering.md。 - 任何逻辑想放进通用脚本前,先读
references/safe-rewrite-rules.md。 - 处理字符串表、解码 stub、最小运行时求值时,读
references/string-array-and-minimal-eval.md。 - 处理控制流平坦化、opcode 分发器和 VM 类 handler 时,读
references/control-flow-and-opcode-patterns.md。 - 处理逗号表达式、IIFE、语句提升时,读
references/sequence-normalization.md。 - 检测器命中后,只读取对应的一份站点规则文档:
references/patterns/reese84.mdreferences/patterns/dingxiang.mdreferences/patterns/geetest4.mdreferences/patterns/tonghuashun.mdreferences/patterns/yidun.mdreferences/patterns/xiaohongshu.mdreferences/patterns/cn-bidding-ob.mdreferences/patterns/mps-ob.md
校验
- 每个新增或改过的 JavaScript 辅助脚本,在接入流水线前都要至少过一次
node --check或等价的加载校验。 - 修改 skill 后,运行
C:\Users\25198\.codex\skills\.system\skill-creator\scripts\quick_validate.py C:\Users\25198\.codex\skills\ast-deobfuscation。 - 测试案例时,把中间产物、检测结果、对比结果和流水线耗时都保留在案例目录里,方便定位慢步骤和失败步骤。
What ships with it
36 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 369 B
- references/control-flow-and-opcode-patterns.md 1.8 KB
- references/pattern-layering.md 746 B
- references/patterns/cn-bidding-ob.md 536 B
- references/patterns/dingxiang.md 665 B
- references/patterns/geetest4.md 652 B
- references/patterns/mps-ob.md 650 B
- references/patterns/reese84.md 608 B
- references/patterns/tonghuashun.md 610 B
- references/patterns/xiaohongshu.md 458 B
- references/patterns/yidun.md 564 B
- references/safe-rewrite-rules.md 1.9 KB
- references/sequence-normalization.md 2.1 KB
- references/string-array-and-minimal-eval.md 1.8 KB
- scripts/collect-residue-metrics.js 6.8 KB runs code
- scripts/compare-with-reference.js 1.9 KB runs code
- scripts/detect-patterns.js 1.1 KB runs code
- scripts/flatten-array-control-flow.js 21 KB runs code
- scripts/if-chain-to-switch.js 6.0 KB runs code
- scripts/inline-dispatchers.js 4.6 KB runs code
- scripts/inline-literals.js 6.0 KB runs code
- scripts/normalize-structure.js 6.2 KB runs code
- scripts/patterns/dingxiang-array-pass.js 2.6 KB runs code
- scripts/patterns/geetest4-guarded-pass.js 3.9 KB runs code
- scripts/patterns/ob-variant-pass.js 9.7 KB runs code
- scripts/patterns/pattern-utils.js 28 KB runs code
- scripts/patterns/reese84-heavy-pass.js 1.9 KB runs code
- scripts/patterns/shared-pattern-pass.js 499 B runs code
- scripts/patterns/tonghuashun-order-pass.js 4.9 KB runs code
- scripts/patterns/xiaohongshu-wrapper-pass.js 7.1 KB runs code
- scripts/patterns/yidun-dispatcher-pass.js 5.8 KB runs code
- scripts/pipeline-config.js 9.6 KB runs code
- scripts/prune-fake-branches.js 2.4 KB runs code
- scripts/rename-identifiers.js 2.2 KB runs code
- scripts/run-pipeline.js 3.8 KB runs code
- scripts/shared.js 1.3 KB runs code
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.
- 10d ago First seen · 58 lines · 146 tokens per session scan A 400141d1d12e
ast-deobfuscation is a skill published in the GitHub repository lwjjike/xbsReverseSkill (362 stars, last pushed 1mo ago), licensed MIT. It adds 146 tokens to every session and 1,058 once invoked, about $0.0007 per session on Opus 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
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…
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.
diagnose
Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.
repro-admin
Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.
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…
byted-util-volcengine-detect-retry
An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.