kverus-fix

kverus-fix is a skill for Codex from asterinas/KVerus. It costs 50 tokens per session (1,932 once invoked), scanned A, original, MIT.

A troubleshooting workflow for Verus verification failures. It makes small proof-preserving edits and reruns the provided or discovered verification command.

In plain words
What is it for?
Use it with a target file and verification command, or let it discover them automatically; it can also use an existing error message as an initial clue.
Why use it?
It helps locate and fix formal-checking errors while minimizing changes to the program and its correctness guarantees.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md; $skill-name invocation.

Good fit Use it with a target file and verification command, or let it…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asterinas/kverus/kverus-fix
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 asterinas/KVerus --skill kverus-fix
Clone the repo
git clone --depth 1 https://github.com/asterinas/KVerus

Made for: Codex.

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 kverus-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/asterinas/kverus/kverus-fix.svg)](https://agentmods.dev/skills/asterinas/kverus/kverus-fix)
Your own site
<a href="https://agentmods.dev/skills/asterinas/kverus/kverus-fix"><img src="https://agentmods.dev/badge/skills/asterinas/kverus/kverus-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,932 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 original No closer match found 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.00050 $0.01932
Opus 5 $0.00025 $0.00966
Sonnet 5 $0.00010 $0.00386
Haiku 4.5 $0.00005 $0.00193

Measured 3d ago against content hash 7d785e47d771, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

kverus-fix 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 3d 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.

skills/kverus-fix/SKILL.md · 152 lines

How it starts

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

Fix Verus verification failures by iterating edits and verification until the verification command succeeds.

Preferred invocation:

$kverus-fix target=path/to/entry.rs verify="<verification command>" error_message="<initial error message>" out_path=path/to/output

Automatic discovery:

$kverus-fix mode=auto

Enter automatic discovery mode when mode=auto is requested or either target or verify is missing; otherwise use explicit mode. Treat any supplied value as authoritative and discover only the missing value. Do not ask for missing inputs until the discovery procedure below has been exhausted.

Treat target as an entry file for diagnosis, not as the only file that may be edited.

If error_message is provided, use it as a first-pass hint, then always trust fresh output from the verification command.

If out_path is missing, use a reasonable workspace-local default path and report it.

Shared Verus References

Before adding verification annotations to executable functions or loops, read ../kverus-common/references/verus-syntax-quickref.md.

If a failure appears caused by Verus syntax, modes, ghost/tracked values, loop invariants, quantifiers, specialized solvers, or tokenized state-machine rules, read the relevant reference under ../kverus-common/references/ before editing.

If verification shows that a std, core, or alloc API has no applicable vstd specification, read both ../kverus-common/references/std-external-specifications.md and ../kverus-common/references/proof-engineering-and-trust-boundaries.md.

Objective

Given Verus code and its verification failure, produce a corrected version that passes verification while preserving proof intent.

Start from target, then modify only the smallest necessary dependency closure required to clear the verification failure.

Automatic Discovery Mode

Discover the verification command before the target so that the target is grounded in fresh diagnostics.

Discover the Verification Command

Read the full file on GitHub · 152 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago Changed 7d785e47d771
  2. 7d ago First seen · 152 lines · 50 tokens per session scan A ca7315bc3141

Subscribe to this mod's changes

kverus-fix is a skill published in the GitHub repository asterinas/KVerus (23 stars, last pushed 3d ago), licensed MIT. It adds 50 tokens to every session and 1,932 once invoked, about $0.0003 per session on Opus 5. 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-08-30.