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.
npx skills add mzf11125/midnight_agent_skills --skill midnight-conceptsgit clone --depth 1 https://github.com/mzf11125/midnight_agent_skillsWrote 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.
[](https://agentmods.dev/skills/mzf11125/midnight_agent_skills/midnight-concepts)<a href="https://agentmods.dev/skills/mzf11125/midnight_agent_skills/midnight-concepts"><img src="https://agentmods.dev/badge/skills/mzf11125/midnight_agent_skills/midnight-concepts/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.
<a href="https://agentmods.dev/skills/mzf11125/midnight_agent_skills/midnight-concepts"><img src="https://agentmods.dev/badge/skills/mzf11125/midnight_agent_skills/midnight-concepts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.03272 |
| Opus 5.5 | $0.00030 | $0.01309 |
| Sonnet 5.5 | $0.00015 | $0.00654 |
| Haiku 4.5 | $0.00008 | $0.00327 |
Grade A, and why
midnight-concepts scanned grade A with 0 findings 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.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 484 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Midnight Concepts
Comprehensive guide to Midnight Network's foundational concepts, privacy technology, and architecture.
What is Midnight?
Midnight is a zero-knowledge partner chain to Cardano that enables privacy-preserving blockchain applications. It solves the fundamental tension between transparency and privacy in blockchain technology through advanced zero-knowledge cryptography.
Key Innovation: Selective disclosure - applications can choose exactly what information to make public and what to keep private, while maintaining verifiability.
Core Features:
- Privacy-preserving smart contracts
- Selective disclosure
- UTXO + Account hybrid model
- Zswap for private token transfers
- Integration with Cardano security
Architecture Overview
Three-Part Contract Structure
Each Compact smart contract has three components:
-
Replicated Component (Public Ledger)
- Stored on-chain
- Verifiable by anyone
- Contains public state
-
Zero-Knowledge Circuit
- Proves correct execution
- Keeps inputs private
- Generates proofs
-
Local Component (Off-chain)
- Runs in DApp
- Arbitrary computation
- Witness functions
Core Concepts
1. Kachina Protocol
THE foundational smart contract architecture that enables private state management.
How It Works:
- User has private state (witness)
- Circuit proves valid transition
- Public state updates on-chain
- Both states stay consistent
Key Properties:
- Public state + Private state model
- Zero-knowledge proof bridge
- Transcript-based concurrency
- Universally Composable (UC) security
From the whitepaper: Kachina uses a novel combination of a public ledger and private witnesses, with circuits proving correct state transitions.
2. Privacy Mechanisms
Zswap Protocol
Privacy-preserving token system hiding:
- Transaction amounts
- Sender/recipient identities
- Token types
Features:
- Shielded tokens (hidden)
- Unshielded tokens (public)
- Conversion between both
- Zero-knowledge proofs for validity
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 484 lines · 76 tokens per session scan A b85d96eb9382
midnight-concepts is a skill published in the GitHub repository mzf11125/midnight_agent_skills (5 stars, last pushed 4mo ago), licensed MIT. It adds 76 tokens to every session and 3,272 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
midnight-concepts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| midnight-conceptsmzf11125/midnight_agent_skills | Skill | 5 | 4mo ago | MIT | A | 76 | Claude Code, Codex |
| official-sui-skillsMystenLabs/sui | Skill | 7.8k | today | Apache-2.0 | A | 116 | Claude Code, Codex |
| sui-and-move-toolsMystenLabs/sui | Skill | 7.8k | today | Apache-2.0 | A | 105 | Claude Code, Codex |
| sora-taira-testnethyperledger-iroha/iroha | Skill | 490 | yesterday | Apache-2.0 | A | 113 | Codex |
| TronScan Data LookupBofAI/skills | Skill | 164 | 4d ago | MIT | A | 33 | Claude Code, Codex |
| mochi-local-sandboxhyperledger-iroha/iroha | Skill | 490 | yesterday | Apache-2.0 | A | 82 | Codex |
| web3-audituphiago/recon-skills | Skill | 1.3k | 2mo ago | MIT | A | 103 | Claude Code, Codex |