/midnight-verify:verify-toolingfrom midnight-verify
Classifies Compact CLI tooling claims and routes to the correct verification method: CLI execution (behavioral claims) or source investigation (architectural claims). Dispatches to cli-tester or source-investigator agents.
Ships in midnight-verify. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill classifies Compact CLI tooling claims and determines which verification method to use. The /midnight-verify:verify command loads this alongside the midnight-verify:verify-correctness hub skill.
Routing rule: If the claim is about what the language allows/disallows, route to verify-compact. If the claim is about what the CLI does when you run it, route here.
Overlap: "The compiler rejects X" could be either. If the claim is about a language rule ("you can't assign Field to Uint<8>"), it's Compact. If the claim is about CLI behavior ("the compiler exits with code 1 on syntax errors"), it's tooling.
CLI execution is the default. Source investigation is for when you genuinely can't run a command to answer the question.
midnight-verify:verify-by-source skill). For internal/architectural claims about how the compiler works under the hood.| Claim Type | Example | Primary | Secondary |
|---|---|---|---|
| Flag existence | "--skip-zk is a valid flag" | @"midnight-verify:cli-tester (agent)" (run --help, check output) | — |
| Flag behavior | "--skip-zk skips PLONK key generation" | @"midnight-verify:cli-tester (agent)" (compile with/without, compare output dirs) | @"midnight-verify:source-investigator (agent)" |
| Output structure | "Compilation produces build/contract/index.js" | @"midnight-verify:cli-tester (agent)" (compile, inspect filesystem) | — |
| Error messages | "Undeclared variables produce 'not in scope' error" | @"midnight-verify:cli-tester (agent)" (feed bad input, check stderr) | @"midnight-verify:source-investigator (agent)" |
| Exit codes | "Compilation errors exit with non-zero" | @"midnight-verify:cli-tester (agent)" (run, check $?) | — |
| Version info | "--language-version returns the current version" | @"midnight-verify:cli-tester (agent)" (run, parse output) | — |
| Installation | "compact is installed via npm" | @"midnight-verify:cli-tester (agent)" (check which compact) | @"midnight-verify:source-investigator (agent)" |
| CLI vs compactc | "compact compile invokes compactc" | @"midnight-verify:cli-tester (agent)" (run both, compare) | @"midnight-verify:source-investigator (agent)" |
| Compiler internals | "The compiler is written in Scheme" | @"midnight-verify:source-investigator (agent)" | — |
| CLI wrapper internals | "compact is a shell script wrapper" | @"midnight-verify:source-investigator (agent)" | @"midnight-verify:cli-tester (agent)" (file type check) |
When in doubt:
CLI execution is preferred whenever possible. The command ran and produced this output — that's more authoritative than reading source code about what the output should be.
The @"midnight-verify:cli-tester (agent)" may load this skill for context. It is a hint only — never cite skill content as evidence.
midnight-tooling:compact-cli skill — expected flags, compilation patterns, version managementWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub midnightntwrk/midnight-expert --plugin midnight-verify19 skills in this plugin
/verify-by-cli-executionmidnight-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-vs-compactc comparisons. Loaded by the cli-tester agent./verify-by-devnetmidnight-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-tooling:devnet` skill for infrastructure management./verify-by-executionmidnight-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), contract writing, compilation, runner script creation, execution, and result interpretation. References midnight-tooling:compact-cli for compilation details.Other plugins' skills for the same job