relay-diagnostic

Diagnose sponsor relay nonce health and automate recovery for stuck transactions.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Jay0xx/forge0btc-news-agent --skill relay-diagnostic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: relay-diagnostic
Source: https://github.com/Jay0xx/forge0btc-news-agent/tree/main/aibtcdev-skills/relay-diagnostic
Command: npx skills add https://github.com/Jay0xx/forge0btc-news-agent --skill relay-diagnostic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnoses sponsor relay nonce health and automates recovery for stuck sponsored transactions.

Core Features & Use Cases

  • Check relay health to verify nonce state, surface potential issues, and surface gaps or mempool desync.
  • Recover via RBF or gap-fill to unstick sponsor transactions and restore nonce progression.
  • Use on mainnet and testnet to maintain sponsor reliability and nonce integrity.

Quick Start

Run a health check to verify sponsor nonce status, then trigger automated recovery if gaps or stuck nonces are detected.

Frequently Asked Questions about relay-diagnostic

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I recover a stuck sponsored transaction nonce gap?

Recover a stuck sponsored transaction by diagnosing the sponsor relay nonce health and automating recovery via RBF or gap-fill. The tool fetches nonce state from the Hiro API and uses an unlocked wallet or sponsor API key to restore nonce progression.

Why does my sponsor relay nonce desync from the mempool?

Sponsor relay nonce desync occurs when pending transactions drop or reorder in the mempool, creating a gap. Running a health check surfaces this mempool desync by fetching the current nonce state from the Hiro API to detect inconsistencies.

How do I check my sponsor relay health on mainnet and testnet?

Check sponsor relay health on mainnet and testnet by running the check-health subcommand. It verifies nonce state, surfaces potential issues, and identifies nonce gaps or mempool desync to maintain sponsor reliability and nonce integrity.

Do I need an unlocked wallet to automate nonce gap recovery?

Yes, automating nonce gap recovery requires an unlocked wallet or a sponsor API key. The recover subcommand uses these credentials to execute RBF or gap-fill transactions that unstick sponsor transactions and restore proper nonce progression.

What is the best way to unstick a sponsor transaction using RBF?

The best way to unstick a sponsor transaction using RBF is to run an automated recovery command after a health check detects the stuck nonce. This replaces the original transaction with a higher fee to restore relay nonce progression.

When should I use gap-fill instead of RBF for sponsor transaction recovery?

Use gap-fill instead of RBF when a nonce gap exists but the original transaction is not easily replaceable. The recovery tool automates gap-fill to fill the missing nonce, allowing subsequent sponsored transactions to process and restoring relay nonce progression.