Agent Wire Tap — AI skill for Claude Code
Zero-cost local loopback HTTP wire interceptor & CI context contract tester for Claude Code, OpenAI Codex CLI, and custom AI agents.
How to install Agent Wire Tap
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open FramY2/agent-wire-tap and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Wire Tap does
Zero-cost local loopback HTTP wire interceptor & CI context contract tester for Claude Code, OpenAI Codex CLI, and custom AI agents.
Alternatives in AI
- Zen MCP Server — The power of Claude Code + Gemini / OpenAI / Grok / OpenRouter / Ollama / Custom Model working as one 11.3k ★
- Ovo Local LLM — A private Claude-Code-style coding agent for Apple Silicon — run chat, code, and local model workflows on-devi 105 ★
- Claude Code Status Line — A custom status line script for Claude Code that displays context window usage, git status, and model informat 52 ★
README
agent-wire-tap (`@framy2/agent-wire-tap`)
**Zero-cost local loopback HTTP interceptor & CI context contract tester** for **Claude Code**, **OpenAI Codex CLI**, and custom coding agents.
Starts an ephemeral local loopback server (`127.0.0.1:0` injected via `OPENAI_BASE_URL` and `ANTHROPIC_BASE_URL`), runs your coding agent for a single turn, captures the exact outbound wire payload (`instructions` / `system`, `AGENTS.md` / `CLAUDE.md` markers, `tools[]` schema count & byte footprint), returns a synthetic completion with **$0.00 API cost**, and verifies your CI context assertions.
Companion wire verifier to **[`FramY2/ctxwise`](https://github.com/FramY2/ctxwise)** (`@framy2/ctxwise`) and **[`FramY2/mcp-diet`](https://github.com/FramY2/mcp-diet)** (`@framy2/mcp-diet`).
⚡ Quickstart
# Verify in CI that Codex loads AGENTS.md, stays under 32 KiB wire payload, and exposes <= 12 tools:
npx @framy2/agent-wire-tap \
--assert-contains "AGENTS.md" \
--assert-not-contains "sk-ant-" \
--assert-max-bytes 32768 \
--assert-max-tools 12 \
-- codex exec "ping"
🛠️ CLI Options
Usage:
agent-wire-tap [options] -- [agent-args...]
Options:
--assert-contains Assert outbound wire payload contains marker (repeatable)
--assert-not-contains
Related Skills
Aigateway
Protocol-faithful, multi-provider AI gateway for OpenAI, Anthropic, Gemini, and OpenAI-compatible APIs — nativ
AI Usage Inspector
Records every AI coding-agent prompt — tokens, model, context %, and cost — from Claude Code, Codex, Cursor, O
Retok
Token-efficiency analyzer for AI coding agents (Claude Code, OpenAI Codex CLI): cost estimates, cache analysis
LLM Tally
Estimate tokens and API cost for OpenAI, Anthropic Claude and Google Gemini models. Zero dependencies, typed,
Token Trace Kit
Tap-to-token tracing for hybrid on-device + Claude AI features in Swift 6: W3C propagation, device-side tail s
Capability Router
Zero-context-cost capability router for AI agents. Resolves slash commands, applies pinned rules, and learns r
Related Agents
Independent Reviewer
Product-technical alignment reviewer. Spawned in a tmux pane via OpenAI Codex CLI with zero inherited context.
Codex Debugger
Root-cause a failing test, crash, stack trace, or misbehaving feature by delegating the investigation to OpenA
Local AI Inference
Use for the AI provider contract, the local llama-server provider, the Codex CLI provider, prompts and JSON sc