uv

uv is a cursor rule for Cursor from dantetemplar/chunk-explorer. It costs 308 tokens per session, scanned A, a copy of uv, MIT.

Project rules for managing Python packages with uv, a tool that installs, synchronizes, and locks Python dependencies.

In plain words
What is it for?
Use them when adding, removing, upgrading, locking, or running Python dependencies and scripts.
Why use it?
They keep dependency changes consistent by requiring one package manager and preventing accidental use of other tools such as pip or Poetry.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use them when adding, removing, upgrading, locking, or running Python dependencies and scripts.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/dantetemplar/chunk-explorer/uv
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/dantetemplar/chunk-explorer

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 uv

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/dantetemplar/chunk-explorer/uv"><img src="https://agentmods.dev/badge/rules/dantetemplar/chunk-explorer/uv.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 308 This file is loaded in full into every session.
When invoked 308 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 91% copy Near-identical to another mod 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.00308 $0.00308
Opus 5.5 $0.00123 $0.00123
Sonnet 5.5 $0.00062 $0.00062
Haiku 4.5 $0.00031 $0.00031

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

Security

Grade A, and why

uv 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 5d 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.

Origin

This is a copy

91% identical to uv — 15 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/rules/uv.mdc · 69 lines

What it actually says

Package Management with uv

These rules define strict guidelines for managing Python dependencies in this project using the uv dependency manager.

✅ Use uv exclusively

  • All Python dependencies must be installed, synchronized, and locked using uv.
  • Never use pip, pip-tools, or poetry directly for dependency management.

🔁 Managing Dependencies

Always use these commands:

# Add or upgrade dependencies
uv add <package>

# Remove dependencies
uv remove <package>

# Reinstall all dependencies from lock file
uv sync

🔁 Scripts

# Run script with proper dependencies
uv run script.py

You can edit inline-metadata manually:

# /// script
# requires-python = ">=3.12"
# dependencies = [
#     "torch",
#     "torchvision",
#     "opencv-python",
#     "numpy",
#     "matplotlib",
#     "Pillow",
#     "timm",
# ]
# ///

print("some python code")

Or using uv cli:

# Add or upgrade script dependencies
uv add package-name --script script.py

# Remove script dependencies
uv remove package-name --script script.py

# Reinstall all dependencies from lock file
uv sync --script script.py
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. 5d ago First seen · 69 lines · 308 tokens per session scan A cd5b06f18a59

Subscribe to this mod's changes

uv is a cursor rule published in the GitHub repository dantetemplar/chunk-explorer (11 stars, last pushed 1y ago), licensed MIT. It adds 308 tokens to every session, about $0.0012 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to uv, differing in 15 lines, and is treated as a copy.