CodingAgentExplorer: Instructions file for Claude Code

CLAUDE.md

CodingAgentExplorer CLAUDE.md is an instructions file for Claude Code from tndata/CodingAgentExplorer. It costs 1,131 tokens per session, scanned A, original, MIT.

A local reverse proxy and dashboard for AI coding agents such as Claude Code. It forwards requests to language-model and MCP services, records their traffic including streamed responses, and shows activity in a web dashboard.

In plain words
What is it for?
Use it to route Claude Code or MCP traffic through local ports, monitor it in the dashboard, build or run the .NET application, and publish platform-specific files.
Why use it?
It provides a central local view of requests and responses passing between the coding agent and its services. This can help developers inspect agent activity while developing or troubleshooting.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code.

This is tndata/CodingAgentExplorer's own configuration. It tells Claude Code how to work on CodingAgentExplorer itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CodingAgentExplorer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tndata/CodingAgentExplorer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tndata/CodingAgentExplorer/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/tndata/CodingAgentExplorer

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for CodingAgentExplorer CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tndata/codingagentexplorer/claude-md/github.svg)](https://agentmods.dev/instructions/tndata/codingagentexplorer/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/tndata/codingagentexplorer/claude-md"><img src="https://agentmods.dev/badge/instructions/tndata/codingagentexplorer/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for CodingAgentExplorer CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tndata/codingagentexplorer/claude-md"><img src="https://agentmods.dev/badge/instructions/tndata/codingagentexplorer/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,131 This file is loaded in full into every session.
When invoked 1,131 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01131 $0.01131
Opus 5.5 $0.00452 $0.00452
Sonnet 5.5 $0.00226 $0.00226
Haiku 4.5 $0.00113 $0.00113

Measured 1mo ago against content hash 612af6530134, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

CodingAgentExplorer CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CodingAgentExplorer

ASP.NET Core reverse proxy using YARP that sits between AI coding agents (such as Claude Code) and their LLM API endpoints. Captures all API traffic including streaming SSE responses and exposes a real-time web dashboard via SignalR.

Architecture

  • Port 8888 (localhost): YARP reverse proxy forwarding to LLM API (HTTP)
  • Port 9999 (localhost): YARP reverse proxy forwarding to MCP server (HTTP), destination configured at runtime
  • Port 5000 (localhost): Dashboard (HTTP)
  • Port 5001 (localhost): Dashboard (HTTPS, auto-launches browser)
  • Single project, single NuGet dependency (Yarp.ReverseProxy)

Build & Run

dotnet build
dotnet run

Publish

Windows:

publish.bat

macOS / Linux:

bash publish.sh

Each script builds both projects for the current platform. Outputs to Published/ (gitignored):

  • Published\CodingAgentExplorer\ - framework-dependent, requires .NET 10 runtime
  • Published\HookAgent\HookAgent.exe - single-file, current platform (Windows: win-x64; macOS/Linux: detected at build time)

Usage with Claude Code

Set the API base URL to point at the proxy:

export ANTHROPIC_BASE_URL=http://localhost:8888

Then use Claude Code normally. All requests flow through the proxy and appear on the dashboard at https://localhost:5001.

MCP Observer

The MCP Observer proxies traffic between Claude Code and any MCP server on port 9999. The destination URL is configured at runtime via the dashboard at https://localhost:5001/mcp/index.html.

Register the proxy as an MCP server in Claude Code:

claude mcp add --transport http mcp_proxy http://localhost:9999

The destination URL is stored in McpProxyConfig (singleton) and triggers a YARP config reload via IChangeToken when updated. SSE keep-alive GET requests to / with no body are silently dropped and not stored.

Project Structure

  • Program.cs - App setup: YARP, SignalR, dual-port Kestrel, API endpoints
  • Models/ - DTOs: ProxiedRequest, ClaudeRequestBody, SseEvent, HookEvent, McpDestinationRequest
  • Services/RequestStore.cs - In-memory circular buffer (ConcurrentQueue, max 1000)
  • Services/HookEventStore.cs - In-memory store for hook events
  • Services/McpRequestStore.cs - In-memory store for MCP requests (max 500)
  • Services/McpProxyConfig.cs - Holds the runtime MCP destination URL, signals YARP on change
  • Proxy/CaptureTransformProvider.cs - YARP ITransformProvider for request/response capture
  • Proxy/DynamicProxyConfigProvider.cs - Dynamic YARP config for Claude (8888) and MCP (9999) routes
  • Hubs/DashboardHub.cs - SignalR hub for real-time dashboard updates
  • wwwroot/ - Dashboard SPA (vanilla HTML/JS/CSS + SignalR client)
  • wwwroot/mcp/ - MCP Observer page
  • HookAgent/ - Single-file CLI tool used as a Claude Code hook command
  • publish.bat - Publishes both projects to Published/ (Windows, win-x64 HookAgent)
  • publish.sh - Publishes both projects to Published/ (detects current platform for HookAgent)

Read the full file on GitHub · 94 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 94 lines · 1,131 tokens per session scan A 612af6530134

Subscribe to this mod's changes

CodingAgentExplorer CLAUDE.md is an instructions file published in the GitHub repository tndata/CodingAgentExplorer (52 stars, last pushed 3d ago), licensed MIT. It adds 1,131 tokens to every session, about $0.0045 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories