Not in the top 1,000 by GitHub stars

alexfazio/cc-trace

Claude Code CLI skill: Interactive assistant for intercepting, debugging, analyzing and reviewing Claude Code API requests using mitmproxy

History

Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.

View weekly changes

SKILL.md

Week of Nov 2, 2026 · Line counts unavailable

Before Not checked yet → After Network or broad shell

First observation → 859a17917e42

No earlier version was observed for comparison.

Compare on GitHub

View on GitHubAdd to my skills

Verified commit 859a17917e4274b564f7bb420935c06705be3d45

164GitHub stars
1star in 7 days
1skill in this repository
0commits in 30 days

Heat

1.7
  • Star growth, last 7 daysNot available
  • Star growth, last 24 hoursNot available
  • Rank movement, last 7 daysNot available
  • Commits, last 30 daysNot available
  • Accounts asking about it through MCP, last 7 daysNot available
  • Hot votes this weekNot available

Heat never changes the order by stars, and sponsorship never touches it. How heat works

Stars over time

Oct 25, 2026Nov 3, 2026164

30-day change not yet available: not enough history.

Individual skills in this repository

How it works

cc-trace

When your agent uses it

Interactive assistant for intercepting, debugging, analyzing and reviewing Claude Code API requests using mitmproxy. Guides setup, certificate configuration, and active traffic inspection via web or CLI interface. Supports learning Claude Code internals, debugging issues, and optimizing API usage.

What it loads into context

Frontmatter

73 tokens

Always available to the agent

SKILL.md

9,027 tokens

When the skill is activated

Reference documents

9,409 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. Task Context
  2. Skill Capabilities
  3. Prerequisites
  4. Tone & Communication Style
  5. Background Resources
  6. Detailed Task Instructions
  7. Examples
  8. Conversation Context
  9. Immediate Next Steps
  10. Systematic Approach
  11. Output Formatting
  12. Usage Guidelines
  13. Quick Reference

Scripts executed separately

  • scripts/extract-slash-commands.py
  • scripts/parse-streamed-response.ts
  • scripts/show-last-prompt.sh
  • scripts/verify-setup.sh

Files

  • LICENSE.txtdoc2,193 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • SKILL.mdcore38,516 bytes
  • reference/advanced-features-security.mddoc6,848 bytes
  • reference/setup-installation-certificate.mddoc3,774 bytes
  • reference/setup-shell-configuration.mddoc3,851 bytes
  • reference/usage-cli-interface.mddoc2,922 bytes
  • reference/usage-programmatic-access.mddoc10,326 bytes
  • reference/usage-web-interface.mddoc4,716 bytes
  • reference/workflow-daily-tips.mddoc4,532 bytes
  • scripts/extract-slash-commands.pyruns1,410 bytes
  • scripts/parse-streamed-response.tsruns5,976 bytes
  • scripts/show-last-prompt.shruns1,354 bytes
  • scripts/verify-setup.shruns5,166 bytes

No excerpt is shown for this license. Read the source on GitHub.

View the complete source on GitHub

Skills included

  • cc-trace

Repository facts

License
No license detected
Created
Nov 8, 2025
Last pushed
Nov 8, 2025
Forks
17
Open issues
0
Project activity
Slowing

Before you install

Network or broad shell

Automated signals, not a guarantee

Checked Nov 6, 2026

Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.

Show 43 notes
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
Show all 122 signals by file

LICENSE.txt

  • Network accessline 28
    Read more about this license at http://referencesource.microsoft.com/license.html

SKILL.md

  • Broad permissionsline 1
    Bash, Read, Write, Edit, AskUserQuestion
  • Access to secretsline 58
    [Credential-related source omitted]
  • Access to secretsline 70
    [Credential-related source omitted]
  • Network accessline 143
    Official mitmproxy resources: - Core documentation: https://docs.mitmproxy.org/
  • Network accessline 144
    - Core documentation: https://docs.mitmproxy.org/
  • Network accessline 145
    - Installation: https://docs.mitmproxy.org/stable/overview/installation/
  • Network accessline 146
    - Certificate concepts: https://docs.mitmproxy.org/stable/concepts/certificates/
  • Network accessline 147
    - mitmweb tutorial: https://docs.mitmproxy.org/stable/mitmproxytutorial/userinterface/
  • Network accessline 148
    - Scripting: https://docs.mitmproxy.org/stable/addons-overview/
  • Network accessline 149
    - GitHub: https://github.com/mitmproxy/mitmproxy
  • Network accessline 150
    - Community Discord: https://discord.gg/mitmproxy
  • Network accessline 194
    - **macOS**: `brew install mitmproxy` (requires Homebrew)   - **Linux**: `apt install mitmproxy` (Debian/Ubuntu) or `pip install mitmproxy`   - **Windows**: Download installer from https://mitmproxy.org/
  • Network accessline 195
    - **Linux**: `apt install mitmproxy` (Debian/Ubuntu) or `pip install mitmproxy`   - **Windows**: Download installer from https://mitmproxy.org/ - Verify installation with version check: `mitmproxy --version`
  • Network accessline 196
    - **Windows**: Download installer from https://mitmproxy.org/
  • Dangerous shell operationline 204
    [Credential-related source omitted]
  • Access to secretsline 204
    [Credential-related source omitted]
  • Network accessline 216
    proxy_claude() {     # Set proxy environment variables     export HTTP_PROXY=http://127.0.0.1:8080
  • Network accessline 217
    # Set proxy environment variables     export HTTP_PROXY=http://127.0.0.1:8080     export HTTPS_PROXY=http://127.0.0.1:8080
  • Network accessline 218
    export HTTP_PROXY=http://127.0.0.1:8080
  • Network accessline 219
    export HTTPS_PROXY=http://127.0.0.1:8080
  • Network accessline 220
    export http_proxy=http://127.0.0.1:8080
  • Network accessline 221
    export https_proxy=http://127.0.0.1:8080
  • Network accessline 229
    echo "🔍 Proxy configured for mitmproxy (http://127.0.0.1:8080)"
  • Network accessline 273
    - Explain flags: `--web-port` (web UI port), `--set flow_filter` (pre-filter for Anthropic)    - **Verification**: Browser opens to http://127.0.0.1:8081 showing empty flow list
  • Network accessline 274
    - **Verification**: Browser opens to http://127.0.0.1:8081 showing empty flow list
  • Network accessline 294
    - `--set flow_filter` (pre-filter for Anthropic)      - `--save-stream-file` (continuous flow saving for programmatic access)    - **Verification**: Browser opens to http://127.0.0.1:8081 showing empty flow list
  • Network accessline 295
    - `--save-stream-file` (continuous flow saving for programmatic access)    - **Verification**: Browser opens to http://127.0.0.1:8081 showing empty flow list    - **Note**: Flows are now also saved to `~/claude-flows.mitm` for programmatic 
  • Network accessline 296
    - **Verification**: Browser opens to http://127.0.0.1:8081 showing empty flow list
  • Network accessline 417
    3. Test proxy with simple request: `curl -x http://127.0.0.1:8080 http://example.com`
  • Dangerous shell operationline 435
    [Credential-related source omitted]
  • Access to secretsline 435
    [Credential-related source omitted]
  • Dangerous shell operationline 438
    [Credential-related source omitted]
  • Access to secretsline 438
    [Credential-related source omitted]
  • Access to secretsline 439
    [Credential-related source omitted]
  • Dangerous shell operationline 578
    [Credential-related source omitted]
  • Access to secretsline 578
    [Credential-related source omitted]
  • Dangerous shell operationline 581
    find ~/claude-analysis -name "*.mitm" -delete
  • Dangerous shell operationline 816
    [Credential-related source omitted]
  • Access to secretsline 816
    [Credential-related source omitted]
  • Access to secretsline 817
    [Credential-related source omitted]
  • Network accessline 838
    # 9. View traffic in browser # Navigate to: http://127.0.0.1:8081
  • Network accessline 839
    # Navigate to: http://127.0.0.1:8081
  • Dangerous shell operationline 919
    [Credential-related source omitted]
  • Access to secretsline 919
    [Credential-related source omitted]
  • Access to secretsline 920
    [Credential-related source omitted]
  • Dangerous shell operationline 924
    [Credential-related source omitted]
  • Access to secretsline 924
    [Credential-related source omitted]
  • Network accessline 929
    # Set proxy (done automatically by proxy_claude function) export HTTP_PROXY=http://127.0.0.1:8080
  • Network accessline 930
    export HTTP_PROXY=http://127.0.0.1:8080
  • Network accessline 931
    export HTTPS_PROXY=http://127.0.0.1:8080
  • Network accessline 949
    # Test proxy with curl curl -x http://127.0.0.1:8080 http://example.com
  • Network accessline 950
    curl -x http://127.0.0.1:8080 http://example.com

reference/advanced-features-security.md

  • Dangerous shell operationline 166
    [Credential-related source omitted]
  • Access to secretsline 166
    [Credential-related source omitted]
  • Dangerous shell operationline 201
    find ~/claude-analysis -name "*.mitm" -delete
  • Dangerous shell operationline 202
    find ~/claude-analysis -name "*.har" -delete
  • Dangerous shell operationline 241
    [Credential-related source omitted]
  • Access to secretsline 241
    [Credential-related source omitted]
  • Access to secretsline 242
    [Credential-related source omitted]
  • Dangerous shell operationline 249
    [Credential-related source omitted]
  • Access to secretsline 249
    [Credential-related source omitted]
  • Network accessline 256
    ### Official Documentation - Official Documentation: https://docs.mitmproxy.org/
  • Network accessline 257
    - Official Documentation: https://docs.mitmproxy.org/
  • Network accessline 258
    - Installation Guide: https://docs.mitmproxy.org/stable/overview/installation/
  • Network accessline 259
    - Certificate Setup: https://docs.mitmproxy.org/stable/concepts/certificates/
  • Network accessline 260
    - mitmweb Tutorial: https://docs.mitmproxy.org/stable/mitmproxytutorial/userinterface/
  • Network accessline 261
    - Scripting Guide: https://docs.mitmproxy.org/stable/addons-overview/
  • Network accessline 263
    ### Community & Support - GitHub Repository: https://github.com/mitmproxy/mitmproxy
  • Network accessline 264
    - GitHub Repository: https://github.com/mitmproxy/mitmproxy
  • Network accessline 265
    - Community Discord: https://discord.gg/mitmproxy
  • Network accessline 267
    ### Related Projects - System Prompts Repo: https://github.com/gsabran/claude-code-system-prompts
  • Network accessline 268
    - System Prompts Repo: https://github.com/gsabran/claude-code-system-prompts

reference/setup-installation-certificate.md

  • Network accessline 29
    1. Visit https://mitmproxy.org/ 2. Download the appropriate package for your OS
  • Network accessline 97
    3. Visit the magic URL    - Navigate to http://mitm.it
  • Network accessline 98
    - Navigate to http://mitm.it    - Click on the Apple icon    - Download and install the certificate
  • Access to secretsline 107
    [Credential-related source omitted]
  • Dangerous shell operationline 110
    [Credential-related source omitted]
  • Access to secretsline 110
    [Credential-related source omitted]
  • Access to secretsline 117
    [Credential-related source omitted]
  • Access to secretsline 118
    [Credential-related source omitted]
  • Access to secretsline 130
    [Credential-related source omitted]
  • Dangerous shell operationline 157
    [Credential-related source omitted]
  • Access to secretsline 157
    [Credential-related source omitted]
  • Network accessline 177
    NODE_EXTRA_CA_CERTS=~/.mitmproxy/mitmproxy-ca-cert.pem curl -x http://127.0.0.1:8080 https://api.anthropic.com

reference/setup-shell-configuration.md

  • Network accessline 30
    proxy_claude() {     # Set proxy environment variables     export HTTP_PROXY=http://127.0.0.1:8080
  • Network accessline 31
    # Set proxy environment variables     export HTTP_PROXY=http://127.0.0.1:8080     export HTTPS_PROXY=http://127.0.0.1:8080
  • Network accessline 32
    export HTTP_PROXY=http://127.0.0.1:8080
  • Network accessline 33
    export HTTPS_PROXY=http://127.0.0.1:8080
  • Network accessline 34
    export http_proxy=http://127.0.0.1:8080
  • Network accessline 35
    export https_proxy=http://127.0.0.1:8080
  • Network accessline 43
    echo "🔍 Proxy configured for mitmproxy (http://127.0.0.1:8080)"
  • Network accessline 100
    export ALL_PROXY=http://127.0.0.1:8080
  • Network accessline 121
    curl -x http://127.0.0.1:8080 http://example.com
  • Network accessline 157
    proxy_claude() {     # Use custom ports (example: 9090 for proxy, 9091 for web)     export HTTP_PROXY=http://127.0.0.1:9090
  • Network accessline 158
    # Use custom ports (example: 9090 for proxy, 9091 for web)     export HTTP_PROXY=http://127.0.0.1:9090     export HTTPS_PROXY=http://127.0.0.1:9090
  • Network accessline 159
    export HTTP_PROXY=http://127.0.0.1:9090
  • Network accessline 160
    export HTTPS_PROXY=http://127.0.0.1:9090
  • Network accessline 161
    export http_proxy=http://127.0.0.1:9090
  • Network accessline 162
    export https_proxy=http://127.0.0.1:9090
  • Network accessline 167
    echo "🔍 Proxy configured for mitmproxy (http://127.0.0.1:9090)"

reference/usage-programmatic-access.md

  • Network accessline 9
    1. **Web UI Only** - Manual inspection via browser (http://localhost:8081)
  • Network accessline 227
    1. Open mitmweb: http://localhost:8081

reference/usage-web-interface.md

  • Network accessline 35
    3. Access the web interface    - Automatically opens in your browser, or    - Manually navigate to: http://127.0.0.1:8081
  • Network accessline 36
    - Automatically opens in your browser, or    - Manually navigate to: http://127.0.0.1:8081 4. You should see the mitmweb interface with a clean, modern web UI (initially empty with no flows captured yet)
  • Network accessline 37
    - Manually navigate to: http://127.0.0.1:8081
  • Network accessline 81
    🔍 Proxy configured for mitmproxy (http://127.0.0.1:8080)
  • Network accessline 127
    curl -x http://127.0.0.1:8080 http://example.com

reference/workflow-daily-tips.md

  • Network accessline 27
    3. Browser: Open mitmweb at http://127.0.0.1:8081
  • Network accessline 97
    For more advanced parsing: - Get the TypeScript parser from https://github.com/gsabran/claude-code-system-prompts
  • Network accessline 98
    - Get the TypeScript parser from https://github.com/gsabran/claude-code-system-prompts

scripts/extract-slash-commands.py

  • Executable scriptline 1
    #!/usr/bin/env python3

scripts/parse-streamed-response.ts

  • Executable scriptline 1
    Executable file

scripts/show-last-prompt.sh

  • Executable scriptline 1
    #!/bin/bash

scripts/verify-setup.sh

  • Executable scriptline 1
    #!/usr/bin/env bash
  • Access to secretsline 41
    [Credential-related source omitted]
  • Access to secretsline 50
    [Credential-related source omitted]
  • Dangerous shell operationline 51
    [Credential-related source omitted]
  • Access to secretsline 51
    [Credential-related source omitted]
  • Network accessline 131
    echo "  1. Start mitmweb: mitmweb --web-port 8081"     echo "  2. Start Claude Code: proxy_claude"     echo "  3. View traffic: http://127.0.0.1:8081"
  • Network accessline 132
    echo "  2. Start Claude Code: proxy_claude"     echo "  3. View traffic: http://127.0.0.1:8081" else
  • Network accessline 133
    echo "  3. View traffic: http://127.0.0.1:8081"

How the signals fit together

Facts from a static read of the files at the pinned commit. They describe what the code does, not why.

Signal confidence: 122 facts
  • Network access in prose of documentationLICENSE.txt:28Low confidence
  • Broad permissions in the frontmatter of the SKILL.mdSKILL.md:1High confidence
  • Access to secrets in prose of the SKILL.md: a variable, placeholder or call, not a stored valueSKILL.md:58Low confidence
  • Access to secrets in prose of the SKILL.mdSKILL.md:70Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:143Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:144Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:145Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:146Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:147Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:148Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:149Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:150Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:194Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:195Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:196Low confidence
  • Dangerous shell operation in prose of the SKILL.mdSKILL.md:204Low confidence
  • Access to secrets in prose of the SKILL.mdSKILL.md:204Low confidence
  • Network access in code of the SKILL.mdSKILL.md:216High confidence
  • Network access in code of the SKILL.mdSKILL.md:217High confidence
  • Network access in code of the SKILL.mdSKILL.md:218High confidence
  • Network access in code of the SKILL.mdSKILL.md:219High confidence
  • Network access in code of the SKILL.mdSKILL.md:220High confidence
  • Network access in code of the SKILL.mdSKILL.md:221High confidence
  • Network access in code of the SKILL.mdSKILL.md:229High confidence
  • Network access in prose of the SKILL.mdSKILL.md:273Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:274Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:294Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:295Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:296Low confidence
  • Network access in prose of the SKILL.mdSKILL.md:417Low confidence
  • Dangerous shell operation in code of the SKILL.mdSKILL.md:435High confidence
  • Access to secrets in code of the SKILL.mdSKILL.md:435High confidence
  • Dangerous shell operation in code of the SKILL.mdSKILL.md:438High confidence
  • Access to secrets in code of the SKILL.mdSKILL.md:438High confidence
  • Access to secrets in code of the SKILL.mdSKILL.md:439High confidence
  • Dangerous shell operation in code of the SKILL.mdSKILL.md:578High confidence
  • Access to secrets in code of the SKILL.mdSKILL.md:578High confidence
  • Dangerous shell operation in code of the SKILL.mdSKILL.md:581High confidence
  • Dangerous shell operation in code of the SKILL.mdSKILL.md:816High confidence
  • Access to secrets in code of the SKILL.mdSKILL.md:816High confidence
  • Access to secrets in code of the SKILL.mdSKILL.md:817High confidence
  • Network access in code of the SKILL.mdSKILL.md:838High confidence
  • Network access in code of the SKILL.mdSKILL.md:839High confidence
  • Dangerous shell operation in code of the SKILL.mdSKILL.md:919High confidence
  • Access to secrets in code of the SKILL.mdSKILL.md:919High confidence
  • Access to secrets in code of the SKILL.mdSKILL.md:920High confidence
  • Dangerous shell operation in code of the SKILL.mdSKILL.md:924High confidence
  • Access to secrets in code of the SKILL.mdSKILL.md:924High confidence
  • Network access in code of the SKILL.mdSKILL.md:929High confidence
  • Network access in code of the SKILL.mdSKILL.md:930High confidence

and 72 more

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeCompatibleStandard SKILL.md SKILL.md.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard SKILL.md SKILL.md.opencode/skills/<skill-name>/
  • Native The repository ships a manifest, folder or frontmatter field for this agent.
  • Compatible A standard SKILL.md that this agent can read.
  • Unknown No evidence either way.

Derived automatically from paths, manifests and frontmatter. Not tested on each agent.