Discover and explore top open-source AI tools and projects—updated daily.
badlogicCLI tool for analyzing Claude Code prompt and tool evolution
Top 82.2% on SourcePulse
Summary
This utility extracts and compares system prompts and tool definitions across different versions of Claude Code. It targets developers and researchers needing to track prompt evolution, understand tool availability changes, and debug prompt-related issues in Claude Code deployments. The primary benefit is providing a clear, versioned record of Claude Code's internal configurations.
How It Works
The tool employs two main operational modes. In the standard approach, it downloads a specified Claude Code version from npm, modifies its internal version check to bypass automatic updates, and then executes it using claude-trace. A single test haiku request is made to trigger an API interaction, allowing the tool to intercept and parse the system prompt, user message format, and available tools. These extracted details are then saved into version-specific Markdown files. Alternatively, the Custom Binary Mode allows direct execution of a user-supplied Claude Code binary via --binary-path, bypassing the npm download and patching steps while still leveraging claude-trace for extraction.
Quick Start & Requirements
npm install -g @mariozechner/cchistoryHighlighted Details
--binary-path option, enabling direct comparison with released versions.--claude-args parameter allows passing custom arguments to the Claude Code execution, such as MCP configurations or enabling verbose logging, with robust safety measures preventing command injection through shell-quote.Maintenance & Community
The provided README does not contain information regarding notable contributors, sponsorships, community channels (e.g., Discord, Slack), or project roadmaps.
Licensing & Compatibility
The README does not specify the software license or provide details on compatibility for commercial use or linking with closed-source projects.
Limitations & Caveats
Requires users to be authenticated with Claude Code. The process involves API calls that may incur costs. The tool's functionality is strictly limited to extracting prompts and tools from Claude Code versions.
5 months ago
Inactive