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.5 $0.00032 $0.01267
Sonnet 5.5 $0.00016 $0.00634
Haiku 4.5 $0.00008 $0.00317

Measured 2mo ago against content hash f54c23715170, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (5 stars, last pushed 4mo ago), licensed MIT. It adds 80 tokens to every session and 3,168 once invoked, about $0.0003 per session on Opus 5.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

midnight-network compared with skills from other repositories

midnight-network next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
midnight-networkmzf11125/midnight_agent_skillsSkill54mo agoMITA80Claude Code, Codex
blockchain-infrastructurej4flmao/agent-skillsSkill383d agoMITA213Claude Code, Codex
chainstackchainstacklabs/mcp-serverSkill511d agoMITA76Claude Code, Codex
indexer-setuplidonation/Cardano-mcpSkill21mo agoMITA59Claude Code
midnight-deployUvRoxx/midnight-agent-skillsSkill97mo agoMITA61Claude Code, Codex
devloopx-cmd/x-cmdSkill4.7k6d agoApache-2.0A25Claude Code, Codex
official-sui-skillsMystenLabs/suiSkill7.8ktodayApache-2.0A116Claude Code, Codex