Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By punt-labs
Create, validate, and test formal Z specifications for stateful systems using fuzz and probcli
npx claudepluginhub punt-labs/claude-plugins --plugin z-specAudit test coverage for Z specification constraints
Animate and model-check a B machine with probcli
Type-check a B machine with probcli
Create a B machine from description or translate an existing Z spec
Create or verify a B refinement machine
Admin access level
Server config contains admin-level keywords
Runs pre-commands
Contains inline bash commands via ! syntax
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Velocity through clarity.
TLA+ model checker as MCP tools — validate specs, list invariants, run checks, and replay counterexamples directly from Claude Code.
Spec-driven development with search, conflict detection, and reporting
Specification-Driven Development with Process Discipline for Claude Code
Specification-driven development workflow: specify → plan → tasks → implement
Comprehensive Spec-Driven Development toolkit with multi-language support, specialized agents, and integrated security/observability tools
Amazon Working Backwards PR/FAQ process — generate professional LaTeX documents for product discovery and decision-making
Autonomous agent daemon with cryptographic owner control. Email communication via IMAP/SMTP with PGP trust model.
Identity binding for humans and AI agents — voice, email, GitHub, writing style, personality.
UNIX-style team communication for Claude Code: /who, /finger, /plan, /write, /read, /mesg, /tty, /last, /wall, /talk
A text adventure game engine for Claude Code. Play scripted dungeon crawls, UNIX-themed adventures, and more — powered by Claude as the game master.
Bash prerequisite issue
Uses bash pre-commands but Bash not in allowed tools
Bash prerequisite issue
Uses bash pre-commands but Bash not in allowed tools
Share bugs, ideas, or general feedback.
Formal Z specifications and B machines that type-check, animate, and refine --- from English to math to code.
Platforms: macOS, Linux
Z ("zed") is a formal specification language based on set theory and first-order predicate logic. It was developed at the University of Oxford in the late 1970s and is standardized as ISO 13568.
A Z specification describes a system as:
correct ≤ attempts, level ≥ 1)The specification says what a system does, not how. When a type-checker (fuzz) accepts a spec, the description is internally consistent. When an animator (ProB) explores the state space, you see every reachable configuration --- including ones you forgot to think about.
Z's sibling, the B-Method, extends the same mathematical foundations with a substitution language and a deterministic refinement chain from spec to code. This plugin supports both --- see B-Method below.
Formal specs catch entire classes of bugs mathematically, not just the specific inputs you happened to test. A spec invariant like ¬(radioMode = receiving ∧ toneActive) makes it structurally impossible to miss the case where keying occurs during receive mode --- no matter how many test cases you write, the invariant covers all of them.
Formal specifications have always caught these bugs. They were too expensive to write by hand --- hours of skilled effort per schema. An LLM drafts the spec; fuzz type-checks it. The methods are the same; the time cost is not.
Z Spec orchestrates two established tools that do the mathematical heavy lifting:
fuzz.sty for LaTeX rendering.Both are installed automatically by /z-spec:setup all. fuzz is compiled from source; ProB is downloaded as a pre-built binary for your platform.
curl -fsSL https://raw.githubusercontent.com/punt-labs/z-spec/5b18f6d/install.sh | sh
uv tool install punt-z-spec
claude plugin marketplace add punt-labs/claude-plugins
claude plugin install z-spec@punt-labs
z-spec doctor
curl -fsSL https://raw.githubusercontent.com/punt-labs/z-spec/5b18f6d/install.sh -o install.sh
shasum -a 256 install.sh
cat install.sh
sh install.sh
Inside Claude Code:
/z-spec:setup all # Install fuzz and probcli
/z-spec:code2model the user authentication system # Generate your first spec
/z-spec:check docs/auth.tex # Type-check it
/z-spec:test docs/auth.tex # Animate and model-check