/tor-and-onion-networks:tor-network-consensus-guards-and-pathsfrom tor-and-onion-networks
Explains Tor network operations: directory authorities, hourly consensus, bandwidth weights, guard pinning, and path-selection restrictions. Includes relay lookup tools (Relay Search, Onionoo, ExoneraTor, CollecTor).
Ships in tor-and-onion-networks. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part 2 of 8 of the Tor and Onion Networks reference (plugin
tor-and-onion-networks), covering §6–§7. Sibling skills:tor-protocol-circuits-and-cell-cryptography(§1–§5),tor-onion-services-and-hardening(§8–§9),tor-censorship-circumvention-and-bridges(§10),tor-attack-literature-and-threat-model(§11),tor-ecosystem-alternatives-and-governance(§12, §14–§16),tor-building-on-tor-software-patterns(§13.1–§13.4, handbook §1),tor-running-relays-bridges-and-hardware(§13.5, handbook §2–§6). Section numbers are shared across the set; a reference written as §N →skillpoints into that sibling skill.Currency: compiled 16 September 2026. Guard logic and consensus mechanics are stable. Relay counts, user counts and version-gated features are dated — pull live figures from Tor Metrics rather than quoting this document.
⚠️ Tor's trust root is nine servers run by nine named people. Everything else is volunteers.
⚠️ GOTCHA boxes mark where the mental model people carry is wrong in ways that cause real deanonymization or bad operational decisions.
The three ideas that organize this document:
- ⚠️ THE CONSENSUS IS THE NETWORK (§6.2). There is no peer-to-peer discovery. Nine directory authorities vote hourly on who exists and how much they weigh, and clients trust that signed document. Majority compromise is the nightmare scenario, which is why authority diversity is a governance question, not an engineering one.
- ⚠️ GUARDS TRADE A CERTAINTY FOR A RARITY (§7.1). Rotating first hops randomly means an adversary with a modest relay fraction eventually becomes your entry. Pinning a small guard set for months converts "eventually certain" into "probably never" — and is why New Identity deliberately does not change your guard.
- ⚠️ PATH RESTRICTIONS ARE ANTI-CORRELATION, NOT PRIVACY CONTROLS (§7.2). Family and /16 rules exist so one operator cannot own two hops.
ExitNodescountry pinning is advisory routing preference, not a safety property — the exit still sees your traffic.
networksize.csv: 10,065 on
20 Aug 2026 declining to 9,228 by 14 Sept — treat single weeks as noisy): volunteer-operated
nodes. Flags matter: Guard (stable, fast, trustworthy enough to be first hops), Exit
(allowed final hops), HSDir (hold onion-service descriptors), Fast, Stable, Running,
Valid, BadExit.tor-censorship-circumvention-and-bridges).Hourly cycle: authorities publish votes (~:50 past the hour), exchange them, and produce a consensus valid for three hours. Clients and relays download microdescriptors (compact relay records keyed by digest) rather than full descriptors — this is what made Tor usable on mobile links. Consensus methods version the format itself; 0.4.9 dropped support for consensus methods older than 32. A consensus transparency experiment (signed-tree logging, CT-style, to detect split-view attacks against directory clients) was underway as of the 0.4.9 series, with unsigned-consensus export support added for it.
Tor Metrics estimates (from directory-request extrapolation, requests/10 per client per day —
see their reproducible metrics
methodology): ~2.8–3.5 million
directly-connecting users per day in September 2026, plus bridge users counted separately.
Largest populations (Sept 2026 top-10 table): US (~515k, ~15.5%), Germany (~294k), Brazil,
Finland, India, France. Usage spikes historically track censorship events and conflicts (Iran
June 2025 being the sharpest recent example — §10.4 →
tor-censorship-circumvention-and-bridges).
⚠️ GOTCHA: "Tor user counts" are estimates derived from directory requests, not logins. They are extrapolations with a documented methodology and known error bars. Never present them as a census, and never compare across a methodology change without reading the metrics notes.
The 2013 paper Users Get Routed (Johnson et al., CCS 2013) quantified what everyone feared: if clients rotate first hops randomly, an adversary running a modest fraction of relays eventually becomes the first hop and can run confirmation attacks. The fix — pin a small set of first hops for months — turned a probabilistic certainty into a probabilistic rarity.
Modern rules (proposal 271 and successors): a sampled guard set, filtered for reachability, of which the client uses 2–3 primary guards, rotating only on failure or expiry.
⚠️ GOTCHA: "Get a new identity often" is not the same as changing guards, and Tor Browser's New Identity keeps your guards deliberately. Advice that tells users to churn entry nodes for safety inverts the actual security argument — churn is what guards exist to prevent.
Circuits are built subject to constraints that any builder must replicate:
Guard/Exit fractional weights keep
exit-scarce bandwidth available for exit use);ExitNodes, ExcludeNodes, GeoIP...) — and
these are advisory for privacy, not robust safety properties, since the exit or a router
downstream sees your traffic anyway.MyFamily mutual cross-listing was error-prone and bloated descriptors (O(family²)
fingerprints). 0.4.9 adds a shared family key: relays sign a certificate proving family
membership, collapsing family proof to a single identifier. Tor Project estimates eventual
~80% microdescriptor size reduction.
⚠️ GOTCHA for relay operators: until client adoption catches up, you must maintain
MyFamilyin parallel with the new family key. DroppingMyFamilyearly makes your relays look unrelated to older clients, which is exactly the correlation risk families exist to prevent. See the family-ids documentation.
tor-protocol-circuits-and-cell-cryptography.tor-onion-services-and-hardening.tor-attack-literature-and-threat-model.tor-running-relays-bridges-and-hardware.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
8 skills in this plugin
/tor-attack-literature-and-threat-modelUse when assessing what actually threatens Tor users, or when checking a deanonymization claim against the literature — end-to-end confirmation, website fingerprinting and why no defense ships by default, guard discovery, Sybil and malicious-relay campaigns (KAX17, the 2020 exit wave), exit content attacks, HSDir harvesting, DoS, and client-side compromise. Covers §11. Companion to the other Tor and onion-network skills./tor-building-on-tor-software-patternsUse when writing code that talks to Tor — SOCKS with socks5h and stream isolation, the control port, ephemeral onion services via ADD_ONION or stem, long-lived onion services in torrc, client authorization v3, Onion-Location and Alt-Svc headers, torsocks and its limits, embedding Arti, testing against a private chutney network, and building your own private or custom onion-routing network. Covers §13.1–§13.4, §13.6 and handbook §1. Companion to the other Tor and onion-network skills./tor-censorship-circumvention-and-bridgesUse when reasoning about Tor under censorship — bridges, pluggable transports (obfs4, Snowflake, WebTunnel, meek, Conjure), how bridges are distributed, and how blocking actually works — or when reading a blocking-event report. Includes the 2026 Snowflake DTLS fingerprinting campaign and Iran's 2025 stealth blackout as worked cases. Covers §10. Companion to the other Tor and onion-network skills./tor-ecosystem-alternatives-and-governanceUse when choosing a Tor implementation or client (C tor vs Arti, Tor Browser, Tor VPN, Orbot, Tails, Whonix), picking operator tooling (nyx, stem, txtorcon, chutney), comparing Tor against I2P, mixnets or VPNs, or looking up the specs, proposals and foundational papers. Covers §12, §14–§16. Companion to the other Tor and onion-network skills./tor-onion-services-and-hardeningUse when working with v3 onion services — the 56-character address format, blinded descriptor keys, introduction and rendezvous points, client authorization, single-onion mode — or when hardening one with vanguards, proof-of-work DoS defense, Onionbalance and Onionspray, or advertising it via Onion-Location. Covers §8–§9. Companion to the other Tor and onion-network skills./tor-protocol-circuits-and-cell-cryptographyUse when reasoning about how Tor actually works on the wire — cells, channels, the telescoping circuit handshake, ntor and ntor-v3, the tor1 → CGO cell-crypto migration, SENDME flow control, congestion control and Conflux — or when correcting a claim about what Tor promises. Covers §1–§5. Companion to the other Tor and onion-network skills.npx claudepluginhub the-vibey-project/vibey --plugin tor-and-onion-networks