reverse-engineer

reverse-engineer is a skill for Claude Code, Codex from AgentComputerAI/torch. It costs 96 tokens per session (7,361 once invoked), scanned A, original, MIT.

A method for discovering and reproducing a website’s hidden data interfaces, including APIs, live WebSocket connections, and encrypted responses. It moves through increasingly advanced investigation steps as needed.

In plain words
What is it for?
Use it when ordinary page scraping cannot find the required data. It covers network capture, request replay, token discovery, JavaScript analysis, decryption, WebSockets, GraphQL, and binary formats.
Why use it?
Important data may not appear in the page HTML or may be protected behind undocumented requests and encoded responses. The method helps identify how the browser obtains and decodes that data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when ordinary page scraping cannot find the required data. It covers network capture, request replay, token discovery, JavaScript analysis, decryption, WebSockets, GraphQL, and binary formats.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentcomputerai/torch/reverse-engineer
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 AgentComputerAI/torch --skill reverse-engineer
Clone the repo
git clone --depth 1 https://github.com/AgentComputerAI/torch

Made for: Claude Code, 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 reverse-engineer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentcomputerai/torch/reverse-engineer"><img src="https://agentmods.dev/badge/skills/agentcomputerai/torch/reverse-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,361 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00096 $0.07361
Opus 5.5 $0.00038 $0.02944
Sonnet 5.5 $0.00019 $0.01472
Haiku 4.5 $0.00010 $0.00736

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

Security

Grade A, and why

reverse-engineer scanned grade A with 1 finding 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.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**When**: Phase 0 curl returns HTML with no target data. The data loads via XHR/fetch after JS runs.
skills/reverse-engineer/SKILL.md · 675 lines

How it starts

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

Reverse Engineering

When the data isn't in the HTML, it's in an API. When the API isn't public, it's hidden in the JavaScript. When the JavaScript is obfuscated, the keys are still in the page source — because the browser needs them to decrypt, which means you can too.

This skill is an escalation ladder. Start at Level 1 and stop as soon as you have what you need.

Escalation ladder

  Level 1   📡  Network capture          watch DevTools, find the API call
  Level 2   🔬  Response classification  Shannon entropy — plaintext vs compressed vs encrypted
  Level 3   🔁  API replay               copy as cURL, replay with fetch, 403 bypass tricks
  Level 4   🔑  Token extraction         find auth tokens, CSRF, API keys in page source
  Level 5   📦  JS deobfuscation         unpack webpack, deobfuscate, read the source
  Level 6   🔐  Payload decryption       NaCl / AES-GCM / CryptoJS — extract keys, decrypt
  Level 7   🔌  WebSocket interception    establish WS, subscribe to channels, decode frames
  Level 8   🔮  GraphQL reconstruction    extract queries from JS, force PersistedQueryNotFound
  Level 9   🧬  Protobuf decoding        reverse-engineer .proto schema from binary blobs

Level 1 — Network capture

When: Phase 0 curl returns HTML with no target data. The data loads via XHR/fetch after JS runs.

Open the page in the real Chrome debug port, capture every API call during page load:

const page = await browser.newPage();

const apiCalls = [];
page.on("response", async (res) => {
  const url = res.url();
  const ct = res.headers()["content-type"] || "";
  if (
    ct.includes("json") || ct.includes("grpc") || ct.includes("protobuf") ||
    url.includes("/api/") || url.includes("/graphql") || url.includes("/v1/") || url.includes("/v2/")
  ) {
    try {
      const body = await res.text();
      apiCalls.push({ url, status: res.status(), contentType: ct, size: body.length, sample: body.slice(0, 500) });
    } catch {}
  }
});

await page.goto(url, { waitUntil: "networkidle2" });

for (const call of apiCalls) {
  console.log(`${call.status} ${call.url} (${call.contentType}, ${call.size}B)`);
  console.log(`  ${call.sample.slice(0, 200)}`);
}

Read the full file on GitHub · 675 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 · 675 lines · 96 tokens per session scan A dcfaa1daf05e

Subscribe to this mod's changes

reverse-engineer is a skill published in the GitHub repository AgentComputerAI/torch (5 stars, last pushed 6mo ago), licensed MIT. It adds 96 tokens to every session and 7,361 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

debug-failed-action

When your last vsact returned an unexpected result (NOTFOUND, no visible state change, suspected silent failure), run this skill with the action's pre-token. Pulls console errors, network failures, and current performance into one report.

frane/vibesurfer · 54 tokens

opencli-autofix

Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.

jackwener/OpenCLI · 61 tokens

surf

Control Chrome browser via CLI for testing, automation, and debugging. Use when the user needs browser automation, screenshots, form filling, page inspection, network/CPU emulation, DevTools streaming, or AI queries via ChatGPT/Gemini/Perplexity/Grok/AI Studio.

nicobailon/surf-cli · 60 tokens

cpp

Use when writing, reviewing, modernizing, building, or debugging C++ - RAII and resource lifetime, smart-pointer ownership, move semantics and the Rule of Zero/Five, target-based CMake with FetchContent, and killing undefined behavior with ASan/UBSan/TSan plus clang-tidy. NOT borrow-checker / Result-Option / cargo…

ericrisco/rsc-harness · 81 tokens

gamedev-physics

Use when working with a game engine's physics — rigid bodies, colliders, collision layers and masks, character controllers, joints, forces versus impulses, raycasts and shapecasts, or when a simulation is unstable (tunnelling, jitter, missed overlaps). Covers the Godot, Unity and Unreal equivalents. NOT rendering or…

ericrisco/rsc-harness · 102 tokens

observability

Use when instrumenting a service from the inside so an incident can be explained from telemetry alone — wiring OpenTelemetry logs, metrics and traces, standing up a Collector, exporting via OTLP, and defining telemetry-driven alerts. NOT outside-in uptime probes, on-call rotation, or who-gets-paged (that is…

ericrisco/rsc-harness · 70 tokens