Wirescope — Development skill for Claude Code
A transparent analytical proxy for the Claude Code & Codex CLIs — see the real per-turn cost, prompt-cache warmth, and refusals on the wire, and keep caches warm.
How to install Wirescope
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open avirtual/wirescope and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Wirescope does
A transparent analytical proxy for the Claude Code & Codex CLIs — see the real per-turn cost, prompt-cache warmth, and refusals on the wire, and keep caches warm.
Alternatives in Development
- System Cache Cleanup — Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k ★
- 10 Context And Prompts — Prompt 10: Wire Up System Prompt, Context Gathering & Memory System 2.3k ★
- Opik Openclaw — 🦞 Official plugin for OpenClaw that exports agent traces to Opik 725 ★
README
wirescope
**A transparent, analytical forward-proxy for the Claude Code and Codex CLIs — that can also reshape the wire.** It sits between your agent CLI and the model backend, observing what only the wire can see (the real per-turn bill, prompt-cache warmth, refusals, the assistant's text as it streams) and, when you ask it to, **trimming the context the CLI sends** — stripping `CLAUDE.md` from a subagent, cutting a bloated tool roster, keeping a session's cache warm. Point a CLI at it with one environment variable. Observation is automatic and invisible; the wire-reshaping is deterministic and flag-gated — a few cache-coherent transforms run by default, the `[wirescope:…]` directive shaping is opt-in, and `WIRESCOPE_PASSTHROUGH=1` turns all of it off for a byte-faithful forward.
claude / codex CLI ──► wirescope (localhost) ──► api.anthropic.com
│ chatgpt backend
├─ prices every turn (the real bill)
├─ tracks prompt-cache warmth + keeps it warm
├─ surfaces refusals the CLI hides
├─ streams text + receipts to subscribers
└─ reshapes the request on opt-in directives
Why it exists — the thesis
**Cost is context carriage, not "the model thinking."** In one measured 18-turn trivial session, context *carriage* cost \$2.72 while the generated output cost \$0.07 — a **38×** ratio. A single "2+2" turn shipped 31 tools (~23k tokens) and used none of them. "It's cached, so it's cheap" is backwards: the right baseline for junk context is **zero**, and caching still bills ~10% of it every turn while it occupies bandwidth and the context window.
wirescope was built first to **find and price that waste** — and then to **act on it on the wire**, in the one place a CLI's own knobs can't reach: a *subagent's* context. Native `--tools` and `omitClaudeMd` onl
Related Skills
Cache Tax
Keep Claude Code’s prompt cache warm during breaks and show the estimated cost before a cold send.
Tcr
Run Claude Code across multiple Claude accounts. A local Rust proxy that sends each request to the account wit
Claude Code Coffee
Keep your Claude Code prompt cache warm during breaks. Saves up to 92% on cache rebuild costs.
Cc Cache Keepalive
Keep the most recently used Claude Code prompt cache warm without polluting the original session.
Claude Prompt Cache Keepalive
Agent skill for Claude Code: keep the 1-hour prompt cache warm while you are away, with a ladder of background
Lsp Det
Transparent LSP proxy that removes language servers' silent lies (empty answers from an unfinished index, succ
Related Agents
Dr Wrapper Correctness
Deep-review finder angle. Audits every wrapper, adapter, proxy, shim, facade and projection the diff introduce
Worker Apply Opus
Resumable implementation worker for non-SDD work units. Applies multi-file changes from a handoff, absorbs fol
Follow Up Agent
Use to keep warm conversations from going cold: stalled threads after an accept or a maybe, people who asked t