cursorrules

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

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.

agentmods
npx agentmods add rules/jvpalma/dotrun/cursorrules
Clone the repo
git clone --depth 1 https://github.com/jvPalma/dotrun

Made for: Cursor.

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. Scan, not verified.
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 $0.00414 $0.00414
Opus 5 $0.00207 $0.00207
Sonnet 5 $0.00083 $0.00083
Haiku 4.5 $0.00041 $0.00041

Measured yesterday against content hash 588f75986c7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 5mo ago), licensed MIT. It adds 414 tokens to every session, about $0.0021 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.

Related

Other cursor rules, from other repositories

retention-predictor

Skill — retention-predictor. Predicts retention potential via usage frequency, habit formation mechanics, and churn risk factors.

MaxKmet/idea-validation-agents · 24 tokens

pro-deck-builder

Create polished HTML slide decks and PDF-ready documents for consulting deliverables. Uses the RRBC design system with warm light mode, dark mode cover pages, Lora/Inter/Roboto Mono typography, and data visualization palette. Trigger on 'deck', 'slides', 'presentation', 'pitch deck', 'keynote', 'report', or 'PDF'.

thatrebeccarae/claude-marketing · 70 tokens

release-notes

Generate changelog entries and GitHub releases from git history. Categorizes commits into features, fixes, breaking changes, and docs. Supports conventional commits, PR-based grouping, and semantic versioning. Creates formatted CHANGELOG.md entries and GitHub releases.

thatrebeccarae/claude-marketing · 50 tokens

facebook-ads

Meta Ads (Facebook & Instagram) platform expertise. Audit campaigns, audiences, creative strategy, pixel tracking, and CAPI. Use when the user asks about Facebook Ads, Instagram Ads, Meta Ads, social media advertising, Advantage+ campaigns, or Meta pixel/CAPI setup.

thatrebeccarae/claude-marketing · 55 tokens

cursor

Bazi (Four Pillars / 八字) skill — call the local CLI, never invent the chart.

sapuyou45-bit/oraclebone · 0 tokens

arcjet-ai-apps

Security guidance for AI/LLM endpoints — layered Arcjet protection with prompt injection, PII blocking, and token budgets.

arcjet/arcjet-plugin · 0 tokens