# Trace coding agent API traffic locally with Claude Tap

> Run Claude Code, Codex CLI, Gemini CLI, Cursor CLI, OpenCode, and related coding agents through a local proxy so an operator can inspect prompts, tool calls, token usage, and request diffs.

- Skill: `agentskillexchange/trace-coding-agent-api-traffic-locally-with-claude-tap` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/trace-coding-agent-api-traffic-locally-with-claude-tap`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/trace-coding-agent-api-traffic-locally-with-claude-tap/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/trace-coding-agent-api-traffic-locally-with-claude-tap

---


# Trace coding agent API traffic locally with Claude Tap

Run Claude Code, Codex CLI, Gemini CLI, Cursor CLI, OpenCode, and related coding agents through a local proxy so an operator can inspect prompts, tool calls, token usage, and request diffs.

## Prerequisites

Python 3.11+, uv or pip, and at least one supported coding-agent CLI such as Claude Code, Codex CLI, Gemini CLI, Cursor CLI, OpenCode, or OpenClaw

## Installation

Install or set up from the source-backed instructions:

uv tool install claude-tap or pip install claude-tap

- Source: https://github.com/liaohch3/claude-tap

## Documentation

- https://github.com/liaohch3/claude-tap

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/trace-coding-agent-api-traffic-locally-with-claude-tap/)

