Skip to main content
ClaudeWave
Yuyz0112 avatar
Yuyz0112

claude-code-reverse

View on GitHub

A Tool to Visualize Claude Code's LLM Interactions

Tools2.4k stars407 forksJavaScriptUpdated 9mo ago
Editor's note

Claude Code Reverse is a JavaScript developer tool that intercepts and visualizes the actual API traffic exchanged between Claude Code and Anthropic's LLM backend. The core technique involves locating Claude Code's installed `cli.js` file, formatting it with `js-beautify`, then applying a monkey patch to the bundled Anthropic TypeScript SDK's `beta.messages.create` method, which causes every outbound request and inbound response to be written to a `messages.log` file. Two companion tools process that output: `parser.js` strips repeated boilerplate prompts by detecting frequency and position, and `visualize.html` renders the cleaned conversation flow in a browser. The repository also publishes extracted results in a dedicated directory, covering reverse-engineered prompts and tool definitions for Claude Code behaviors including quota checks (which use Claude Haiku 3.5 against a single `quota` input), topic detection, context compaction, the core agent loop, and sub-agent task management. Researchers studying agent architecture, prompt engineering, and how Anthropic structures tool-use workflows in a production coding agent are the primary audience.

ClaudeWave Trust Score
57/100
· OK
Passed
  • Healthy fork ratio
  • Clear description
  • Mature repo (>1y old)
  • Documented (README)
Flags
  • !No standard license detected
  • !Inactive (>180d)
Last scanned: 6/11/2026
Get started
Method: Clone
Terminal
git clone https://github.com/Yuyz0112/claude-code-reverse
1. Clone the repository.
2. Follow the README for installation and usage instructions.
Use cases

Tools overview

README preview not available. Visit the repo on GitHub for full documentation.

What people ask about claude-code-reverse

What is Yuyz0112/claude-code-reverse?

+

Yuyz0112/claude-code-reverse is tools for the Claude AI ecosystem. A Tool to Visualize Claude Code's LLM Interactions It has 2.4k GitHub stars and was last updated 9mo ago.

How do I install claude-code-reverse?

+

You can install claude-code-reverse by cloning the repository (https://github.com/Yuyz0112/claude-code-reverse) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is Yuyz0112/claude-code-reverse safe to use?

+

Our security agent has analyzed Yuyz0112/claude-code-reverse and assigned a Trust Score of 57/100 (tier: OK). See the full breakdown of passed checks and flags on this page.

Who maintains Yuyz0112/claude-code-reverse?

+

Yuyz0112/claude-code-reverse is maintained by Yuyz0112. The last recorded GitHub activity is from 9mo ago, with 5 open issues.

Are there alternatives to claude-code-reverse?

+

Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.

Deploy claude-code-reverse to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: Yuyz0112/claude-code-reverse
[![Featured on ClaudeWave](https://claudewave.com/api/badge/yuyz0112-claude-code-reverse)](https://claudewave.com/repo/yuyz0112-claude-code-reverse)
<a href="https://claudewave.com/repo/yuyz0112-claude-code-reverse"><img src="https://claudewave.com/api/badge/yuyz0112-claude-code-reverse" alt="Featured on ClaudeWave: Yuyz0112/claude-code-reverse" width="320" height="64" /></a>

More Tools