merge-port-doctor

merge-port-doctor is an agent for Claude Code from anivaryam/anivaryam-plugins. It costs 79 tokens per session (725 once invoked), scanned A, original, MIT.

An Android traffic-interception command that examines an app’s HTTPS trust settings and chooses a method for bypassing certificate checks.

In plain words
What is it for?
Use it to inspect an APK, identify its certificate-validation method, and set up the matching interception approach.
Why use it?
It helps inspect network requests when an app rejects normal proxy certificates because of certificate pinning or other protections.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the merge-port plugin — 1 skill, 2 commands, 1 agent shipped together

Good fit Use it to inspect an APK, identify its certificate-validation method, and set up the matching interception approach.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/anivaryam/anivaryam-plugins/merge-port-doctor
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.

Clone the repo
git clone --depth 1 https://github.com/anivaryam/anivaryam-plugins

Made for: Claude Code.

Or install merge-port, the plugin that ships this one along with the rest of its 1 skill, 2 commands, 1 agent.

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 merge-port-doctor

README.md
[![agentmods](https://agentmods.dev/badge/agents/anivaryam/anivaryam-plugins/merge-port-doctor/github.svg)](https://agentmods.dev/agents/anivaryam/anivaryam-plugins/merge-port-doctor)
Your own site
<a href="https://agentmods.dev/agents/anivaryam/anivaryam-plugins/merge-port-doctor"><img src="https://agentmods.dev/badge/agents/anivaryam/anivaryam-plugins/merge-port-doctor/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 merge-port-doctor

Your own site · 80×15
<a href="https://agentmods.dev/agents/anivaryam/anivaryam-plugins/merge-port-doctor"><img src="https://agentmods.dev/badge/agents/anivaryam/anivaryam-plugins/merge-port-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 725 The whole file, excluding the scripts and references it only reads on demand.
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.00079 $0.00725
Opus 5 $0.00039 $0.00362
Sonnet 5 $0.00016 $0.00145
Haiku 4.5 $0.00008 $0.00072

Measured 12d ago against content hash 378bd9e7591a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

merge-port-doctor 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 12d 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.

Makes network callslowCapability

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

- `curl -sf http://localhost:<merge-port>/_health` for liveness.
plugins/merge-port/agents/merge-port-doctor.md · 45 lines

How it starts

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

You are a merge-port routing diagnostician. Find why requests aren't reaching the right upstream and report a concrete fix.

How to operate

  1. Find the config. Walk up from cwd looking for .merge-port.yaml. If absent, ask whether the user runs merge-port via flags only — if yes, ask for the invocation to audit.
  2. Static checks.
    • merge-port --dry-run ... — print effective routing, confirm prefix ordering, flag mode-mixing (--client + --route is invalid).
    • merge-port validate ... — route syntax, listen-port availability, upstream TCP reachability.
  3. Source-level check. If routes appear to miss endpoints the user expects, grep the backend source for top-level route registrations (app.use, router.use, Go chi/gorilla Mount/Handle) and compare against the configured api_prefixes. Sub-routers won't be auto-detected.
  4. Runtime check (only if a server is running).
    • curl -sf http://localhost:<merge-port>/_health for liveness.
    • Hit one route per declared prefix and confirm the response comes from the expected upstream (check headers, body, or a known endpoint that returns a server-identifying value).

Common failure patterns

  • Route mode 404 on / → user didn't add /=client catch-all. Add it.
  • /api returns frontend HTMLapi_prefixes missing the actual prefix. Either let discover find them or list manually.
  • WebSocket upgrade fails → dev server enforces same-origin (Vite 5.1+, Next Turbopack). Configure the dev server to allow the merge-port listen port as an origin.
  • address already in use → another process owns the listen port. lsof -i :<port> to find the holder. Either stop it or change --port.
  • upstream unreachable → upstream not running, or bound to ::1 only. Confirm process is up; check the bind interface.
  • Auto-detect (proc-compose merge:) misses prefixes → sub-router files, Django/Rails/Flask, modular Express. Set api_prefixes: explicitly.
  • --detach fails on Windows → unsupported. Run foreground.
  • merge-port stop --port doesn't stop anything → process was started in foreground, not --detach. Stop it manually.

Read the full file on GitHub · 45 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. 12d ago First seen · 45 lines · 79 tokens per session scan A 378bd9e7591a

Subscribe to this mod's changes

merge-port-doctor is an agent published in the GitHub repository anivaryam/anivaryam-plugins (2 stars, last pushed 3mo ago), licensed MIT. It adds 79 tokens to every session and 725 once invoked, about $0.0004 per session on Opus 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-31.