Agent skill

Cc Trace

by alexfazio in alexfazio/cc-trace

Interactive assistant for intercepting, debugging, analyzing and reviewing Claude Code API requests using mitmproxy.

Custom licenceAuto-check: notesDevelopment

Install Cc Trace

skills CLI
$ npx skills add alexfazio/cc-trace --skill cc-trace -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install alexfazio/cc-trace cc-trace --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cc-trace
GitHub stars
162
Token cost
~9.6k tokens
SKILL.md length
3,475 words
Files
13 (incl. scripts)
Skills in repo
1
Repo updated
First seen
Licence
Custom licence

At a glance

Interactive assistant for intercepting, debugging, analyzing and reviewing Claude Code API requests using mitmproxy.

  • Works in 4 steps: Installation Verification → Certificate Generation & Trust → Shell Configuration → …
  • Tasks that involve Debugging
  • SKILL.md covers Task Context, Skill Capabilities, Prerequisites and Tone & Communication Style, plus 9 more sections
  • Runs Shell, Python and TypeScript scripts from its folder; calls brew, bash and npx

What it does

Cc Trace is an agent skill from alexfazio/cc-trace. 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.

Its SKILL.md is about 9.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts (for example `reference/advanced-features-security.md`, `reference/setup-installation-certificate.md` and `reference/setup-shell-configuration.md`).

It sits in Development, covering Debugging. The repository describes itself as: Claude Code CLI skill: Interactive assistant for intercepting, debugging, analyzing and reviewing Claude Code API requests using mitmproxy.

When your agent uses it

  • Tasks that involve Debugging

Example prompts

  • “/cc-trace”

Requirements

  • Python 3
  • Node.js
  • A Bash shell
  • Pre-approved tools (allowed-tools): Bash, Read, Write, Edit, AskUserQuestion

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Installation Verification
  2. Certificate Generation & Trust
  3. Shell Configuration
  4. Automated Verification

What it can do on your machine

Read from SKILL.md and the folder at commit 859a179. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Edit
    • AskUserQuestion

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Shell, Python and TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • brew
    • bash
    • npx
    • curl
    • claude
    • jq
    • apt
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.mitmproxy.org
    • github.com
    • discord.gg
    • mitmproxy.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cc Trace loads about 9.6k tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 3,475 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~9.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:204
    - **macOS**: `sudo security add-trusted-cert -d -p ssl -p basic -k /Library/Keychains/System.keychain ~/.mitmproxy/mit
  • NoteRuns commands with sudoSKILL.md:435
    sudo security delete-certificate -c mitmproxy /Library/Keychains/System.keychain
  • NoteRuns commands with sudoSKILL.md:438
    sudo security add-trusted-cert -d -p ssl -p basic \
  • NoteRuns commands with sudoSKILL.md:578
    sudo security delete-certificate -c mitmproxy /Library/Keychains/System.keychain
  • NoteRuns commands with sudoSKILL.md:816
    sudo security add-trusted-cert -d -p ssl -p basic \
  • NoteRuns commands with sudoSKILL.md:919
    sudo security add-trusted-cert -d -p ssl -p basic \
  • NoteRuns commands with sudoSKILL.md:924
    sudo security delete-certificate -c mitmproxy /Library/Keychains/System.keychain
  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Edit, AskUserQuestion

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 3,475 words (~9,620 tokens).

“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:”

— opening of SKILL.md by alexfazio, Custom licence
name
cc-trace
allowed-tools
Bash, Read, Write, Edit, AskUserQuestion

Read the full SKILL.md on GitHub

Files

SKILL.md and 12 other files (scripts) in the repository root of alexfazio/cc-trace.

  • SKILL.md
  • LICENSE.txt
  • reference/advanced-features-security.md
  • reference/setup-installation-certificate.md
  • reference/setup-shell-configuration.md
  • reference/usage-cli-interface.md
  • reference/usage-programmatic-access.md
  • reference/usage-web-interface.md
  • reference/workflow-daily-tips.md
  • scripts/extract-slash-commands.py
  • scripts/parse-streamed-response.ts
  • scripts/show-last-prompt.sh
  • scripts/verify-setup.sh

Open the folder on GitHubat commit 859a179

Compare with similar skills

Cc Trace next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cc Trace compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cc Trace this skillalexfazio/cc-trace162—~9.6kAutomated safety check: NotesCustom licence
Trellis Session Insightmindfold-ai/Trellis15k4 repos~1.7kAutomated safety check: PassAGPL-3.0
Native Data FetchingCherryHQ/cherry-studio-app4k6 repos~2.9kAutomated safety check: NotesMIT
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence
Aoti Debugpytorch/pytorch104k1 repos~1.7kAutomated safety check: PassCustom licence
Herdr Throwaway Reproductionherdrdev/herdr43k—~2.4kAutomated safety check: PassApache-2.0

Similar skills

  • Trellis Session Insight

    mindfold-ai/Trellis

    Reach into past AI conversation history through the trellis mem CLI.

    15k GitHub starsUsed in 4 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Native Data Fetching

    CherryHQ/cherry-studio-app

    A skill your agent uses when implementing or debugging ANY network request, API call, or data fetching.

    4k GitHub starsUsed in 6 repos~2.9k tokens
    DevelopmentAuto-check: notes
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Aoti Debug

    pytorch/pytorch

    Debug AOTInductor (AOTI) errors and crashes. An agent skill from pytorch/pytorch.

    104k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed
  • Runs a disposable, uniquely named Herdr session inside an existing one so runtime, pane, terminal or API bugs can be reproduced without touching the main session.

    43k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Systematic Debugging

    ultralisp/ultralisp

    A skill your agent uses when encountering any bug, test failure, or unexpected behavior, before proposing fixes

    258 GitHub starsUsed in 51 repos~2.4k tokens
    DevelopmentAuto-check passed

Categories

Questions about Cc Trace

What does Cc Trace do?

Interactive assistant for intercepting, debugging, analyzing and reviewing Claude Code API requests using mitmproxy. Cc Trace is an agent skill from alexfazio/cc-trace. Interactive assistant for intercepting, debugging, analyzing and reviewing Claude Code API requests using mitmproxy.

When should I use Cc Trace?

Cc Trace fits situations like: tasks that involve Debugging.

How do I install Cc Trace in Claude Code?

Run `npx skills add alexfazio/cc-trace --skill cc-trace -a claude-code`. Or copy the skill folder (the alexfazio/cc-trace repository) into .claude/skills/cc-trace in your project. Claude Code loads it when a task matches its description.

How do I install Cc Trace in Codex?

Run `npx skills add alexfazio/cc-trace --skill cc-trace -a codex`. Or copy the skill folder (the alexfazio/cc-trace repository) into .agents/skills/cc-trace in your project. Codex loads it when a task matches its description.

Can I use Cc Trace in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alexfazio/cc-trace --skill cc-trace -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cc-trace, .gemini/skills/cc-trace, .github/skills/cc-trace and .opencode/skills/cc-trace in your project.

What does Cc Trace need to run?

Going by SKILL.md and its folder, Cc Trace needs a shell, Python and TypeScript for the scripts in its folder and the command-line tools its instructions call (brew, bash, npx, curl, claude and jq). Our summary lists: Python 3; Node.js; A Bash shell. Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, AskUserQuestion.

Does Cc Trace access the network?

SKILL.md names 4 domains. As links in the text: docs.mitmproxy.org, github.com, discord.gg and mitmproxy.org. This is read from the text; nothing was executed.

Is Cc Trace safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo; pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Cc Trace use?

Cc Trace has a licence file (from the LICENSE file in the skill folder) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Cc Trace use?

About 9.6k tokens (SKILL.md is roughly 38k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cc Trace?

Skills that share tags, products or a category with Cc Trace: Trellis Session Insight (mindfold-ai/Trellis, 15k stars), Native Data Fetching (CherryHQ/cherry-studio-app, 4k stars), Debugging Executions (n8n-io/n8n, 207k stars) and Aoti Debug (pytorch/pytorch, 104k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cc Trace?

alexfazio (a GitHub user) maintains it in alexfazio/cc-trace, which has 162 GitHub stars. The repository was last updated on November 8, 2025.

Source: alexfazio/cc-trace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.