a5c-ai/babysitter / library/specializations/cryptography-blockchain/skills/certora-prover
certora-prover
VerifiedFormal verification using Certora Prover with CVL specification language. Supports invariant rules, parametric verification, ghost variables, and counterexample analysis for mathematical proof of contract correctness.
README.md
View on GitHub# Certora Formal Verification Skill
Formal verification of smart contracts using Certora Prover with the CVL specification language.
## Overview
This skill enables mathematical proof of smart contract correctness through Certora's formal verification technology.
## Key Capabilities
- **CVL Specifications**: Write formal property specifications
- **Invariant Verification**: Prove state invariants hold
- **Parametric Rules**: Verify properties across all functions
- **Counterexample Analysis**: Debug verification failures
## Quick Start
```bash
# Install Certora
pip install certora-cli
export CERTORAKEY=<api-key>
# Run verification
certoraRun certora/conf/token.conf
```
## Example Specification
```cvl
invariant balanceUnderSupply(address user)
balanceOf(user) <= totalSupply()
rule transferPreservesTotal(address to, uint256 amount) {
uint256 before = totalSupply();
transfer(e, to, amount);
assert before == totalSupply();
}
```
## Related Resources
- [SKILL.md](./SKILL.md) - Full skill specification
- [Certora Docs](https://docs.certora.com/)
- [CVL Reference](https://docs.certora.com/en/latest/docs/cvl/index.html)
## Process Integration
- `formal-verification.js`
- `smart-contract-security-audit.js`
- `lending-protocol.js`
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |