GreenTunnel is an anti-censorship utility that runs a local proxy to help bypass ISP website blocking based on deep packet inspection. It is for people who need to reach websites blocked through hostname-based filtering; it does not hide the user's IP address or act as a VPN. The catalogue instruction relates to using GreenTunnel.
Borrowing it
Nothing to install: this file belongs to SadeghHayeri/GreenTunnel. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/SadeghHayeri/GreenTunnel/main/CLAUDE.mdgit clone --depth 1 https://github.com/SadeghHayeri/GreenTunnelWrote 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/instructions/sadeghhayeri/greentunnel/claude-md)<a href="https://agentmods.dev/instructions/sadeghhayeri/greentunnel/claude-md"><img src="https://agentmods.dev/badge/instructions/sadeghhayeri/greentunnel/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.
<a href="https://agentmods.dev/instructions/sadeghhayeri/greentunnel/claude-md"><img src="https://agentmods.dev/badge/instructions/sadeghhayeri/greentunnel/claude-md.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.11732 | $0.11732 |
| Opus 5 | $0.05866 | $0.05866 |
| Sonnet 5 | $0.02346 | $0.02346 |
| Haiku 4.5 | $0.01173 | $0.01173 |
Grade A, and why
GreenTunnel 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 10d 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.
Add `--remote-debugging-port=9333` and `curl -s localhost:9333/json/list` to How it starts
The opening of the file, as written. The whole thing — 806 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GreenTunnel v3
Ground-up TypeScript rewrite of GreenTunnel: a local proxy that bypasses DPI censorship by splitting the TLS ClientHello so the SNI never appears whole in a single packet, and by resolving hostnames over encrypted DNS.
v3 reuses v2's techniques, not its code. v3 is the repository now — it was
developed in a v3/ subdirectory and promoted to the root, replacing v2's
src/, bin/ and gui/. Those are gone from the working tree; read them at the
v2.0.3 tag (git show v2.0.3:src/proxy.js) and treat them as reference
material, not as something to keep in sync.
Status: working base. The engine, CLI and desktop app all build, pass lint and tests, and have been exercised end-to-end. Features and packaging are the next phase — see Roadmap.
Commands
Run everything from the repository root.
npm install # workspaces: packages/*, apps/*
npm run build # tsc --build (cli) + electron-vite build (desktop)
npm run typecheck # all three TS projects
npm run lint # eslint, type-aware
npm test # vitest
npm run check # typecheck + lint + test
npm run dev # electron-vite dev — the desktop app, with HMR
npm run dev:cli # build the CLI and run it
npm run clean # drop dist/, out/, release/, build info
Per package:
npm run build --workspace packages/cli # the engine and the CLI
npm run package --workspace apps/desktop # electron-builder, current OS
npm run package:mac --workspace apps/desktop # or :win / :linux
Running the CLI
node packages/cli/dist/main.js --help
node packages/cli/dist/main.js --port 8080 --no-system-proxy
⚠️ npm run dev changes your real system proxy
Default settings are startOnLaunch: true + manageSystemProxy: true, so
launching the app points macOS/Windows/GNOME at it. For iterating on UI or
main-process code, use a throwaway profile instead:
mkdir -p /tmp/gt-profile
cat > /tmp/gt-profile/settings.json <<'JSON'
{ "startOnLaunch": false, "manageSystemProxy": false, "launchAtLogin": false,
"port": 18500, "dnsMode": "doh", "fragmentSize": 40, "tlsRecords": false }
JSON
npm run build --workspace apps/desktop
./node_modules/.bin/electron apps/desktop --user-data-dir=/tmp/gt-profile
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.
- 10d ago First seen · 806 lines · 11,732 tokens per session scan A 57edd963ed15
GreenTunnel CLAUDE.md is an instructions file published in the GitHub repository SadeghHayeri/GreenTunnel (4,907 stars, last pushed 6d ago), licensed MIT. It adds 11,732 tokens to every session, about $0.0587 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-30.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.