vscodium-rust: Cursor rule for Cursor

.cursorrules

cursorrules is a cursor rule for Cursor from H4D3ZS/vscodium-rust. It costs 349 tokens per session, scanned A, original, MIT.

A Cursor editor rules file for a Rust project using kortex context integration. It also covers the project structure and development guidelines.

In plain words
What is it for?
Guiding code changes in the vscodium-rust project. The input does not describe the specific kortex features.
Why use it?
It keeps the agent’s work aligned with the project’s documented structure and coding rules.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

This is H4D3ZS/vscodium-rust's own configuration. It tells Cursor how to work on vscodium-rust itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vscodium-rust configures →

Reuse

Borrowing it

Nothing to install: this file belongs to H4D3ZS/vscodium-rust. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/H4D3ZS/vscodium-rust/main/.cursorrules
Clone the repo
git clone --depth 1 https://github.com/H4D3ZS/vscodium-rust

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 cursorrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/h4d3zs/vscodium-rust/cursorrules/github.svg)](https://agentmods.dev/rules/h4d3zs/vscodium-rust/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/h4d3zs/vscodium-rust/cursorrules"><img src="https://agentmods.dev/badge/rules/h4d3zs/vscodium-rust/cursorrules/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 cursorrules

Your own site · 80×15
<a href="https://agentmods.dev/rules/h4d3zs/vscodium-rust/cursorrules"><img src="https://agentmods.dev/badge/rules/h4d3zs/vscodium-rust/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 349 This file is loaded in full into every session.
When invoked 349 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.00349 $0.00349
Opus 5.5 $0.00140 $0.00140
Sonnet 5.5 $0.00070 $0.00070
Haiku 4.5 $0.00035 $0.00035

Measured 1mo ago against content hash 3a5f7f4229ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cursorrules 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 1mo 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.

.cursorrules · 31 lines

What it actually says

Kortex Context Integration

This file is auto-populated by the .aim Neural VFS system

[INSTRUCTIONS] This project uses Kortex (.aim) for zero-token context management.

When analyzing this codebase:

  1. Check for .aim/memory.aim files in the project root or parent directories
  2. The AIM proxy at http://127.0.0.1:1536 provides compressed context injection
  3. Use the neuraldrive GUI to explore the 3D code graph for architecture understanding

Project Structure

  • kortex/ - Main Rust workspace with AI-interactive memory system
    • aim-proxy/ - local-inference MITM proxy (port 1536)
    • neuraldrive/ - Tauri desktop app for 3D code visualization
    • daemon/ - Memory management daemon
    • vfs_layer/ - Virtual filesystem integration
    • tui/ - Terminal UI

Development Guidelines

  • Always build with cargo build --release from kortex root
  • The aim-proxy intercepts local inference requests and injects compressed context
  • NeuralDrive mounts projects and generates .aim memory tokens
  • Token cost optimization: ~1 token per 50MB of project state via prefix caching

Quick Start

  1. Start your local model server (Lemonade / llama-server)
  2. Start AIM-Proxy: cd kortex && .\target\release\aim-proxy.exe
  3. Configure AI client to use http://127.0.0.1:1536
  4. Launch NeuralDrive: .\target\release\neuraldrive.exe
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. 1mo ago Changed · +5 tokens per session 3a5f7f4229ca
  2. 1mo ago First seen · 31 lines · 344 tokens per session scan A 3f3e7d912bf3

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository H4D3ZS/vscodium-rust (256 stars, last pushed 22d ago), licensed MIT. It adds 349 tokens to every session, about $0.0014 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-08-30.