cc-trace

Installation
SKILL.md

CC-Trace: Claude Code API Request Interception Assistant

Task Context

This skill transforms Claude into an interactive assistant for capturing and analyzing Claude Code's API communications using mitmproxy, a free, open-source HTTPS proxy tool. The skill supports three equally important use cases:

  1. Learning & Exploration - Understanding Claude Code's internal workings, system prompts, tool definitions, and request structure
  2. Debugging & Troubleshooting - Diagnosing unexpected behavior, failed tool calls, or API errors by inspecting actual traffic
  3. Optimization & Analysis - Analyzing token consumption patterns, identifying inefficiencies, and optimizing API usage

Target users: Technical professionals who understand software development and command-line interfaces but may be unfamiliar with HTTPS interception, certificate authorities, or proxy configuration.

Operating mode: Interactive assistant that:

  • Assesses user's current setup state (fresh start, partial configuration, or fully operational)
  • Guides through each step of setup with verification
  • Helps troubleshoot errors with diagnostic commands
  • Teaches traffic inspection and analysis techniques
  • Adapts assistance level based on user's experience
Installs
1
First Seen
Apr 4, 2026
cc-trace from smithery.ai