midnight-network

midnight-network is a skill for Claude Code, Codex from mzf11125/midnight_agent_skills. It costs 80 tokens per session (3,168 once invoked), scanned A, original, MIT.

Infrastructure guidance for running Midnight Network nodes, validators, indexers, and proof servers. Midnight Network is a blockchain platform, and these components support transaction validation, consensus, blockchain data queries, and zero-knowledge proof generation.

In plain words
What is it for?
Use it to run validators, configure nodes and indexers, start a local development network, monitor network health, and support Midnight-based applications.
Why use it?
It brings the setup, hardware requirements, services, ports, and operating tasks into one reference. This helps avoid guessing how the network components fit together.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to run validators, configure nodes and indexers, start a local development network, monitor network health, and support Midnight-based applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mzf11125/midnight_agent_skills/midnight-network
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mzf11125/midnight_agent_skills --skill midnight-network
Clone the repo
git clone --depth 1 https://github.com/mzf11125/midnight_agent_skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for midnight-network

README.md
[![agentmods](https://agentmods.dev/badge/skills/mzf11125/midnight_agent_skills/midnight-network/github.svg)](https://agentmods.dev/skills/mzf11125/midnight_agent_skills/midnight-network)
Your own site
<a href="https://agentmods.dev/skills/mzf11125/midnight_agent_skills/midnight-network"><img src="https://agentmods.dev/badge/skills/mzf11125/midnight_agent_skills/midnight-network/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.

agentmods 80×15 button for midnight-network

Your own site · 80×15
<a href="https://agentmods.dev/skills/mzf11125/midnight_agent_skills/midnight-network"><img src="https://agentmods.dev/badge/skills/mzf11125/midnight_agent_skills/midnight-network.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,168 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.03168
Opus 5 $0.00040 $0.01584
Sonnet 5 $0.00016 $0.00634
Haiku 4.5 $0.00008 $0.00317

Measured 10d ago against content hash f54c23715170, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

midnight-network scanned grade A with 1 finding 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 10d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/monitor-validator.py, scripts/network-health-check.py, scripts/setup-indexer.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST http://localhost:9933 -H "Content-Type: application/json" \
midnight-network/SKILL.md · 466 lines

How it starts

The opening of the file, as written. The whole thing — 466 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Midnight Network Infrastructure

Complete guide to running and managing Midnight Network infrastructure.

Infrastructure Overview

Component Purpose Requirements
Full Node Validate transactions, relay blocks 4+ CPU, 8GB RAM, 100GB SSD
Archive Node Full history storage 4+ CPU, 16GB RAM, 1TB SSD
Validator Produce blocks, consensus 8+ CPU, 16GB RAM, 100GB SSD, stake
Indexer Query API for DApps 4+ CPU, 8GB RAM, 500GB SSD, v4.3.3
Proof Server Generate ZK proofs 8+ CPU, 32GB RAM, GPU recommended

Quick Start

Local Development (Recommended for DApps)

Option 1: midnight-local-dev (Full Local Network)

Provides complete local network with Node, Indexer, Proof Server:

git clone https://github.com/midnightntwrk/midnight-local-dev
cd midnight-local-dev
npm install
npm start

Network ID: undeployed

Services & Ports:

Service Port URL
Node 9944 http://localhost:9944
Indexer GraphQL 8088 http://localhost:8088/api/v4/graphql
Indexer WS 8088 ws://localhost:8088/api/v4/graphql/ws
Proof Server 6300 http://localhost:6300

Docker Images: node 0.24.0, indexer 4.3.3, proof-server 8.0.3

Funding: Use interactive menu to fund wallets with 50,000 tNIGHT each.

Standalone Mode (No Menu)
docker compose -f standalone.yml up -d
Option 2: midnight-wallet-cli
npx midnight-wallet-cli serve
Option 3: midnight-playground

Full Node Setup

# Using Docker (recommended)
docker run -d \
  --name midnight-node \
  -p 9933:9933 \
  -p 9944:9944 \
  -v midnight-data:/data \
  midnightnetwork/node:v0.24.0 \
  --network testnet-02 \
  --pruning archive

Validator Setup

# See detailed guide below
# Requires staking tokens

docker run -d \
  --name midnight-validator \
  -p 9933:9933 \
  -p 9944:9944 \
  --restart unless-stopped \
  -v validator-data:/data \
  midnightnetwork/node:v0.24.0 \
  --validator \
  --staking <stake-address>

Read the full file on GitHub · 466 lines

Changes

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.

  1. 10d ago First seen · 466 lines · 80 tokens per session scan A f54c23715170

Subscribe to this mod's changes

midnight-network is a skill published in the GitHub repository mzf11125/midnight_agent_skills (6 stars, last pushed 2mo ago), licensed MIT. It adds 80 tokens to every session and 3,168 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

blockchain-infrastructure

Use this skill when asked about blockchain node deployment, RPC infrastructure, CI/CD for smart contracts, monitoring and alerting for blockchain networks, MEV infrastructure (Flashbots, builders, relays), key management (KMS, HSM), and environment management for devnet/testnet/staging/mainnet. Languages: Go, Rust…

j4flmao/agent-skills · 234 tokens

chainstack

Work with the Chainstack MCP server to manage blockchain nodes and projects. Use when deploying nodes, migrating to Chainstack from another RPC provider such as QuickNode or Alchemy, checking platform status, searching Chainstack docs, contacting the Chainstack team, or interacting with the Chainstack platform API via…

chainstacklabs/mcp-server · 66 tokens

midnight-deploy

Deploy and manage Midnight smart contracts to local or preview network. Use this skill when deploying contracts, starting local infrastructure, or connecting to testnet. Triggers on "deploy contract", "start local node", "setup standalone", "deploy to preview", or "midnight infrastructure".

UvRoxx/midnight-agent-skills · 61 tokens

official-sui-skills

Pointer to the official Mysten Labs skills for building on Sui — language fundamentals, object model, PTBs, SDKs, publishing, upgrades, frontend integration, accessing on-chain data. Maintained upstream at github.com/MystenLabs/skills; pinned to the same ref the audit catalog derives from (see…

MystenLabs/sui · 116 tokens

sora-taira-testnet

Work against the SORA Taira testnet through its deployed Torii MCP endpoint for live account, asset, alias, contract, governance, Musubi package-registry, and transaction workflows. Use when Codex needs to inspect or mutate the Taira testnet, verify or add https://taira.sora.org/v1/mcp, prefer the curated iroha. tool…

hyperledger-iroha/iroha · 113 tokens

mochi-local-sandbox

Bring up and use a Mochi-managed local Iroha sandbox plus its local Torii MCP endpoint. Use when Codex needs a reliable local devnet, needs to print or verify the codex mcp add mochi-local --url ... command, or should consume the generated .env.local and .mochi/generated/ bootstrap files for local-only development.

hyperledger-iroha/iroha · 82 tokens