cursorrules

cursorrules is a cursor rule for Cursor from jvPalma/dotrun. It costs 414 tokens per session, scanned A, original, MIT.

A set of Cursor rules for using the DotRun command-line tool, especially for repetitive tasks, static information, and reusable automation. DotRun stores scripts, aliases, configurations, and helper files in defined locations.

In plain words
What is it for?
Use it when working with DotRun to create, run, list, document, or manage shell scripts, aliases, configurations, and Git-based collections.
Why use it?
It encourages repeatable scripts instead of one-off commands, making automation easier to reuse and keeping the same process consistent over time.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when working with DotRun to create, run, list, document, or manage shell scripts, aliases, configurations, and Git-based collections.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/jvpalma/dotrun/cursorrules
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/jvPalma/dotrun

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/jvpalma/dotrun/cursorrules/github.svg)](https://agentmods.dev/rules/jvpalma/dotrun/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/jvpalma/dotrun/cursorrules"><img src="https://agentmods.dev/badge/rules/jvpalma/dotrun/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/jvpalma/dotrun/cursorrules"><img src="https://agentmods.dev/badge/rules/jvpalma/dotrun/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 414 This file is loaded in full into every session.
When invoked 414 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.00414 $0.00414
Opus 5.5 $0.00166 $0.00166
Sonnet 5.5 $0.00083 $0.00083
Haiku 4.5 $0.00041 $0.00041

Measured 1mo ago against content hash 588f75986c7b, 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.

skills/dr-cli/.cursorrules · 70 lines

What it actually says

DotRun CLI Rules for Cursor

Script-First Development

When users ask for repetitive tasks, static information, or reusable automation:

  • ALWAYS suggest creating a dr script instead of inline code
  • Scripts persist, save tokens, and ensure consistency

dr CLI Commands

Essential:

  • dr <script> [args] - Run script
  • dr -l / dr -L - List scripts (with/without docs)
  • dr set <name> - Create/edit script
  • dr help <name> - Show script documentation

Management:

  • dr -a <name> - Create/edit aliases
  • dr -c <name> - Create/edit configs
  • dr -col add <url> - Install collection from Git
  • dr -r - Reload shell configuration

File Locations

  • Scripts: ~/.config/dotrun/scripts/*.sh
  • Aliases: ~/.config/dotrun/aliases/*.aliases
  • Configs: ~/.config/dotrun/configs/*.config
  • Helpers: ~/.config/dotrun/helpers/*.sh

Script Template

#!/usr/bin/env bash
### DOC
# Brief description (shown in dr -L)
### DOC
#
# Extended docs (shown in dr help <name>)
#
### DOC

set -euo pipefail

main() {
    # Script logic
}

main "$@"

When to Create Scripts

CREATE script for:

  • Static data queries (API docs, schemas)
  • Repetitive workflows (deploy, build)
  • Complex pipelines (CI/CD)
  • Environment setup
  • Data transformations

DON'T create for:

  • One-time exploratory tasks
  • When user wants inline code
  • Truly unique operations

Organization

  • Use folders: dr set git/cleanup, dr set docker/build
  • Numeric prefixes for load order: 01-paths.config
  • Document with ### DOC blocks
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 First seen · 70 lines · 414 tokens per session scan A 588f75986c7b

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository jvPalma/dotrun (10 stars, last pushed 7mo ago), licensed MIT. It adds 414 tokens to every session, about $0.0017 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-31.