factory-formal-verify-maintain

factory-formal-verify-maintain is a skill for Claude Code from watt-mind/factory. It costs 105 tokens per session (1,592 once invoked), scanned A, a copy of maintain-formal-verification-skill, Apache-2.0.

A maintenance skill for formal verification, which uses mathematical checks or models to test whether code still satisfies a stated property after changes. It brings the verification model, test harness, or properties back in line with the current code.

In plain words
What is it for?
It finds changes to verified code, updates the related verification, reruns the checks, and labels each result as in sync, updated, bug, or blocked.
Why use it?
A verification check can keep passing while describing old code, creating false confidence. This skill separates outdated verification from an actual bug in the code.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the core plugin — 38 skills, 22 commands, 5 agents, 1 hook shipped together

Good fit It finds changes to verified code, updates the related verification, reruns the checks, and labels each result as in sync, updated, bug, or blocked.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/watt-mind/factory/factory-formal-verify-maintain
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.

Any agent
npx skills add watt-mind/factory --skill factory-formal-verify-maintain
Clone the repo
git clone --depth 1 https://github.com/watt-mind/factory

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 38 skills, 22 commands, 5 agents, 1 hook.

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 factory-formal-verify-maintain

README.md
[![agentmods](https://agentmods.dev/badge/skills/watt-mind/factory/factory-formal-verify-maintain/github.svg)](https://agentmods.dev/skills/watt-mind/factory/factory-formal-verify-maintain)
Your own site
<a href="https://agentmods.dev/skills/watt-mind/factory/factory-formal-verify-maintain"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/factory-formal-verify-maintain/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 factory-formal-verify-maintain

Your own site · 80×15
<a href="https://agentmods.dev/skills/watt-mind/factory/factory-formal-verify-maintain"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/factory-formal-verify-maintain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,592 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00105 $0.01592
Opus 5.5 $0.00042 $0.00637
Sonnet 5.5 $0.00021 $0.00318
Haiku 4.5 $0.00011 $0.00159

Measured 12d ago against content hash b1ccebe4f6e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

factory-formal-verify-maintain 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 12d 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.

Origin

This is a copy

95% identical to maintain-formal-verification-skill — 14 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/core/skills/factory-formal-verify-maintain/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Maintain a formal verification skill

A formal check proves a property of what it describes. When the code changes and the verification does not, the check can keep passing while it describes code that no longer exists. That pass is the dangerous case, because it looks like a proof. This skill is the upkeep loop for a verify skill that /factory-formal-verify-create generated, or for any project-local skill that runs a model checker, prover, or code-level verifier against named code. The project-local skill handles a change that an agent makes while it uses that skill. This skill handles the changes that skipped it: merges, edits made without the skill, and drift that builds up across many commits.

Outcomes

Give each check one outcome, and say which:

  • in sync: no change since the last sync alters what the check describes, and the check passes.
  • updated: the code changed, the verification now describes the new code, and the check passes.
  • bug: the verification describes the current code, and the code breaks the property. This is a finding about the code. It is not drift.
  • blocked: the check could not be brought back in line or could not run. Say exactly why.

A check can be both updated and bug: the update makes the verification describe the code again, and then the property fails on it.

Edit scope

Edit only the verification: models, harnesses, property files, and the verify skill itself (inside a ticketed, isolated worktree per the repo's floor). Never edit product code during a run, unless the user asks you to. When a property fails on the current code, do not weaken the property or the model to make it pass. Report the failure.

Pass

  1. Find the checks. A verify skill has no fixed name, so find it by what it does: a project skill that runs a model checker, a prover, or another verifier against named code. Read each one you find, or the one the user named. For each check, collect the property, the code it covers, the bounds and assumptions, the command that runs it, and the commit where it was last confirmed to describe the code. If no verify skill exists, stop and point at /factory-formal-verify-create. If the skill does not record a sync commit, use the last commit that changed the verification files, and say that you did.

Read the full file on GitHub · 59 lines

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. 12d ago Changed b1ccebe4f6e3
  2. 15d ago First seen · 59 lines · 105 tokens per session scan A 70c3ff77a361

Subscribe to this mod's changes

factory-formal-verify-maintain is a skill published in the GitHub repository watt-mind/factory (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 105 tokens to every session and 1,592 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to maintain-formal-verification-skill, differing in 14 lines, and is treated as a copy.

Related

factory-formal-verify-maintain compared with skills from other repositories

factory-formal-verify-maintain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factory-formal-verify-maintainwatt-mind/factorySkill24yesterdayApache-2.0A105Claude Code
agent-performance-optimizerruvnet/rufloSkill83ktodayMITA19Claude Code
agent-refinementruvnet/rufloSkill83ktodayMITA15Claude Code
ap-depth-proberSpielewoy/autoprompt-skillSkill1.3k1mo agoMITA22Claude Code
ap-preflight-probeSpielewoy/autoprompt-skillSkill1.3k1mo agoMITA23Claude Code
reengineering-vibe-coderichfrem/agent-plugins-skillsSkill8yesterdayMITA124Claude Code
mutation-testingvmobifystudio/app-dev-teamSkill57d agoMITA65Claude Code