SkillTrust

← All skills

invariant-inference

100 / 100 · Low risk

Fine to try.

By ArabelaTso/Skills-4-SE (GitHub) · coding · 260 stars · scanned at commit 4f38503

Automatically infer loop invariants for code verification and correctness proofs. Use when analyzing loops to identify properties that hold throughout execution, generating assertions for verification, proving loop correctness, or documenting loop behavior. Supports Python, Java, C/C++, and language-agnostic analysis. Generates invariants as code assertions (assert statements). Triggers when users ask to infer invariants, find loop properties, generate loop assertions, prove loop correctness, o…

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'invariant-inference' ] || [ -L ~/.agents/skills/'invariant-inference' ]; then echo 'A skill folder named invariant-inference already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/ArabelaTso/Skills-4-SE' "$d" && git -C "$d" checkout --quiet '4f38503747e0617504bce5329283ef837d375c09' -- 'skills/invariant-inference' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/invariant-inference' ~/.agents/skills/'invariant-inference' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'invariant-inference' ~/.claude/skills/'invariant-inference' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for ArabelaTso/Skills-4-SE shows the score of its lowest-scoring skill.

SkillTrust badge for ArabelaTso/Skills-4-SE

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/ArabelaTso/Skills-4-SE.svg)](https://zalavijaysinh.github.io/skilltrust/repos/ArabelaTso/Skills-4-SE/)

Score history

DateVersionScore
2026-11-074f38503100