midnight-status-codes:status-codes-lookup

Look up Midnight ecosystem error codes with regex and source filters.

37|9|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/devrelaicom/midnight-expert --skill midnight-status-codes-status-codes-lookup
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: midnight-status-codes:status-codes-lookup
Source: https://github.com/devrelaicom/midnight-expert/tree/main/plugins/midnight-status-codes/skills/status-codes-lookup
Command: npx skills add https://github.com/devrelaicom/midnight-expert --skill midnight-status-codes-status-codes-lookup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

Quickly identify the meaning, source, severity, and actionable fixes for error and status codes emitted across the Midnight ecosystem without reading large reference files.

Core Features & Use Cases

  • Exact and Alias Matching: Find a code by numeric ID, canonical name, or known alias across all components.
  • Regex and Filtered Searches: Search by regex, list by source, and browse by category to narrow down root causes during debugging.
  • Use Case: When a developer sees "InvalidTransaction::Custom(166)" in logs, use this tool to map it to the component, understand the category, and get prioritized fix suggestions.

Quick Start

Ask the status-codes-lookup skill to find error code 166 from midnight-node and display its description, category, severity, and suggested fixes.

Frequently Asked Questions about midnight-status-codes:status-codes-lookup

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

FAQPage Schema
How do I look up Midnight error codes and find their meanings?▼

You can look up Midnight error codes by querying a local JSON database via the lookup script to retrieve code meanings, categories, severity, and suggested fixes for Compact contracts, node components, and SDKs.

Can I search Midnight status codes by regex or filter them by component source?▼

Midnight status codes can be searched using exact matches, regex patterns, and source or category filters to quickly narrow down root causes across the ecosystem during debugging.

Do I need jq installed to run the Midnight status codes lookup script?▼

Yes, jq is a required dependency. You must have jq installed in your environment to execute the status-codes lookup script and query the local JSON code database for error resolution.

What is the best way to resolve Midnight InvalidTransaction errors like Custom 166?▼

The best way to resolve Midnight InvalidTransaction errors is to query the code database by numeric ID or alias to map the error to its component, understand the category, and get prioritized fix suggestions.

How do I get actionable fix suggestions for Midnight node error codes?▼

To get actionable fix suggestions for Midnight node error codes, run the lookup script against the local JSON code database using the exact numeric ID or canonical name to retrieve prioritized remediation steps.