project-numina/numina-lean-agent / skills/verification
verification
VerifiedVerification tools for compiling, validating, and disproving Lean theorems
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 780 B |
| reference-axle-disprove.md | markdown | 1.5 KB |
| reference-axle-verify-proof.md | markdown | 1.7 KB |
| reference-lean-check.md | markdown | 1.2 KB |
reference-lean-check.md
View on GitHub# lean-check — Local Compile Check
Check if Lean code compiles without errors using `lake env lean`. Runs locally — no API key needed.
## CLI Invocation
```bash
python skills/cli/lean_check.py FILE [OPTIONS]
```
| Argument | Required | Default | Description |
|----------|----------|---------|-------------|
| `FILE` | yes | — | Lean file path to check |
| `--timeout-seconds` | no | 120 | Max execution time (default: 120) |
## Output
Returns JSON:
- `okay` (bool) — whether the file compiled without errors
- `lean_messages` — list of errors, warnings, and infos with line numbers (`file_name`, `line`, `column`, `severity`, `data`)
- `failed_declarations` — list of theorem/definition names that failed
## Examples
```bash
python skills/cli/lean_check.py proof.lean
python skills/cli/lean_check.py proof.lean --timeout-seconds 300
```
## Notes
- No `--environment` flag needed — automatically detects the Lean project root by finding `lean-toolchain`.
- Runs `lake env lean` locally, so the project must have been built at least once (`lake build` or `lake exe cache get`).
- No API key required.
- Multiple checks can run in parallel (each is an independent process).
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: 197k | 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 |