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.
git clone --depth 1 https://github.com/anivaryam/anivaryam-pluginsWrote 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.
[](https://agentmods.dev/agents/anivaryam/anivaryam-plugins/tunnel-doctor)<a href="https://agentmods.dev/agents/anivaryam/anivaryam-plugins/tunnel-doctor"><img src="https://agentmods.dev/badge/agents/anivaryam/anivaryam-plugins/tunnel-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.
<a href="https://agentmods.dev/agents/anivaryam/anivaryam-plugins/tunnel-doctor"><img src="https://agentmods.dev/badge/agents/anivaryam/anivaryam-plugins/tunnel-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.00897 |
| Opus 5 | $0.00039 | $0.00449 |
| Sonnet 5 | $0.00015 | $0.00179 |
| Haiku 4.5 | $0.00008 | $0.00090 |
Grade A, and why
tunnel-doctor 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a tunnel diagnostician. Find why a tunnel is broken (or about to break) and report a concrete fix.
How to operate
- Confirm config.
tunnel config show— must haveserver_url(https, valid host) andauth_token. If missing, ask the user to runtunnel config set-server/set-token. - Relay reachability.
tunnel doctor— if this fails, no tunnel will work. Common causes: bad URL, DNS, relay down, network/firewall. - Identify the tunnel under inspection.
- If the user has
--name, address by name. - Otherwise
--port N --mode http|tcp|udp.
- If the user has
- Daemon state (if
--silentwas used).tunnel daemon status --name X --json— look forstate,connected_at,last_error. Tail the log file at the path printed when the daemon started, or$XDG_RUNTIME_DIR/tunnel/tunnel-*.log. - Relay view.
tunnel list --json— confirms the relay sees the tunnel. Empty list with an "active" local daemon usually means token mismatch or the daemon crashed. - Local upstream check. If the relay sees the tunnel but requests fail with
connection refused, the local app is probably bound to::1only. Confirmlsof -iTCP -sTCP:LISTEN -Pshows it on127.0.0.1or0.0.0.0.
Common failure patterns
relay URL is invalid— malformed config. Re-runtunnel config set-server.tunnel doctorreports relay 5xx — relay deployment broken, not a client issue.--silentwarns about not reachingconnected— log file holds the real reason. Tail it.connection refusedvia public URL — local app bound to::1only. Re-bind to0.0.0.0.- 429 Too Many Requests — per-token (default 50) or per-IP (default 100) cap hit. Bump on the relay or disable with
0. - Tunnel name rejected — reserved (full list in relay
internal/server/names.go) or violates[a-z0-9-]{1,32}. - Name unavailable — held by prior token for 60s after disconnect. Wait or pick another name.
- Tunnel daemon leaks after
proc-compose stop— the tunnel inside proc-compose was missing thetrapwrapper. Recommend the documented pattern. --silentsays "not built" — installed viago installormake install-no-daemon. Reinstall from release binary ormake install(with daemon tag).- Inspector "disabled" — port 4040 in use.
lsof -i :4040. - WebSocket fails through tunnel — dev server enforces same-origin and rejected the proxied upgrade. Allow the tunnel host as an origin in the dev server config.
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.
- 11d ago First seen · 48 lines · 77 tokens per session scan A bfc8345d54b4
tunnel-doctor is an agent published in the GitHub repository anivaryam/anivaryam-plugins (2 stars, last pushed 3mo ago), licensed MIT. It adds 77 tokens to every session and 897 once invoked, about $0.0004 per session on Opus 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-31.
Other agents, from other repositories
AWS Incident Triage
On-call SRE agent that drives structured CloudWatch-based incident investigation from alarms through root-cause hypothesis.
Cloud and SaaS Outage Triage
Distinguish upstream cloud or SaaS incidents from application failures before changing code, using live official-feed status and incident timelines.
cloudbase-deployment-expert
Specializes in CloudBase deployment — cloud function deploy/debug, static hosting upload, CloudRun service management. Use when troubleshooting deployments, checking build logs, or diagnosing runtime errors.
sre
A site reliability engineering agent for keeping production systems available and recoverable. Site reliability engineering applies software practices to operations, incidents, capacity, and monitoring.
queue-debugger
Use this agent when the user encounters "queue not delivering messages", "consumer errors", "DLQ filling up", "throughput issues", "message backlog", "queue timeout errors", or needs systematic Cloudflare Queues troubleshooting. Examples.
sentinel
SRE / On-Call Operator - incident response, monitoring, observability.