yorishiro-proxy: Instructions file for Claude Code

CLAUDE.md

yorishiro-proxy CLAUDE.md is an instructions file for Claude Code from usk6666/yorishiro-proxy. It costs 11,750 tokens per session, scanned A, original, Apache-2.0.

Instructions for a network proxy that lets an AI agent intercept, record, inspect, modify, and replay network traffic. It supports both structured protocol data, such as URLs and headers, and the original raw bytes.

In plain words
What is it for?
Use it to build or test traffic interception, protocol analysis, request recording, replay, anomaly reproduction, and support for application- and transport-level protocols.
Why use it?
Network problems and security issues are difficult to reproduce when only high-level requests are visible. Keeping both the interpreted request and the original bytes makes diagnosis and vulnerability testing more reliable.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions subagents; positional $N argument.

This is usk6666/yorishiro-proxy's own configuration. It tells Claude Code how to work on yorishiro-proxy 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 yorishiro-proxy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to usk6666/yorishiro-proxy. 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/usk6666/yorishiro-proxy/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/usk6666/yorishiro-proxy

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 yorishiro-proxy CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/usk6666/yorishiro-proxy/claude-md/github.svg)](https://agentmods.dev/instructions/usk6666/yorishiro-proxy/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/usk6666/yorishiro-proxy/claude-md"><img src="https://agentmods.dev/badge/instructions/usk6666/yorishiro-proxy/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 yorishiro-proxy CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/usk6666/yorishiro-proxy/claude-md"><img src="https://agentmods.dev/badge/instructions/usk6666/yorishiro-proxy/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11,750 This file is loaded in full into every session.
When invoked 11,750 The same file — it is already loaded in full.
Security scan A 1 finding. 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.11750 $0.11750
Opus 5.5 $0.04700 $0.04700
Sonnet 5.5 $0.02350 $0.02350
Haiku 4.5 $0.01175 $0.01175

Measured yesterday against content hash 393b2c97afac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

yorishiro-proxy CLAUDE.md scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Anything context-dependent belongs in no list.** `find`, `curl`, `gh api`, and
CLAUDE.md · 581 lines

How it starts

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

yorishiro-proxy

A network proxy tool for AI agents — a MITM proxy for AI. Operates as an MCP (Model Context Protocol) server, providing traffic interception, recording, and replay capabilities for vulnerability assessment.

Status: OSS (Apache License 2.0) · Under active development

Architecture

Design: RFC-001 Envelope + Layered Connection Model. Implementation strategy: docs/rfc/envelope-implementation.md.

Principle: L7-first, L4-capable

  1. The default operation interface is a structured L7 view — Prioritize AI agent token efficiency by representing communication as structured data: method, URL, headers, body, etc.
  2. Raw bytes recording, viewing, and modification must be possible for all protocols — As a diagnostic tool, protocol-level anomaly detection and reproduction must be supported (pure transport-layer protocols like SOCKS5 apply to the tunneled protocol)
  3. L7 parsing is an overlay on top of raw bytes; the wire-observed raw bytes snapshot itself must not be destroyed or modified — Recorded raw bytes always reflect the original wire data; modifications must always be treated as separate derived data (e.g., modified variant)

Pipeline

TCP Listener (Layer 4)
  → Protocol Detection (peek bytes / ALPN)
    → Connection Stack (TCP → TLS → HTTP/1 | HTTP/2 → WS | gRPC | gRPC-Web | SSE | Raw)
      → Pipeline Steps
          (HostScope → HTTPScope → Safety → PluginPre → Intercept → Transform → PluginPost → Record [→ UpgradeStep])
        → Flow Recording (L7 Message + L4 Envelope.Raw)
          → MCP Tool (Intercept / Replay / Search / Plugin Introspect)

Each connection is an explicit stack of Layers (RFC-001 §3.3); each Layer yields one or more Channels; the Pipeline runs on Envelopes drawn from those Channels. The data model is:

  • Envelope — protocol-agnostic outer container with identity (StreamID/FlowID/Sequence/Direction), provenance (Protocol), wire fidelity (Raw bytes), and a typed Message.
  • Message — protocol-specific payload (HTTPMessage, WSMessage, GRPCStartMessage/GRPCDataMessage/GRPCEndMessage, SSEMessage, RawMessage, TLSHandshakeMessage).

Read the full file on GitHub · 581 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. yesterday Changed · +1 lines · +17 tokens per session 393b2c97afac
  2. 2d ago Changed · +5 lines · +336 tokens per session d789877b2ca6
  3. 3d ago Changed · +24 lines · +528 tokens per session d995728b3526
  4. 8d ago Changed · +7 lines · +245 tokens per session bd2e8c67914c
  5. 13d ago Changed · +17 lines · +293 tokens per session 916ec8faa7ba
  6. 1mo ago Changed · +20 lines · +555 tokens per session bfdd056bd63c
  7. 1mo ago Changed · +37 lines · +827 tokens per session fb1908de01e1
  8. 1mo ago Changed · +73 tokens per session a612b0fa5127
  9. 1mo ago Changed · +64 lines · +1,332 tokens per session 9bc628c0b823
  10. 1mo ago First seen · 406 lines · 7,544 tokens per session scan A 34f8204ea076

Subscribe to this mod's changes

yorishiro-proxy CLAUDE.md is an instructions file published in the GitHub repository usk6666/yorishiro-proxy (19 stars, last pushed yesterday), licensed Apache-2.0. It adds 11,750 tokens to every session, about $0.0470 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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