Skip to content
Skills Library
AI & agents · Analysis

snitch

/snitch

Inspect the exact bytes an LLM agent or SDK sends upstream — the full system prompt, every tool schema, and all messages — via a local transparent proxy with a live web UI. Use when debugging why an agent misbehaves, auditing hidden or injected prompt/tools, checking how much context a framework actually sends, or verifying the real request behind an SDK call.

Licence
MIT
Last repository change
26.06.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
7
Scripts
2
HTML comments
0
URLs in SKILL.md
3
Deprecation

No signals detected. Repository changed on 26.06.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: snitch.py, test_snitch.py

What it does and when to use it

Inspect the exact bytes an LLM agent or SDK sends upstream — the full system prompt, every tool schema, and all messages — via a local transparent proxy with a live web UI. Use when debugging why an agent misbehaves, auditing hidden or injected prompt/tools, checking how much context a framework actually sends, or verifying the real request behind an SDK call.

Original author description

Inspect the exact bytes an LLM agent or SDK sends upstream — the full system prompt, every tool schema, and all messages — via a local transparent proxy with a live web UI. Use when debugging why an agent misbehaves, auditing hidden or injected prompt/tools, checking how much context a framework actually sends, or verifying the real request behind an SDK call.

How it works

  1. When to use
  2. How to run it
  3. Output
Original SKILL.md headings · 50 lines, 285 words
SKILL.md preview
---
name: snitch
description: Inspect the exact bytes an LLM agent or SDK sends upstream — the full system prompt, every tool schema, and all messages — via a local transparent proxy with a live web UI. Use when debugging why an agent misbehaves, auditing hidden or injected prompt/tools, checking how much context a framework actually sends, or verifying the real request behind an SDK call.
---

# snitch

**see what your agent actually said behind your back.**

snitch is a transparent proxy that logs the exact request your code sends to an
LLM API, then forwards it unchanged. Use it to reveal the system prompt, tool
schemas, and injected context a framework hides.

## When to use

- "Why is my agent doing X?" → see the actual prompt/tools it was sent.
- "Is something injecting instructions/tools?" → audit the raw request.
- "How many tokens of system prompt / tools is this framework adding?"
- "What does the SDK actually send for this call?"

## How to run it

If installed on the `PATH` (via `just install snitch`):

```bash
snitch --port 8787            # starts proxy + web UI on http://localhost:8788
```

Otherwise run it from the bag-of-tricks repo: `python3 snitch/snitch.py`.

Then point the client at the proxy and run the agent normally:

```bash
export ANTHROPIC_BASE_URL=http://localhost:8787   # or OPENAI_BASE_URL, etc.
```

- Console prints each request live; the **web UI** (`http://localhost:8788`)
  lets you scroll back, expand, and filter captured requests.
- `--upstream URL` forwards to another provider; `--log FILE` appends each
  request as JSON; `--quiet` silences the console (UI + log still capture);
  `--no-ui` disables the web UI.

It captures the **request** in full and records the response status (it doesn't
buffer response bodies). It binds to `127.0.0.1` only — a local debug tool.

## Output

If you run snitch or report what it captured, deliver the captured request
plainly — don't narrate the proxy mechanics or wrap the bytes in analysis the
user didn't ask for, and point them at the web UI for the rest. No preamble, no
closing summary.

See `README.md` in this folder for the full reference.
Files in this package (7)
  • README.md 6 KB
  • SKILL.md 2 KB
  • logo.png 20 KB
  • snitch.py 27 KB
  • test_snitch.py 6 KB
  • .claude-plugin/plugin.json 1 KB
  • bin/snitch 1 KB

Versions

The database has no other skills named snitch.

Database snapshot: 13.11.2026 · package version 6f98dc0a0e29 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95auditing-agentic-systems
    Audits an agent, tool loop, or inference request across six dimensions (prompt engineering, tools definition, context engineering, cache usage, evaluation, guardrails) and produces a scored gap analysis with severity ratings and concrete remediations. Framework-agnostic;…
  • 100agent-tools
    Designs and reviews the tools an LLM agent calls: tool/function definitions, JSON schemas, MCP servers, naming, consolidation, descriptions, error messages, response size, tool search, write-tool confirmation. Use when writing tool definitions, building or wrapping an MCP…
  • 95output-dev-prompt-file
    Create .prompt files for LLM operations in Output SDK workflows. Use when designing prompts, configuring LLM providers, or using Liquid.js templating.
  • 90prompt-engineering
    Create, update, review, or discuss an LLM prompt — a system prompt, a skill, or an agent. Use when writing or improving a prompt, discussing a skill or agent, diagnosing prompt failures, or when the user says a prompt needs work.
  • 95distil-setup
    Install distil and route an AI coding agent or SDK app through it to cut LLM token costs with certified, reversible context compression. Use when the user wants to set up distil, install distil-llm, reduce their agent/Claude Code/Codex/Gemini token spend, point a base_url at the…
  • 100agent-sdk-quickstart
    Build a first agent with the Claude Agent SDK (TypeScript or Python): install, run query(), read result messages, restrict tools and permissions, add custom tools through an in-process MCP server, and guard tool calls with hooks. Also explains when to pick the Agent SDK, the…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.