global-speed-checker

📁 openstatushq/skills 📅 12 days ago
9
总安装量
7
周安装量
#32891
全站排名
安装命令
npx skills add https://github.com/openstatushq/skills --skill global-speed-checker

Agent 安装分布

claude-code 7
opencode 3
codex 2

Skill 文档

Global Speed Checker

Check HTTP endpoint performance from 28 regions worldwide.

When to Use

Workflow

1. Parse Request

Extract from user’s message:

  • URL (required)
  • Method (optional, default: GET)
  • Headers (optional)
  • Body (optional)

2. Make API Call

curl -s -L -X POST "https://openstatus.dev/play/checker/api?compact=true" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","method":"GET"}'

The response contains newline-delimited JSON. Each line is a region result. Final line is the check ID.

Note: The compact=true parameter reduces response size by removing headers/body and returning calculated timing phases.

3. Process and Display Results

Parse the response (newline-delimited JSON) and create a markdown table sorted by latency (fastest first):

  • Columns: Region | Latency | Status | DNS | Connection | TLS | TTFB | Transfer
  • Region: Map code to name using the Read tool to load references/regions-detailed.md (e.g., fra → “Frankfurt (Fly) 🇩🇪”)
  • Timing phases: In compact mode, timing phases are pre-calculated in the response (dns, connection, tls, ttfb, transfer). Otherwise, calculate from raw timing object (e.g., DNS = dnsDone - dnsStart)
  • Sorting: Sort the parsed results array by latency value before rendering the table

4. Add Summary

**Fastest**: [region] ([latency]) • **Slowest**: [region] ([latency]) • **Average**: [avg]ms • **Success rate**: [x/y] ([%])

[View and share results](https://openstatus.dev/play/checker/[check-id])

Then ask: Would you like to see detailed insights or structured JSON data?

5. Optional: Insights (if requested)

Analyze results (3-5 observations):

6. Optional: JSON Export (if requested)

Provide complete results as structured JSON.

Region Mapping

Common codes:

  • fra → Frankfurt (Fly) 🇩🇪
  • iad → Virginia (Fly) 🇺🇸
  • sin → Singapore (Fly) 🇸🇬
  • lhr → London (Fly) 🇬🇧
  • koyeb_fra → Frankfurt (Koyeb) 🇩🇪
  • railway_us-west2 → California (Railway) 🇺🇸

Full list: references/regions-detailed.md

Error Handling

Rate Limit (429): Show limit, remaining, reset time

Invalid Request (400): Show error message and details from response

No Client IP (400): Explain VPN/proxy may cause this

Reference Files

Notes

  • Tests from 28 regions (Fly.io, Koyeb, Railway)
  • Takes ~2-5 seconds
  • Rate limit: 5 requests per 60 seconds
  • Results cached for 7 days