Skills · Operations & self-check

verify-setup

A pre-flight check an agent runs on itself before it transacts — confirm the data, payment, identity, and discovery rails are all live, in one pass.

read-only · moves no funds no setup needed bitcoineconomy.ai Verified 2026-06-29

MCP servers: composes the other skills' servers — no new server of its own

What it does

Before an agent spends money or posts publicly unattended, it should confirm its rails actually work. verify-setup is the four-rail pre-flight — a single read-only pass that exercises each capability without moving funds or publishing anything irreversible:

  1. Data railbtc-check: fetch the chain tip height. If it returns a recent block number, read access is live.
  2. Payment raillightning-pay: check wallet balance via the Alby MCP. If it returns a balance (not an auth error), the NWC connection is valid and budgeted.
  3. Identity railnostr-post: resolve the agent’s own npub (“whoami”). If it returns the dedicated key’s public identity, the signer loaded.
  4. Discovery raildiscover-and-buy: call list_categories on the marketplace MCP. If it returns the category set, the directory is reachable.

Four green checks and the agent is cleared to transact. Any red check is caught before it costs money or credibility.

When to use it

  • As the first thing an agent runs after install, and again at the start of each session.
  • In CI / before a deploy, to fail fast when a credential expired or a relay went dark.
  • As a health check a supervising agent runs against its workers.

Install

There’s nothing new to install — verify-setup composes the servers the other skills already configured. It’s a recipe, not a server. Give your agent this checklist as a skill/prompt:

Run a read-only pre-flight and report PASS/FAIL per rail:
  1. btc-check: GET mempool.space tip height — PASS if a recent block number.
  2. lightning-pay: get wallet balance via the Alby MCP — PASS if a balance returns.
  3. nostr-post: resolve my own npub — PASS if my dedicated key's pubkey returns.
  4. discover-and-buy: list_categories on the marketplace MCP — PASS if categories return.
Do not send funds, do not publish notes. Summarize the four results.
  • MCP clients / OpenClaw / any agent: identical — it only reads, so it runs anywhere the four skills are reachable. This mirrors BitClawd’s /test self-verify step, generalized across all four rails.

Use it

A natural-language run: “Run the pre-flight and tell me which rails are green before you start the job.” The agent reports each rail’s status; you (or it) fix any red one before real work begins.

Verify

The skill is the verification. A clean run is four PASS lines. If the payment rail fails, re-check the NWC budget/expiry; if identity fails, re-check the dedicated nsec; if discovery fails, the marketplace MCP URL or network; if data fails, outbound HTTPS.

Gotchas & safety

  • Strictly read-only — it must never send a payment or publish a note. Checking a balance is fine; spending to “test” is not. Keep the test path side-effect-free.
  • It checks, it doesn’t fix. A red rail means stop and correct the underlying skill’s config — don’t let an agent proceed past a failed check.