api-mitmproxy

An interactive proxy for inspecting HTTPS and other network traffic between an API client and server. It can intercept, change, and replay requests, including traffic protected by TLS.

In plain words
What is it for?
Analyzing and modifying HTTP/1, HTTP/2, HTTP/3, WebSocket, and TLS traffic, with console, web, and command-line interfaces plus Python scripting for automation.
Why use it?
It lets developers examine what an API actually sends and receives, including cases that are hard to understand from code alone. Replaying modified traffic helps test how the API handles it.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/agentsecops/secopsagentkit/api-mitmproxy
Any agent
npx skills add AgentSecOps/SecOpsAgentKit --skill api-mitmproxy
Clone the repo
git clone --depth 1 https://github.com/AgentSecOps/SecOpsAgentKit

Made for: Claude Code, Codex.

Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,529 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin unknown 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 $0.00142 $0.03529
Opus 5 $0.00071 $0.01765
Sonnet 5 $0.00028 $0.00706
Haiku 4.5 $0.00014 $0.00353

Measured yesterday against content hash ea21648bbd84, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

api-mitmproxy scanned grade B 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf ~/.mitmproxy/

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/appsec/api-mitmproxy/SKILL.md · 485 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 First seen · 485 lines · 142 tokens per session scan B ea21648bbd84

Subscribe to this mod's changes

api-mitmproxy is a skill published in the GitHub repository AgentSecOps/SecOpsAgentKit (201 stars, last pushed 4mo ago), with no licence file. It adds 142 tokens to every session and 3,529 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

cis-aws-foundations-3.1.1

Ensure S3 Bucket Policy is set to deny HTTP requests.

CyberStrikeus/CyberStrike · 23 tokens

agent-security

Reviews AI agent architectures for security risks including permission model design, least-privilege enforcement, human-in-the-loop gate placement, blast radius containment, audit trail completeness, rollback capability, and multi-agent trust boundaries. Auto-invoked when reviewing agentic AI systems where LLMs invoke…

UnitOneAI/SecuritySkills · 99 tokens

agentic-top-10

Reviews agentic AI systems against the OWASP Top 10 security risks for autonomous AI agents. Auto-invoked when reviewing multi-agent architectures, AI agent deployments, or systems where LLMs have tool access and act autonomously. Covers permission models, tool security, memory integrity, trust boundaries, and human…

UnitOneAI/SecuritySkills · 82 tokens

caddy-serve

Automatic HTTPS web server with Caddy.

bidewio/better-openclaw · 12 tokens

analyzing-network-traffic-for-incidents

Analyzes network traffic captures and flow data to identify adversary activity during security incidents, including command-and-control communications, lateral movement, data exfiltration, and exploitation attempts. Uses Wireshark, Zeek, and NetFlow analysis techniques. Activates for requests involving network traffic…

Mikaru0Mystic/sectinel · 91 tokens

analyzing-network-packets-with-scapy

Craft, send, sniff, and dissect network packets using Scapy for protocol analysis, network reconnaissance, and traffic anomaly detection in authorized security testing.

Mikaru0Mystic/sectinel · 39 tokens