by liaohch3
Intercept and inspect Coding Agent API traffic from Claude Code, Codex CLI, Gemini CLI, Cursor CLI, OpenCode, Kimi/Kimi Code, Pi, and Hermes in a local trace viewer.
# Add to your Claude Code skills
git clone https://github.com/liaohch3/claude-tapLast scanned: 5/18/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-18T08:03:42.990Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}See how claude-tap compares with popular alternatives.
claude-tap is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by liaohch3. Intercept and inspect Coding Agent API traffic from Claude Code, Codex CLI, Gemini CLI, Cursor CLI, OpenCode, Kimi/Kimi Code, Pi, and Hermes in a local trace viewer. It has 3,202 GitHub stars.
Yes. claude-tap passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/liaohch3/claude-tap" and add it to your Claude Code skills directory (see the Installation section above).
claude-tap is primarily written in Python. It is open-source under liaohch3 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-tap against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
claude-tap is a local proxy and trace viewer for AI coding agents. Run your CLI through it, or listen to local app transcripts, then inspect the real API traffic and agent context: system prompts, conversation history, tool schemas, tool calls, streaming responses, token usage, and request diffs.
Website: Local AI Agent Trace Viewer · Guide: How to view agent traces locally
It works with Claude Code, Codex CLI, Codex App, Gemini CLI, Grok Build CLI, Kimi CLI, MiMo Code, OpenCode, OpenClaw, Pi, Hermes Agent, Cursor CLI, Qoder CLI, Antigravity CLI, and CodeBuddy CLI.
| Client | Typical use |
|---|---|
| Claude Code | Anthropic API, AWS Bedrock, Claude-compatible gateways such as DeepSeek / GLM, or local proxy upstreams such as CC Switch |
| Codex CLI | OpenAI API key mode or ChatGPT subscription OAuth |
| Codex App | Desktop app launched through forward proxy mode so backend HTTP/WebSocket request bodies are captured |
| Gemini CLI | Google OAuth / Code Assist traffic |
| Grok Build CLI | Grok subscription OAuth sessions through the official CLI chat proxy |
| DeepSeek Harness | dsh headless tasks and custom profiles using DeepSeek or compatible gateways |
| Kimi CLI | Legacy kimi-cli and the newer Kimi Code CLI |
| MiMo Code | MiMo Code sessions (OpenCode fork with multi-provider support) |
| OpenCode | Multi-provider OpenCode sessions |
| OpenClaw | Multi-provider OpenClaw sessions |
| Pi | Pi sessions, including OpenAI Codex OAuth providers |
| Hermes Agent | Multi-provider Hermes TUI or gateway sessions |
| Cursor CLI / IDE Agent | Launch cursor-agent + live transcript watch (claude-tap --tap-client cursor) |
| Qoder CLI | Qoder Agent sessions through forward proxy mode |
| Antigravity CLI | Antigravity Agent sessions through forward proxy mode |
| CodeBuddy CLI | Tencent CodeBuddy SaaS or internal Copilot endpoint |
Requires Python 3.11+ and the client you want to trace.
# Recommended
uv tool install claude-tap
# Or with pip
pip install claude-tap
Upgrade: claude-tap update, uv tool upgrade claude-tap, or pip install --upgrade claude-tap
Run the client you want to inspect through claude-tap. Flags after -- are passed to the selected client.
# Claude Code with the live browser viewer enabled by default
claude-tap
# Restore pre-v0.1.75 behavior: no live viewer server
claude-tap --tap-no-live
# Codex CLI
claude-tap --tap-client codex
# Codex App backend request capture
claude-tap --tap-client codexapp
# Gemini CLI
claude-tap --tap-client gemini -- -p "hello"
# Grok Build CLI
claude-tap --tap-client grok -- -p "hello"
# DeepSeek Harness headless task
claude-tap --tap-client dsh -- --profile headless "Reply OK"
# Kimi CLI
claude-tap --tap-client kimi
# New Kimi Code CLI
claude-tap --tap-client kimi-code
# MiMo Code (OpenCode fork)
claude-tap --tap-client mimo
# Pi
claude-tap --tap-client pi -- --model openai-codex/gpt-5.3-codex-spark -p "hello"
# Cursor: launch cursor-agent + live transcript watch + dashboard
claude-tap --tap-client cursor
# Watch IDE Agent transcripts only (no CLI launch)
claude-tap --tap-client cursor --tap-no-launch
# Qoder CLI
claude-tap --tap-client qoder -- -p "hello" --permission-mode dont_ask
# Antigravity CLI
claude-tap --tap-client agy
# CodeBuddy CLI
claude-tap --tap-client codebuddy
# Pass flags through to Claude Code
claude-tap -- --model claude-opus-4-6
claude-tap -c # continue last conversation
# Skip all permission prompts (auto-accept tool calls)
claude-tap -- --dangerously-skip-permissions
# Live viewer is on by default; pass Claude flags after --
claude-tap -- --dangerously-skip-permissions --model claude-sonnet-4-6
claude-tap auto-detects custom Claude Code upstreams from ANTHROPIC_BASE_URL,
ANTHROPIC_BEDROCK_BASE_URL, or ANTHROPIC_VERTEX_BASE_URL in your environment
or Claude settings. Use --tap-target only when you want to override that
detected target.
Local proxy upstreams are supported too: if a tool such as CC Switch points Claude Code at a local ANTHROPIC_BASE_URL, claude-tap detects that value from Claude settings and records the traffic before forwarding it upstream. Use claude-tap in place of claude, such as claude-tap -- <claude-args>; no separate --tap-client value is needed.
For the Claude Code VS Code extension, set Claude Code: Claude Process Wrapper to claude-tap; on Windows, use the full claude-tap.exe path if VS Code cannot find it.
Full English guide: Claude Code with DeepSeek API. Simplified Chinese version: Claude Code 搭配 DeepSeek API.
export ANTHROPIC_AUTH_TOKEN="<your DeepSeek API key>"
unset ANTHROPIC_API_KEY
export ANTHROPIC_MODEL="deepseek-v4-pro[1m]"
export ANTHROPIC_DEFAULT_OPUS_MODEL="deepseek-v4-pro[1m]"
export ANTHROPIC_DEFAULT_SONNET_MODEL="deepseek-v4-pro[1m]"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="deepseek-v4-flash"
export CLAUDE_CODE_SUBAGENT_MODEL="deepseek-v4-flash"
export CLAUDE_CODE_EFFORT_LEVEL=max
export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic
claude-tap -- --permission-mode bypassPermissions
claude-tap reads the DeepSeek upstream from ANTHROPIC_BASE_URL, then launches Cla