formal-verification

formal-verification is a plugin for Claude Code from melodic-software/claude-code-plugins. Its manifest loads nothing; the 2 skills it bundles cost 136 tokens per session together, scanned A, original, MIT.

A formal-verification plugin for checking important system rules with TLA+ and TLC, a model checker. It also provides tools for creating, checking, and maintaining formal-area skills and for displaying model behavior as Mermaid statecharts.

In plain words
What is it for?
Use it to set up the model-checking tools, propose or create formal checks, verify them, refresh them after code changes, and inspect failures as state diagrams.
Why use it?
It checks modeled cases within a defined scope, including orderings of events that ordinary tests may not cover. It also gives a readable path to a rule violation for review.

Plugin for Claude Code

Written for Claude Code: a Claude Code plugin manifest.

Good fit Use it to set up the model-checking tools, propose or create formal checks, verify them, refresh them after code changes, and inspect failures as state diagrams.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
/plugin install formal-verification
Install

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.

Clone the repo
git clone --depth 1 https://github.com/melodic-software/claude-code-plugins

Made for: Claude Code.

Wrote 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.

agentmods badge for formal-verification

README.md
[![agentmods](https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/formal-verification/github.svg)](https://agentmods.dev/plugins/melodic-software/claude-code-plugins/formal-verification)
Your own site
<a href="https://agentmods.dev/plugins/melodic-software/claude-code-plugins/formal-verification"><img src="https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/formal-verification/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.

agentmods 80×15 button for formal-verification

Your own site · 80×15
<a href="https://agentmods.dev/plugins/melodic-software/claude-code-plugins/formal-verification"><img src="https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/formal-verification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 2 skills cost 136 tokens a session between them.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

formal-verification 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 today.

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.

plugins/formal-verification/.claude-plugin/plugin.json · 46 lines

What it actually says

{
  "name": "formal-verification",
  "description": "Formal verification for the part of a codebase where a bug costs most. /formal-verification:chart model-checks a TLA+ spec with TLC and draws its states as a Mermaid chart, with the shortest path to each broken rule for a person to judge. /formal-verification:setup checks the toolchain and installs the pinned, checksummed model checker only on a typed yes. A consumer's formal-<area> skill follows reference/formal-skill.md; /formal-verification:specify proposes, writes and checks them.",
  "author": {
    "name": "Melodic Software",
    "email": "[email protected]"
  },
  "version": "0.4.4",
  "license": "MIT",
  "keywords": [
    "formal-verification",
    "tla-plus",
    "tlc",
    "model-checking",
    "statechart",
    "mermaid",
    "skill"
  ],
  "metadata": {
    "category": "testing"
  },
  "userConfig": {
    "model_checker_jar": {
      "type": "file",
      "title": "Model checker jar",
      "description": "Path to tla2tools.jar, the TLC model checker. Unset uses the jar that setup installs under the plugin data directory."
    },
    "java": {
      "type": "file",
      "title": "Java binary",
      "description": "Path to the java binary that runs TLC. Unset uses java on PATH. The plugin never installs Java."
    },
    "script_runtime": {
      "type": "file",
      "title": "Script runtime",
      "description": "Path to the Node, Bun or Deno binary that runs the chart scripts. Unset lets the launcher pick the first supported one on PATH."
    },
    "branding": {
      "type": "string",
      "title": "Rendered-view branding (JSON)",
      "description": "Palette, type and logo overrides for rendered HTML pages as one JSON object matching branding in docs/conventions/rendered-views.yaml. Empty (default): shipped look. Repository team and personal override files win; invalid values are reported and ignored.",
      "default": ""
    }
  }
}
Contents

What it installs

The manifest is a name and a version. 2 skills travel with it, and installing the plugin installs all of them — 136 tokens a session between them. Each is measured on its own page, and each can be installed alone.

Changes

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.

  1. today Changed 8f0b0fcac575
  2. yesterday Changed · +6 lines 71d25e3efbb6
  3. 3d ago Changed 9f738d417c10
  4. 5d ago Changed 0d937a23d1f3
  5. 6d ago Changed f7182889d7cd
  6. 7d ago Changed 2b6192d95569
  7. 8d ago Changed e1aafcf9efe7
  8. 11d ago Changed 1501076423be
  9. 12d ago First seen · 40 lines scan A 5f6a6a4cbab2

Subscribe to this mod's changes

formal-verification is a plugin published in the GitHub repository melodic-software/claude-code-plugins (33 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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-11-18.

Related

formal-verification compared with plugins from other repositories

formal-verification next to 6 plugins from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
formal-verificationmelodic-software/claude-code-pluginsPlugin33todayMITA—Claude Code
humanizerblader/humanizerPlugin75k10d agoMITA—Claude Code
claude-plugins-official marketplaceanthropics/claude-plugins-officialPlugin49kyesterdayApache-2.0A—Claude Code
nextjsvercel/next.jsPlugin144ktodayMITA—Claude Code
themes-examplegoogle-gemini/gemini-cliPlugin109ktodayApache-2.0A—Gemini CLI
android-skillsandroid/skillsPlugin11k7d agoApache-2.0A—Claude Code
knowledge-work-plugins marketplaceanthropics/knowledge-work-pluginsPlugin37k4d agoApache-2.0A—Claude Code