← Open Source
Yuyz0112

claude-code-reverse

A Tool to Visualize Claude Code's LLM Interactions.

ApplicationsOtherJavaScript
Open on GitHub
Momentum
+0stars in 24 hours0.0%
2.44k
Stars
414
Forks
+4
This week
1
Contributors
Created 2025-02-25 · Updated 2026-10-14 · #8611 today
Top developers

Yuyz0112/claude-code-reverse is ranked 8,611 with 2,439 stars.

Same-category comparison

Yuyz0112/claude-code-reverse is ranked 8,611 among these 8 peers; lmnr-ai/index is ranked 8,609.

Same-category comparison
NameRankMetrics
RAIT-09/obsidian-agent-client8,598
Language:
TypeScript
Stars:
2,449
Forks:
224
Description:
Bring AI agents into Obsidian via Agent Client Protocol (ACP), such as Claude Code, Codex and Gemini CLI.
fossasia/susi_android8,600
Language:
Kotlin
Stars:
2,448
Forks:
1,088
Description:
SUSI.AI Android App https://play.google.com/apps/testing/ai.susi.
ggozad/oterm8,601
Language:
Python
Stars:
2,448
Forks:
140
Description:
the terminal client for LLMs.
lmnr-ai/index8,609
Language:
Python
Stars:
2,440
Forks:
187
Description:
The SOTA Open-Source Browser Agent for autonomously performing complex tasks on the web.
Player-YN/BrowserKitten8,628
Language:
JavaScript
Stars:
2,419
Forks:
9
Description:
Paw Work - selection-first web agent for Chrome: select on the live page, describe the outcome, take away an editable office file. BYOK, sandboxed, no server.
zurawiki/gptcommit8,633
Language:
Rust
Stars:
2,416
Forks:
85
Description:
A git prepare-commit-msg hook for authoring commit messages with LLMs.
SoraWebui/SoraWebui8,648
Language:
TypeScript
Stars:
2,401
Forks:
508
Description:
SoraWebui is an open-source Sora web client, enabling users to easily create videos from text with OpenAI's Sora model.
aress31/burpgpt8,650
Language:
Java
Stars:
2,397
Forks:
289
Description:
A Burp Suite extension that integrates OpenAI's GPT to perform an additional passive scan for discovering highly bespoke vulnerabilities and enables running traffic-based analysis of any type.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageJavaScript
CategoryApplications
SubcategoryOther
KeywordsClaude Code
Stars2,439
Forks414
Contributors1
Created date2025-02-25
Updated date2026-10-14
Stars in 1 day0
Stars in 7 days4
Rank8,611
Previous rank8,683
Rank change72
7-day stars rank6,020
Previous 7-day stars rank5,057
7-day stars rank change-963
Total stars rank5,384
Previous total stars rank5,376
Total stars rank change-8
CountryChina
README summary

So, I implemented a solution to reverse engineer static code using LLMs, which became the first version of this repository. The code for the initial version is currently archived in the v1 directory. At the time, there was another version by someone else that directly restored the source code based on sourcemaps. However, that repository was later taken down, indicating that Anthropic officially does not support this type of reverse engineering. Actually, the implementation of v1 was less about reverse

engineering Claude Code and more an experiment to explore the limits of "analyzing large uglify JS code using LLMs. " When we were able to actually run Claude Code, we found many simpler and more efficient ways to understand how it works. However, I recently noticed a repository gaining popularity that referenced the v1 approach (it mentioned referring to my v1 solution). Yet, a deeper look reveals that this method isn't effective for analyzing the overall architecture and design. So, I

spent a night exploring a reverse engineering approach based on **runtime behavior and API data** (hereafter referred to as v2). I also created a log visualization tool to help researchers interested in Claude Code analyze the parts they care about. If you're interested in the implementation ideas behind v2, please read the following sections in order. If you're only interested in the results of the v2 reverse engineering analysis, you can jump directly to the "Analysis Results" section. Monkey Patching

API Request Code As an agent, Claude Code ultimately needs to interact with LLM APIs. Therefore, the core idea behind v2 is to ignore Claude Code's complex internal processing and instead focus only on the requests and responses that Claude Code ultimately exchanges with the LLM API in different task scenarios. If you want to develop an agent as powerful as Claude Code, theoretically, you just need to implement your own code to construct similar API requests under the same

task scenarios. This type of code is typically application code, with many different implementation methods and styles. Therefore, I believe implementing it from scratch yourself is the most reasonable approach. What's truly worth learning from Claude Code, however, is the content of its interactions with the LLM API, as this reflects its understanding of LLMs and agents. To get the API data, there are many methods, but my current approach involves modifying Claude Code's installed files. First, locate the file

: Next, use to format : Upon examining the formatted and referring to Anthropic's TS SDK, you'll find that Claude Code uses this SDK for all its requests, specifically the method. We just need to find the bundled TS SDK code within and monkey patch the method. The TS SDK has some intricacies regarding Promise and Stream encapsulation that I won't detail here; please refer to the actual patch code in cli. This patch implements the following logic: 1. Create a file

every time Claude Code starts. Record corresponding logs whenever an API request is sent and a response is received. After

Frequently asked questions

How many stars and forks are recorded?

Yuyz0112/claude-code-reverse has 2,439 stars and 414 forks.

What is the repository rank?

Yuyz0112/claude-code-reverse is ranked 8,611.

What language and category are recorded?

Yuyz0112/claude-code-reverse has 2,439 stars, uses JavaScript and belongs to Applications.

Which repository is closest in rank?

Yuyz0112/claude-code-reverse is compared with lmnr-ai/index, ranked 8,609 with 2,440 stars.

Nearby in the ranking
Similar items