ai-agent

Debug AI Agents with claude-tap

Intercept and inspect Coding Agent API traffic for founders using Claude Code, Codex, and more, with 1.2k+ GitHub stars.

From the repo ยท โ€œIntercept and inspect Coding Agent API traffic from Claude Code, Codex CLI, Gemini CLI, Cursor CLI, OpenCode, Kimi, Pi, and Hermes in a local trace viewer.โ€

intermediateโฑ 30 minutes๐Ÿ’ต Free
3,375 stars+18โ˜… this week296 forksPythonGuide quality 8/10 ยท reviewed Jun 6Updated 11/29/2026100% free ยท open source
What it is

Inspect API traffic for Coding Agent tools to spot errors and improve performance.

Real use case example

"A founder uses Claude-tap to debug an issue with their Codex CLI integration. They set up a local trace viewer, intercept the API traffic, and identify the problem in just a few steps. With this insight, they fix the integration, reducing customer support requests and improving overall user satisfaction."

Best insideClaude CodeCodex CLI
When to use it
  • โ€ขWhen debugging AI-driven coding issues
  • โ€ขWhen optimizing API traffic for better performance
  • โ€ขWhen monitoring coding agent interactions
Ready-to-paste prompt
python -m claude_tap --agent claude_code --port 8080
Saves to your device
Use with Claude
New

Skip the builder โ€” one click puts this in Claude, Cursor, Antigravity and more.

๐Ÿ› ๏ธ Technical setup

Expect 20โ€“40 minutes in a terminal โ€” or let your AI agent drive it.

Try it instantly โ€” no install
Claude Code
mkdir -p ~/.claude/skills/claude-tap && curl -fsSL https://workflowstacks.com/api/skills/claude-tap/claude-skill -o ~/.claude/skills/claude-tap/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go โ€” no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Debug AI Agents with claude-tap works
Codeflow
Free to inspect

Debug AI Agents with claude-tap is a large Python project (~32k lines across 67 code files, plus 77 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit this month, MIT license, has a test suite.

Size
Large codebase
~32k lines ยท 67 code files ยท ~4 h to skim
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
Python
No API keys detected
Python 84%JavaScript 10%HTML 3%CSS 2%Shell 1%
Where to start reading
  1. 1
    README.md
    Start here โ€” what it does and how to install it
  2. 2
    AGENTS.md
    The instructions the AI actually follows
  3. 3
    claude_tap/cli.py
    Where the program starts running
  4. 4
    pyproject.toml
    Dependencies and the commands it exposes
  5. 5
    claude_tap/__init__.py
    Inside claude_tap/ โ€” the main logic begins here
What's in each folder
claude_tap/Core code โ€” the actual logic52 files
docs/Documentation29 files
scripts/Helper scripts17 files
.agents/Tool / agent settings418 files
tests/Tests โ€” proof it works80 files
.github/CI / automation (GitHub Actions)17 files
.claude/Editor / agent settings2 files
.githooks/Tool / agent settings1 files
READMEHas testsDocumentedCI checksMIT licenseUpdated this month
Quick Actions
Details
Creator
liaohch3
Language
Python
Category
ai-agent
Published
2/15/2026

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/claude-tap.svg)](https://workflowstacks.com/skills/claude-tap?utm_source=github&utm_medium=badge)
๐Ÿ”ฅ Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work โ€” importable n8n templates, outcome guides and Claude Desktop configs.