midnightntwrk/midnight-expert/devnet-health
Claude Code and agent skill by midnightntwrk/midnight-expert
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to check the status or health of the local Midnight devnet, including "is the devnet running", "is the node up", "is the proof server responding", "indexer health", "devnet status", "devnet health", "are the containers running", "are the services healthy", "devnet probes", or when an agent (e.g. doctor, statusline) needs structured per-service status/health for the local devnet.
Install
npx vskill@latest install midnightntwrk/midnight-expert/devnet-healthSKILL.md
Devnet Health
Status and health checks for the local Midnight devnet (node, indexer, proof server). Pure shell — requires only bash, docker, and curl.
The two checks answer different questions:
- Status — "Is the docker container present, and is it running?"
- Health — "Is the service responding to its health endpoint within 5 s?"
Container running ≠ service healthy: a container can be running while the service inside is still booting, crashing on a loop, or otherwise not serving requests. Run both checks for a complete picture.
Service Inventory
| Service | Container Name | Port | Health Endpoint | |
|---|---|---|---|---|
node | midnight-node | 9944 | http://127.0.0.1:9944/health | |
indexer | midnight-indexer | 8088 | http://127.0.0.1:8088/ready | |
proof-server | midnight-proof-server | 6300 | http://127.0.0.1:6300/version |
Scripts
Both scripts live in scripts/ next to this SKILL.md and accept an optional --json flag.
status.sh — container status
Status values: running | stopped | not-found.
Exit 2 if Docker is missing or the daemon is not running (also reflected in JSON via the error field).
health.sh — HTTP probes
A service is healthy when its endpoint returns HTTP 2xx within the 5 s timeout.
Exit 2 if curl is not installed.
Usage Patterns
Quick eyeball check
"Is anything actually running?"
Status overlaid with health (treat running-but-unhealthy as down)
Per-service probe from a script (no jq)
Locating the Scripts at Runtime
Other skills, commands, and scripts that want to invoke these checks should resolve the absolute path via the plugin root. Use the midnight-plugin-utils:find-claude-plugin-root skill to materialize /tmp/cpr.py, then:
This keeps the scripts callable regardless of where the plugin is installed (project vs user vs marketplace).
When To Use Which Skill
| Question | Skill | |
|---|---|---|
| Start, stop, or configure the devnet, generate compose files, or pick versions | midnight-tooling:devnet | |
| Run a quick "is it up and serving?" probe from inside an agent or script | this skill | |
| Diagnose a broken devnet, port conflicts, indexer sync issues, partial startup | midnight-tooling:troubleshooting (with references/devnet-issues.md) | |
| Wire devnet status into the doctor command or statusline | this skill |
Compatibility Notes
- macOS / Linux: both scripts target POSIX
bash3.2+ and use onlydocker,curl,awk. No bash 4 features (associative arrays,mapfile). - `jq` is optional: scripts do not depend on
jq; they emit JSON directly withprintf. Callers that want to parse JSON can usejqif available or fall back to the tab-separated text output. - Timeouts: HTTP probes use a 5 s timeout. Status checks use Docker's default; on a healthy daemon they return immediately.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/midnight-tooling/skills/devnet-health/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/midnightntwrk/midnight-expert/devnet-health)