Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add lidonation/Cardano-mcp/plugin install cardano-status-codesWrote 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/skills/lidonation/cardano-mcp/diagnose-errors)<a href="https://agentmods.dev/skills/lidonation/cardano-mcp/diagnose-errors"><img src="https://agentmods.dev/badge/skills/lidonation/cardano-mcp/diagnose-errors/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lidonation/cardano-mcp/diagnose-errors"><img src="https://agentmods.dev/badge/skills/lidonation/cardano-mcp/diagnose-errors.svg" alt="Reviewed on agentmods" width="80" 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.00055 | $0.00552 |
| Opus 5 | $0.00028 | $0.00276 |
| Sonnet 5 | $0.00011 | $0.00110 |
| Haiku 4.5 | $0.00006 | $0.00055 |
Grade A, and why
diagnose-errors 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 today.
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 — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnose before guessing
cardano-mcp tool errors carry real, specific information — an HTTP status
from Blockfrost/Koios/Maestro/Kupo, a CBOR/PlutusData deserialization
message, or (for submit_transaction) the Cardano ledger's own rejection
reason. That's much more useful than it looks at first glance, but only if
it's actually read rather than treated as an opaque failure to retry or
apologize for.
Workflow
- When a
cardano-mcptool call returnsisError: true, or acontractsmodule tool returnsstatus: "error", read${CLAUDE_PLUGIN_ROOT}/reference/error-catalog.mdbefore proposing a fix or retrying. - Match the error text against the catalog: which client produced it (Blockfrost/Koios/Maestro/Kupo/CBOR/ledger-rejection), what the status/message actually means, and the catalog's suggested fix.
- Explain the real cause to the user in those terms — "Blockfrost returned 403, which means the project ID doesn't match the configured network" beats "something went wrong, let me try again."
- If the error doesn't match anything in the catalog, say so explicitly and reason from the raw message rather than pattern-matching it to the closest catalog entry that doesn't quite fit.
- For
submit_transactionspecifically: never resubmit the same signed CBOR after a ledger rejection. The catalog's fixes are all "rebuild the transaction" (fresh UTxOs, fresh TTL, corrected fee) — a rejected transaction's problem doesn't go away by retrying the exact same bytes.
Why this exists
An agent's first instinct on a tool error is often to guess — "maybe the
network is down, let me retry" — when the error text already states the
real cause precisely (a 403 from Blockfrost, a BadInputsUTxO ledger
rejection). Consulting a known catalog of what this server's own errors
actually mean, the same way aiken-verify consults the real compiler
instead of guessing whether code compiles, turns a vague "it failed" into a
correct, specific diagnosis.
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.
- today First seen · 44 lines · 55 tokens per session scan A 6a8b12233608
diagnose-errors is a skill published in the GitHub repository lidonation/Cardano-mcp (2 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 552 once invoked, about $0.0003 per session on Opus 5. 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-21.
Other skills, from other repositories
code-changes
Orchestration workflow for any task that ends in code changes: issue analysis, pull request review, feature implementation, bug fixes, refactors, or fleshing out an idea. MUST be invoked at the start of such a task, before reading or writing any code. Defines how to analyze first, gate on user approval, plan, pick the…
nostr-addressable-event-dual-tag-query
Fix "count shows X but list shows empty" bugs when querying related events (comments, reactions, zaps, reposts) for Nostr addressable events (Kind 30000-39999). Use when: (1) REST API shows engagement count > 0 but WebSocket query returns empty, (2) Comments/reactions exist but app shows "No comments yet" or similar…
nostr-replaceable-event-mutation-overwrite
Fix silent data loss when mutating Nostr replaceable events (Kind 0 profile, Kind 3 contact/follow list, Kind 10002 relay list, etc.) in client apps. Use when: (1) Following someone wipes the user's entire follow list, (2) Updating profile metadata loses existing fields, (3) Fresh browser session or mobile login…
nostr-addressable-event-d-tag-requirement
Fix duplicate Nostr events (Kind 30000+ parameterized replaceable events) caused by missing d-tag. Use when: (1) Same content appears multiple times on relay for same pubkey, (2) Events aren't being replaced/updated as expected, (3) Publishing NIP-71 video events (Kind 34236) or other addressable events and seeing…
divine-relay-video-requirements
Fix "blocked: event rejected by relay policy" errors when publishing Kind 34236 (video) events to divine relays. Use when: (1) Kind 0 profile events succeed but Kind 34236 fails, (2) Generic policy rejection with no specific reason, (3) Video events work on other relays but fail on divine relays. The divine relay…
ndk-operation-timeout-wrapper
Fix NDK (Nostr Dev Kit) operations hanging indefinitely when relay connections stall. Use when: (1) App freezes during fetchEvents or publish calls, (2) No timeout errors despite network issues, (3) Relay connection appears stuck, (4) Using NDK with unstable or slow relays. NDK operations have no built-in timeout …