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.
npx agentmods add rules/duckduckgo/apple-browsers/network-quality-test-configgit clone --depth 1 https://github.com/duckduckgo/apple-browsersWrote 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/rules/duckduckgo/apple-browsers/network-quality-test-config)<a href="https://agentmods.dev/rules/duckduckgo/apple-browsers/network-quality-test-config"><img src="https://agentmods.dev/badge/rules/duckduckgo/apple-browsers/network-quality-test-config.svg" alt="Measured on agentmods" 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.00000 | $0.00770 |
| Opus 5 | $0.00000 | $0.00385 |
| Sonnet 5 | $0.00000 | $0.00154 |
| Haiku 4.5 | $0.00000 | $0.00077 |
Grade A, and why
network-quality-test-config 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 4d 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 — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NetworkQualityMonitor Test Configuration
Optimized Test Parameters
The NetworkQualityMonitor uses carefully tuned parameters to balance speed and accuracy for browser performance testing.
Test Phases and Data Sizes
HTTP Response Testing (Latency)
- Samples: 15 per endpoint
- Endpoints: ~12 globally distributed CDNs and services
- Methodology: Warm-up phase + interleaved sampling
- Timeout: 5 seconds
- Total time: ~3-4 minutes
Bandwidth Testing (Download)
- File size: 50MB per server (reduced from 100MB)
- Servers: 3 test servers (CloudFlare, OVH, Hetzner)
- Runs: 1 per server (reduced from 2)
- Total download: ~150MB (was 800MB)
- Timeout: 20 seconds per server
- Measurement window:
- At 100 Mbps: ~4 seconds
- At 25 Mbps: ~16 seconds
- At 10 Mbps: ~40 seconds
Upload Testing
- Chunk size: 20MB (reduced from 50MB)
- Chunks: 2 sequential uploads
- Total upload: 40MB (was 100MB)
- Timeout: 25 seconds total
- Servers: 3 endpoints
DNS Resolution Testing
- Domains: 11 popular domains
- Tests: Resolution time and failure rate
- Timeout: Default system resolver timeout
Performance Optimizations
Why These Sizes?
50MB for Downloads:
- Large enough to overcome TCP slow start
- Provides stable measurement window (4-40 seconds)
- Small enough to complete quickly on slower connections
- Balances accuracy with user experience
20MB for Uploads:
- Sufficient to measure upload capacity
- Most users have asymmetric connections (slower upload)
- Reduces test time significantly
Total Test Duration
Typical completion times:
- Fast connection (100+ Mbps): ~2-3 minutes
- Good connection (25-50 Mbps): ~3-4 minutes
- Fair connection (10-25 Mbps): ~4-5 minutes
- Poor connection (<10 Mbps): ~5-7 minutes
Data Usage
Total data transferred:
- Download: ~150MB
- Upload: ~40MB
- Total: ~190MB (reduced from ~900MB)
Configuration Code
TestConfiguration(
latencyTestURLs: [/* 12 CDN endpoints */],
bandwidthTestURLs: [
"https://speed.cloudflare.com/__down?bytes=52428800", // 50MB
"https://proof.ovh.net/files/50Mb.dat", // 50MB
"https://speed.hetzner.de/50MB.bin" // 50MB
],
uploadTestURLs: [/* 3 upload endpoints */],
dnsTestDomains: [/* 11 popular domains */],
latencySamplesPerEndpoint: 15,
bandwidthRunsPerServer: 1,
uploadChunkSize: 20_971_520, // 20MB
uploadChunkCount: 2,
latencyTestTimeout: 5,
bandwidthTestTimeout: 20,
uploadTestTimeout: 25
)
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.
- 4d ago First seen · 100 lines · 0 tokens per session scan A b980b8dbd87f
network-quality-test-config is a cursor rule published in the GitHub repository duckduckgo/apple-browsers (251 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 770 tokens. 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-09-01.
Other cursor rules, from other repositories
release-policy
Release, versioning, and signing policy for setmac.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.