Skip to content
Skills Library
DevOps & cloud · Analysis

debug-rpc-provider

/debug-rpc-provider

Debug RPC provider health issues for a chain. Use when alerts mention RPC failures, high latency, stale blocks, or provider errors. Diagnoses the issue and recommends fixes.

Licence
Apache-2.0
Last repository change
23.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 23.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Debug RPC provider health issues for a chain. Use when alerts mention RPC failures, high latency, stale blocks, or provider errors. Diagnoses the issue and recommends fixes.

Original author description

Debug RPC provider health issues for a chain. Use when alerts mention RPC failures, high latency, stale blocks, or provider errors. Diagnoses the issue and recommends fixes.

How it works

  1. When to Use
  2. Input Parameters
  3. Workflow
  4. Important Notes
Original SKILL.md headings · 93 lines, 503 words
SKILL.md preview
---
name: debug-rpc-provider
description:
  Debug RPC provider health issues for a chain. Use when alerts mention
  RPC failures, high latency, stale blocks, or provider errors. Diagnoses the issue
  and recommends fixes.
---

# Debug RPC Provider

Diagnose RPC provider health issues for a Hyperlane chain and recommend fixes.

## When to Use

1. **Alert-triggered:** RPC error rate alerts, provider timeout alerts, stale block alerts
2. **User request:** "debug RPC for [chain]", "why are RPCs unhealthy on [chain]"

## Input Parameters

```test
/debug-rpc-provider <chain> [environment=mainnet3]
```

| Parameter     | Required | Default    | Description                   |
| ------------- | -------- | ---------- | ----------------------------- |
| `chain`       | Yes      | -          | Chain name (e.g., `ethereum`) |
| `environment` | No       | `mainnet3` | `mainnet3` or `testnet4`      |

## Workflow

### Step 1: Find Monorepo Root

```bash
MONOREPO_ROOT=$(git rev-parse --show-toplevel)
```

### Step 2: Run Debug Script

```bash
pnpm --dir "$MONOREPO_ROOT/typescript/infra" exec tsx scripts/secret-rpc-urls/debug-rpc-url-health.ts \
  -e <environment> -c <chain>
```

### Step 3: Analyze Results

Examine the output table and classify each RPC URL:

| Condition                     | Classification            |
| ----------------------------- | ------------------------- |
| Health = ✅, Latency < 500ms  | Healthy                   |
| Health = ✅, Latency >= 500ms | Slow                      |
| Health = ⚠️                   | Stale (block age 30-120s) |
| Health = ❌, has error        | Dead                      |
| Health = ❌, chainId mismatch | Misconfigured             |

### Step 4: Output Diagnosis and Recommendation

Output the following structured information:

1. **Summary:** One-line description of the issue (e.g., "2 of 3 private RPCs are dead on ethereum")

2. **Current URL status table:** For each private RPC URL, show status (healthy/slow/stale/dead) and key metrics

3. **Proposed new URL list:** A concrete JSON array of the recommended new private RPC URLs. This should:
   - Remove dead/misconfigured URLs
   - Keep healthy URLs (reorder so healthiest are first)
   - **Always backfill with healthy registry URLs** to replace removed URLs and maintain at least the original URL count. Registry URLs are free and add redundancy.
   - Never leave the list empty

   Format:

   ```test
   Proposed new RPC URLs for <chain> (<environment>):
   ["https://full-url-1", "https://full-url-2"]
   ```

4. **Suggested action:** Either:
   - "No action needed" if all private RPCs are healthy
   - "Run `/fix-rpc-urls` to apply the proposed URL changes" if URLs need updating
   - "Investigate further" if the issue is unclear (e.g., all RPCs stale may indicate chain halt)

### Step 5: Offer to Fix (Confirmation Gate)

If you recommended URL changes in Step 4, end your response with the confirmation convention so the user gets an approve/reject button:

```test
[CONFIRM: Fix RPC URLs for <chain>]
```

This MUST be the very last thing in your message. Do NOT run `/fix-rpc-urls` yourself — wait for user approval.

> **Note:** `[CONFIRM: ...]` is a Haggis-specific harness primitive — Haggis renders it as an inline approve/reject button. In other coding-assistant contexts it is just text, so this skill is intended to be invoked from Haggis.

If all URLs are healthy and no changes are needed, skip this step.

## Important Notes

- Registry URLs are public and don't contain secrets.
- If ALL RPCs (private + registry) are stale/dead, the chain itself may be halted — check block explorers before recommending URL changes.

Versions

The database has no other skills named debug-rpc-provider.

Database snapshot: 13.11.2026 · package version 910d670b72cd (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90drpc-rpc
    Use when the user needs blockchain data (balances, transactions, blocks, gas prices, contract reads), wants to set up blockchain RPC access, or mentions DRPC, Web3, or Ethereum RPC. Also triggers on specific method names like eth_getBalance, eth_call, eth_getLogs.
  • 100quicknode-debug-bundle
    Collect a bounded, redacted QuickNode incident bundle that preserves endpoint, method, timing, HTTP, JSON-RPC, chain, and client evidence without leaking credentials or signed payloads. Use when escalating a reproducible provider or integration failure. Trigger with: "build a…
  • 100rpc
    Use when the user needs raw blockchain JSON-RPC access — contract reads (eth_call), native balances, blocks, transactions, logs, gas estimates, or any chain-native RPC method across 40 chains. One endpoint per chain via BlockRun's Tatum-backed gateway, $0.0030 per call, no node,…
  • 100quicknode-performance-tuning
    Tune QuickNode RPC performance from endpoint metrics, method mix, payload size, connection reuse, and chain semantics instead of synthetic request counts. Use when tail latency, errors, or credit use regress. Trigger with: "optimize QuickNode latency", "analyze QuickNode p95",…
  • 95pilot-health
    Network health monitoring with latency and reachability checks. Use this skill when: 1. Diagnosing connectivity issues or high latency 2. Monitoring network health and performance metrics 3. Running continuous health checks for uptime monitoring Do NOT use this skill when: - You…
  • 100jr-rpc
    Manage low-level config and plugin introspection flows via jr-rpc bash commands. Use only when the user explicitly asks to read or update provider defaults/config or list installed plugins. Do not use for PR, branch, push, or auth-order questions; load the matching provider skill instead.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.