A Tool to Visualize Claude Code's LLM Interactions
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.
- ✓Healthy fork ratio
- ✓Clear description
- ✓Mature repo (>1y old)
- ✓Documented (README)
- !No standard license detected
- !Inactive (>180d)
git clone https://github.com/Yuyz0112/claude-code-reverseTools overview
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.
[](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
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph. App code + database schema + infrastructure in one graph.
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies