compact-core
claudeCore knowledge for writing Midnight Compact smart contracts — contract structure, data types, ledger declarations, circuits, witnesses, and common patterns.
15 skills · 3 commands · 3 agents · hooks
Verification framework for Midnight claims — verifies Compact code by compiling and executing test contracts, SDK/TypeScript claims by type-checking and devnet E2E testing, ZKIR circuits by running through the WASM checker and inspecting compiled structure, witness implementations by cross-domain type-checking and execution against compiled contracts, or by inspecting source code. Multi-agent pipeline with explicit /verify command.
Plugin midnight-verify from marketplace midnight-expert in midnightntwrk/midnight-expert. Commands read from the repo's manifest — 12 days ago.
This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.
midnight-verify:verify-by-cli-executionVerification by running Compact CLI commands and observing output. Checks CLI availability, runs commands, captures stdout/stderr/exit code, inspects filesystem changes, and interprets results. Covers flag existence, flag behavior, output structure, error messages, exit codes, version info, and CLI-
midnight-verify:verify-by-devnetVerification by running E2E scripts against a local Midnight devnet. Writes SDK test scripts (raw or using testkit-js) that exercise the full transaction pipeline: deploy, call circuits, observe state. Checks devnet health before proceeding. Loaded by the sdk-tester agent. Loads the `midnight-toolin
midnight-verify:verify-by-executionVerification by compilation and execution. Translates a Compact claim into a minimal test contract, compiles it with the Compact CLI, runs the compiled output with @midnight-ntwrk/compact-runtime, and interprets the result. Loaded by the contract-writer agent. Covers workspace setup (lazy init), con
midnight-verify:verify-by-ledger-sourceVerification by source code inspection of the Midnight ledger Rust codebase. Searches and reads the actual Rust implementation to verify claims about transaction structure, token mechanics, cost model, on-chain VM, contract execution, and cryptographic primitives. Routes claims to specific crates wi
midnight-verify:verify-by-sourceVerification by source code inspection. Searches and reads the actual compiler, ledger, and runtime source code to verify structural or architectural claims about Compact and Midnight that cannot be tested via compilation. Uses octocode-mcp for quick lookups, falls back to local cloning for deep inv
midnight-verify:verify-by-type-checkVerification by TypeScript compilation. Writes TypeScript test files that exercise SDK type claims, then runs tsc --noEmit to check if types match. Also verifies user .ts files that import @midnight-ntwrk packages. Loaded by the type-checker agent. Covers workspace setup (lazy init), two modes (clai
midnight-verify:verify-by-wallet-sourceVerification by source code inspection of the Midnight Wallet SDK repositories. Searches and reads the actual wallet SDK source code to verify claims about wallet packages, the DApp Connector API, HD derivation, address encoding, and the three-wallet architecture. Uses octocode-mcp for quick lookups
midnight-verify:verify-by-witnessCross-domain witness verification pipeline. Compiles the Compact contract, type-checks the TypeScript witness against the compiled contract's generated Witnesses type, runs structural checklist analysis (name matching, return tuple shape, WitnessContext usage, private state immutability, side effect
midnight-verify:verify-by-zkir-checkerVerification by running the full ZK proof pipeline: compile Compact without --skip-zk to generate PLONK keys, execute the circuit via JS runtime to get proof data, serialize with proofDataIntoSerializedPreimage(), then verify with the @midnight-ntwrk/zkir-v2 WASM PLONK checker. Supports both contrac
midnight-verify:verify-by-zkir-inspectionVerification by compiling Compact to ZKIR and analyzing the compiled circuit structure. Extracts .zkir JSON from compilation output, parses instruction arrays, counts opcodes, traces data flow, and checks transcript encoding. Does not run the WASM checker — for constraint behavior, use verify-by-zki
midnight-verify:verify-compactCompact-specific claim classification and method routing. Determines what kind of Compact claim is being verified and which verification method applies: execution (compile+run), source inspection, or both. Loaded by the /midnight-verify:verify command alongside the hub skill. Provides the claim type
midnight-verify:verify-correctnessHub skill for the midnight-verify plugin. Classifies claims by domain, routes to the appropriate domain skill, dispatches sub-agents based on the domain skill's routing, and synthesizes final verdicts. Loaded by the /midnight-verify:verify command — the main thread acts as orchestrator.
midnight-verify:verify-ledgerLedger/protocol claim classification and method routing. Determines what kind of ledger claim is being verified and which verification methods apply: source investigation (primary), type-checking (pre-flight for TypeScript API), compilation/execution (secondary for testable claims), or ledger-v8 exe
midnight-verify:verify-sdkSDK/TypeScript claim classification and method routing. Determines what kind of SDK claim is being verified and which verification method applies: type-checking (tsc --noEmit), devnet E2E testing, source inspection, or package checks. Handles both claims about the SDK API itself and verification of
midnight-verify:verify-toolingCompact CLI tooling claim classification and method routing. Determines what kind of CLI claim is being verified and which verification method applies: CLI execution (primary for behavioral claims) or source investigation (for internal/architectural claims). Handles claims about compact compile flag
midnight-verify:verify-wallet-sdkWallet SDK claim classification and method routing. Determines what kind of wallet SDK claim is being verified and which verification methods apply: type-checking (pre-flight only), source investigation (primary), or devnet E2E (fallback). Handles claims about @midnightntwrk/wallet-sdk-* packages, W
midnight-verify:verify-witnessWitness claim classification and method routing. Determines what kind of witness claim is being verified and dispatches to the witness-verifier. Handles claims about witness type correctness, name matching, return tuple shape, type mappings, behavioral correctness, private state patterns, and two-fi
midnight-verify:verify-zkirZKIR claim classification and method routing. Determines what kind of ZKIR claim is being verified and which verification method applies: WASM checker (accept/reject testing), circuit inspection (compiled structure analysis), or source investigation. Handles claims about opcode semantics, constraint
midnight-verify:zkir-regressionRun a curated set of verification claims against the current toolchain to detect behavioral changes. Each claim is verified through the normal verification pipeline (classify → dispatch agent → verify). Supports full sweep (all categories) and targeted sweep (single category). Invocable as /midnight
/midnight-verify:fast-verifyFast source-first verification of Midnight claims. Uses source inspection as the primary method with optional background execution checks. Faster and cheaper than /midnight-verify:verify.
/midnight-verify:verifyVerify claims about Midnight, Compact code, or SDK APIs. Accepts a claim, file path, code snippet, SDK question, or no arguments to be prompted.
cli-testerUse this agent to verify Compact CLI tooling claims by running commands and observing output. Checks CLI availability, runs compact/compactc commands, captures stdout/stderr/exit codes, inspects filesystem changes, and interprets results. Dispatched by the /midnight-verify:verify command. Example 1:
contract-writerUse this agent to verify Compact claims by writing and executing test contracts. Translates a claim into a minimal Compact contract, compiles it with the Compact CLI, runs the compiled output with @midnight-ntwrk/compact-runtime, and reports what was observed. Dispatched by the /midnight-verify:veri
sdk-testerUse this agent to verify SDK behavioral claims by running E2E scripts against a local Midnight devnet. Checks devnet health first, then writes raw SDK scripts or testkit-js tests to exercise the full transaction pipeline. Dispatched by the /midnight-verify:verify command. Example 1: Claim "deployCon
source-investigatorUse this agent to verify Compact or Midnight claims by inspecting the actual source code of the compiler, ledger, runtime, or related repositories. Uses octocode-mcp for quick lookups, falls back to local cloning for deep investigation. Dispatched by the /midnight-verify:verify command. Example 1: C
type-checkerUse this agent to verify SDK type claims or check user TypeScript files by running tsc --noEmit. Writes type assertion files for claims about the SDK API, or copies user .ts files into the SDK workspace. Dispatched by the /midnight-verify:verify command. Example 1: Claim "deployContract returns Depl
witness-verifierUse this agent to verify that TypeScript witness implementations correctly match Compact contract declarations. Compiles the contract, type-checks the witness against generated types, runs structural analysis (name matching, return tuple shape, WitnessContext usage, private state patterns), and exec
zkir-checkerUse this agent to verify ZKIR-level claims by running circuits through the @midnight-ntwrk/zkir-v2 WASM checker or inspecting compiled circuit structure. Compiles Compact to extract .zkir, constructs proof data, invokes the checker, and analyzes circuit properties. Dispatched by the /midnight-verify
bash ${CLAUDE_PLUGIN_ROOT}/scripts/hooks/SessionStart.sh
bash ${CLAUDE_PLUGIN_ROOT}/scripts/hooks/subagent-stop-contract-writer.sh
bash ${CLAUDE_PLUGIN_ROOT}/scripts/hooks/subagent-stop-source-investigator.sh
bash ${CLAUDE_PLUGIN_ROOT}/scripts/hooks/subagent-stop-type-checker.sh
bash ${CLAUDE_PLUGIN_ROOT}/scripts/hooks/subagent-stop-cli-tester.sh
bash ${CLAUDE_PLUGIN_ROOT}/scripts/hooks/subagent-stop-sdk-tester.sh
bash ${CLAUDE_PLUGIN_ROOT}/scripts/hooks/subagent-stop-witness-verifier.sh
bash ${CLAUDE_PLUGIN_ROOT}/scripts/hooks/subagent-stop-zkir-checker.sh
Core knowledge for writing Midnight Compact smart contracts — contract structure, data types, ledger declarations, circuits, witnesses, and common patterns.
15 skills · 3 commands · 3 agents · hooks
Installs, configures, and manages the Midnight Network development toolchain — Compact CLI, compiler version switching, local devnet (node, indexer, proof server), diagnostics, and release notes for all Midnight components.
6 skills · 5 commands
Code quality tooling for Midnight Network projects — linting, formatting, type checking, testing, Git hooks, and CI workflows.
7 skills · 2 agents
Conceptual foundations for understanding the Midnight Network: architecture, data models, privacy patterns, protocols, tokenomics, and zero-knowledge proofs
6 skills · 1 agent
Fact-checking pipeline for Midnight content — extracts testable claims from any source (markdown, code, PDFs, URLs, GitHub repos), classifies them by domain (Compact, SDK, ZKIR, Witness), and verifies each claim using the midnight-verify framework. Produces structured JSON artifacts and human-readable reports.
3 skills · 2 commands · 2 agents
Technical reference for the Midnight node — Substrate-based architecture, runtime pallets, RPC interface, configuration, operations, and governance
6 skills
IoT device lifecycle, telemetry anomaly detection, fleet management, and witness chain verification for Cognitum Seed hardware
5 skills · 1 command · 4 agents
Find and verify professional email addresses, search contacts by domain, and enrich company data -- directly in Claude.
13 skills · 1 MCP server
Portable operating method: session lifecycle agents, pre-ship code review, deploy with live verification and state doc update, and production log health check
5 agents
Build beautiful documentation sites with Mintlify. Convert non-markdown files into properly formatted MDX pages, add and modify content with correct component use, and automate documentation updates.
1 skill · 1 MCP server
gbrain persona variant for coding agents: the brain-first coding skill set (retrieval, routing, ingest discipline, correction hygiene) — a curated subset of the full plugin. Install exactly one gbrain plugin per machine.
21 skills · 1 MCP server · hooks
Compact the current conversation into a handoff document for another agent to pick up. Configurable save location, redaction enforcement, SessionStart auto-load + SessionEnd reminder, self-check fidelity script, --refresh flag, mtime-guarded cleanup. Inspired by Matt Pocock's handoff (MIT).
1 skill · 2 commands · 1 agent · hooks
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.