verus-query-timing

verus-query-timing is a skill for Claude Code, Codex from lbx154/Argus. It costs 28 tokens per session (708 once invoked), scanned A, original, MIT.

A Verus query-timing diagnostic that replays the solver checks generated for a source module. Verus is a Rust verification tool, and the solver checks whether the requested conditions hold.

In plain words
What is it for?
Use it to record each replayed query's time and resource-count change, connect queries to source locations, and compare the same verification procedure before and after a change.
Why use it?
Verus may report only total time for a function or module, making it hard to find which loop or solver query consumes resources.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to record each replayed query's time and resource-count change, connect queries to source locations, and compare the same verification procedure before and after a change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lbx154/argus/verus-query-timing
View source ↗ lbx154/Argus
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 lbx154/Argus --skill verus-query-timing
Clone the repo
git clone --depth 1 https://github.com/lbx154/Argus

Made for: Claude Code, 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 verus-query-timing

README.md
[![agentmods](https://agentmods.dev/badge/skills/lbx154/argus/verus-query-timing/github.svg)](https://agentmods.dev/skills/lbx154/argus/verus-query-timing)
Your own site
<a href="https://agentmods.dev/skills/lbx154/argus/verus-query-timing"><img src="https://agentmods.dev/badge/skills/lbx154/argus/verus-query-timing/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 verus-query-timing

Your own site · 80×15
<a href="https://agentmods.dev/skills/lbx154/argus/verus-query-timing"><img src="https://agentmods.dev/badge/skills/lbx154/argus/verus-query-timing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 708 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.00028 $0.00708
Opus 5.5 $0.00011 $0.00283
Sonnet 5.5 $0.00006 $0.00142
Haiku 4.5 $0.00003 $0.00071

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

Security

Grade A, and why

verus-query-timing 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 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (replay.py, summarize.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

packages/core/starter/skills/verus-query-timing/SKILL.md · 27 lines

What it actually says

Use when Verus reports only function-aggregate timing but a maintenance comparison needs each loop's query time and resource count. First run the actual registered source with default settings and observational --time --time-expanded --output-json --log smt --log-dir EVIDENCE/smt. Keep JSON, stderr and process time/RSS separately. Do not equate failed resource exhaustion with a false theorem.

Replay the relevant module file using the same supplied Z3:

python3 <this skill's folder>/replay.py --smt EVIDENCE/smt/MODULE.smt2 --out EVIDENCE/query-replay --z3 "$VERUS_Z3_PATH"

The script adds echo markers around each existing check-sat/statistics group, preserves all generated options and query order, records timestamps around checks and resource-count deltas, and associates queries with the original Function-Def/source-span comments. It records full responses plus a concise query listing. This is serialized generated-query replay, not an actual Verus verification result or native per-loop wall time. Compare the same procedure before/after, separately from whole-crate wall and function SMT totals. Never inject raised limits into the selected workflow to obtain a comparison.

The case that caught the need: a base64 decoder campaign: the baseline timing aggregates decode_complete_quads, while its generated module log identifies source loops at decode.rs:284 and :390. Actual default run reports 177/2; replay shows both queries unknown/canceled at exactly 30,000,000 resource units, roughly 1.91 s and 1.67 s. The task-local predecessor replay-loop-timing.py produced the retained evidence. This generic script preserves that algorithm; no claim is made that timing is a repeatable constant. Inspect actual generated log format before using it with a different Verus release.

Maintenance case (same decoder): measure the executable-only variant before attempting proof repairs. Computing each decode block start once and using start..start+width made preserved E pass 179/0 with zero ghost edits; the original two queries exhausted 30M each, while the changed queries finished at 28.21M and 9.10M. The same replay command above exposes this sensitivity. Retain the executable-only patch and empty proof-repair patch when no repair is needed; do not infer a maintenance-cost advantage for reorganized proofs from the original baseline failure. Raw reproduction: .system-proof/t3/measure.sh and COMPARISON.md.

Summarize responses and all moved work with the companion script:

python3 <this skill's folder>/summarize.py EVIDENCE/query-replay/baseline-loop-queries.json --function decode_complete_quads --function prepare_decode --function canonical_quads_bounds

The same decoder's reorganization extracted three checked lemmas and passed 182/0 without executable edits. Include those new queries in comparisons: reporting loop reductions alone would omit moved work. The same campaign's t3 maintenance change also made original E pass 179/0 with zero proof edits, so a baseline failure does not establish a maintenance repair-cost advantage. Compare the same change on both proofs before making that claim. The script prints query response and source span and labels summed serialized costs separately from native function aggregates.

Files

What ships with it

2 files 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. 6d ago First seen · 27 lines · 28 tokens per session scan A 6b7dc38eb7eb

Subscribe to this mod's changes

verus-query-timing is a skill published in the GitHub repository lbx154/Argus (336 stars, last pushed 4d ago), licensed MIT. It adds 28 tokens to every session and 708 once invoked, about $0.0001 per session on Opus 5.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-11-24.

Related

verus-query-timing compared with skills from other repositories

verus-query-timing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
verus-query-timinglbx154/ArgusSkill3364d agoMITA28Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7k4d agoMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9k2d agoApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill339todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
triaging-web-analytics-supportPostHog/posthogSkill41ktodaynoneA151Claude Code, Codex