Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Whistle

$ w2 Community High Risk
avwo · Browser & Web · MIT · macos / linux / windows

Whistle (w2) is a Node.js web debugging proxy supporting HTTP, HTTPS, and WebSocket inspection, mock responses, and host/header rewriting (w2 start -p 8899). Provides non-interactive daemon lifecycle commands (w2 start, w2 stop, w2 status, w2 proxy), while traffic inspection and rules live primarily in its web UI.

FCRS-1.0 Score
73 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
npm install -g whistle
CLI vs MCP Decision CLI Only

Runs a local Node.js MITM HTTP/WebSocket proxy daemon (w2 start) and toggles OS system proxy settings (w2 proxy); MCP tools cannot intercept local browser HTTP traffic.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 16 / 25

Provides clean daemon management subcommands (w2 start, w2 stop, w2 status, w2 run), though captured traffic and rules are managed via its web UI rather than JSON CLI output.

  • Non-interactive w2 start/stop/status commands
  • No --json CLI inspection of captured HTTP requests
Trust & Safety 15 / 25

HTTPS interception requires trusting a local root CA (~/.WhistleAppData) and w2 proxy modifies OS-level system proxy settings.

  • MITM CA cert generation and OS proxy mutation via w2 proxy
Setup & Portability 13 / 15

Cross-platform npm package (npm install -g whistle) requiring Node.js.

  • Runs on macOS, Linux, and Windows via Node.js
Utility & Efficiency 13 / 15

Rich hosts-like rule DSL for mocking APIs, rewriting headers, throttling, and debugging WebSockets.

  • Rule-based HTTP/HTTPS/WebSocket interception and mocking
Maintenance & Lineage 8 / 10

Actively maintained community project (avwo/whistle) under MIT license.

  • Active avwo/whistle repository on GitHub
Docs & Verifiability 8 / 10

Detailed documentation at wproxy.org/whistle/ and built-in w2 --help.

  • Official docs at wproxy.org/whistle/

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Stores MITM root CA certificates, capture history, and rule sets under ~/.WhistleAppData; optional web UI auth via -n/-w flags.

Side Effects
Read-Only Local Write
Cost & Quotas

Free, MIT-licensed open-source Node.js package.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Whistle (w2) Agent Rules
- Prefer `w2 start -p <port>` with explicit `HTTP_PROXY` over `w2 proxy` so OS-wide network settings are not left broken if a run aborts.
- Always run `w2 stop` (and `w2 proxy off` if enabled) when debugging finishes.

Agent-Ready Command Recipes

Safe Read-Only Queries

Check running Whistle daemon status
w2 status

Reports whether a w2 proxy instance is currently running along with its PID and port.

Controlled Writes & Previews

Start Whistle proxy on a dedicated port
w2 start -p 8899

Starts the w2 background proxy daemon on port 8899 without altering OS-wide proxy settings.

Strengths for Agents

  • + Built-in daemon lifecycle (w2 start, w2 stop, w2 status) avoids manual background PID management.
  • + Concise rule syntax for host mapping, mocking, and header/body rewriting.

Caveats & Pitfalls

  • ! Captured request/response inspection is primarily web-UI driven without structured JSON CLI queries.
  • ! Enabling w2 proxy alters OS system proxy settings and leaves traffic broken if w2 stops unexpectedly.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI