FramY2

Agent Wire Tap — AI skill for Claude Code

AI community

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`)

GitHub Stars CI Zero Dependencies Zero API Cost License: MIT

**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