Midnight Skills
Knowledge base for AI agents building on Midnight Network
This project extends the Midnight Network with additional developer tooling.
Open SKILL.md packages that teach Cursor, Claude Code, Codex, and other agents how to build privacy-preserving dApps — Compact contracts, wallet flows, SDK wiring, and runnable templates.
Quick Start ·
Learning Paths ·
Skills Catalog ·
Community ·
MCP Server ·
Architecture ·
Telemetry ·
Contributing
Quick Start
Install the full knowledge base in one command. Agents auto-discover skills from .agents/skills/ or .claude/skills/.
Any agent — Skills CLI (recommended)
npx skills add Kali-Decoder/Midnight-skills -y
Browse and search skills at skills.sh.
Cursor
npx skills add Kali-Decoder/Midnight-skills -a cursor -y
Skills install to .agents/skills/ in your project (or ~/.cursor/skills/ globally with -g).
Claude Code
npx skills add Kali-Decoder/Midnight-skills -a claude-code -y
Or install it as a Claude Code plugin (skills plus an anonymous usage hook, see Telemetry & privacy):
/plugin marketplace add Kali-Decoder/Midnight-skills
/plugin install midnight-skills@midnight-skills
Codex & other agents
npx skills add Kali-Decoder/Midnight-skills -a codex -y
The Skills CLI supports 70+ agents. See the supported agents list.
Start with the router skill
Not sure which skill to load? Point your agent at the router first — it maps tasks to the right sub-skill:
.agents/skills/midnightskill/SKILL.md
Learning Paths
Curated sequences from skills.json. Follow a path end-to-end or jump to any step.
Build your first Midnight DApp
- Midnight Environment Setup — Install Compact, Docker, and proof server
- Why Midnight — Privacy model and ZK basics
- ZK vs FHE vs MPC — ZK vs FHE vs MPC tradeoffs
- React Wallet Connector — Connect a wallet in React
- Compact — Write your first Compact contract
- Example Hello World — Full stack hello-world + tests
- Midnight Passport — Passport passkey + Night ID + custody
- Example Passport Dapp — Run Passport foundations demo
- 1AM Wallet — Deploy and call circuits via 1AM
DeFi primitives on Midnight
- Token Transfers — Shielded and unshielded NIGHT flows
- Example Payment Dapp — Privacy-preserving payment vault
- Example Locker Dapp — Time-lock vault (vesting, LP locks)
- Example ZK Loan Application — ZK credit scoring loan with Schnorr attestation
Midnight node architecture