show-module-filenames

show-module-filenames is a cursor rule for Cursor from briangmilnes/APAS-VERUS. It costs 355 tokens per session, scanned A, original, MIT.

A naming rule for a Rust project whose chapters and modules contain repeated function, type, and trait names.

In plain words
What is it for?
It is for reports, plans, reviews, and code discussions that mention functions, types, traits, or specification functions.
Why use it?
It prevents ambiguity by showing exactly which source file a referenced item belongs to.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It is for reports, plans, reviews, and code discussions that mention functions, types, traits, or specification functions.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/briangmilnes/apas-verus/show-module-filenames
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.

Clone the repo
git clone --depth 1 https://github.com/briangmilnes/APAS-VERUS

Made for: Cursor.

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 show-module-filenames

README.md
[![agentmods](https://agentmods.dev/badge/rules/briangmilnes/apas-verus/show-module-filenames/github.svg)](https://agentmods.dev/rules/briangmilnes/apas-verus/show-module-filenames)
Your own site
<a href="https://agentmods.dev/rules/briangmilnes/apas-verus/show-module-filenames"><img src="https://agentmods.dev/badge/rules/briangmilnes/apas-verus/show-module-filenames/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 show-module-filenames

Your own site · 80×15
<a href="https://agentmods.dev/rules/briangmilnes/apas-verus/show-module-filenames"><img src="https://agentmods.dev/badge/rules/briangmilnes/apas-verus/show-module-filenames.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 355 This file is loaded in full into every session.
When invoked 355 The same file — it is already loaded in full.
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.00355 $0.00355
Opus 5 $0.00178 $0.00178
Sonnet 5 $0.00071 $0.00071
Haiku 4.5 $0.00036 $0.00036

Measured 8d ago against content hash 990dead6c749, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

show-module-filenames 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 8d 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.

.cursor/rules/interaction/show-module-filenames.mdc · 41 lines

What it actually says

Qualify All Function and Type References

This codebase has many functions with the same name in different chapters and files (e.g., insert, find, spec_wf, clone, new). When mentioning any function, type, trait, or spec fn, always include the chapter and file so the reader knows exactly which one you mean.

Format

  • src/ChapNN/ModuleName.rs — chapter modules
  • src/vstdplus/module.rs — vstdplus
  • src/experiments/module.rs — experiments

When to Apply

  • Mentioning any function, type, trait, or spec fn by name
  • Summarizing what a module does
  • Listing functions, types, or proof holes
  • Describing changes, fixes, or proof work
  • Tables of modules, errors, or status
  • Plans, reports, and agent output

Examples

Bad: "Fixed insert to add a requires clause."

Good: "Fixed insert in src/Chap41/ArraySetStEph.rs to add a requires clause."

Bad: "The spec_wf predicate needs a real body."

Good: "The spec_arrayseqsteph_wf predicate in src/Chap18/ArraySeqStEph.rs needs a real body."

Bad: "The assumes in find are lock-boundary."

Good: "The assumes in find (src/Chap05/SetMtEph.rs) are lock-boundary."

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. 8d ago First seen · 41 lines · 355 tokens per session scan A 990dead6c749

Subscribe to this mod's changes

show-module-filenames is a cursor rule published in the GitHub repository briangmilnes/APAS-VERUS (10 stars, last pushed 1mo ago), licensed MIT. It adds 355 tokens to every session, about $0.0018 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-31.