file-editing

file-editing is a cursor rule for Cursor from FrigateCaptain/ElucidatingYourLLM. It costs 315 tokens per session, scanned A, original, MIT.

File-handling rules written in Russian that require following requests literally, avoiding unrequested changes, and making backups.

In plain words
What is it for?
Useful for tasks that create, modify, or back up files.
Why use it?
They reduce unwanted edits and help preserve recoverable copies of files.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Useful for tasks that create, modify, or back up files.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/frigatecaptain/elucidatingyourllm/file-editing
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/FrigateCaptain/ElucidatingYourLLM

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 file-editing

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/frigatecaptain/elucidatingyourllm/file-editing"><img src="https://agentmods.dev/badge/rules/frigatecaptain/elucidatingyourllm/file-editing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 315 This file is loaded in full into every session.
When invoked 315 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.00315 $0.00315
Opus 5.5 $0.00126 $0.00126
Sonnet 5.5 $0.00063 $0.00063
Haiku 4.5 $0.00032 $0.00032

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

Security

Grade A, and why

file-editing 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 2mo 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/en/.cursor/rules/file-editing.mdc · 27 lines

What it actually says

Working with files and text

Literal execution of requests

  • Apply exactly the changes the user asks for.
  • Do not make unrequested changes (column order, formatting, renaming, restructuring, etc.).
  • If the AI believes an extra change would help — ask for confirmation first, stating what and why.
  • Only after explicit user confirmation — apply the additional change.

Exception — scripts: when creating or modifying executable scripts (.py, .sh, .bash) — always follow the full Scripts Management process. Updating spec, COMPLIANT, and REGISTRY is a mandatory part of the change.

File protection

  • Work only with explicitly specified files and sources. Do not touch other files, even if they look similar or are “related in meaning.”
  • If there are several possible sources (ODT, TXT, MD, etc.) or doubts remain — stop and ask the user which source to use and what exactly to change.
  • Do not change the meaning, structure, or format of a document without a direct request.

Backups and confirmations

  • Before experiments or bulk edits — copy/backup the source file and work on the copy.
  • Before applying edits — state what changes are planned and wait for confirmation. Afterward — briefly record what was changed and which files were affected.
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. 2mo ago First seen · 27 lines · 315 tokens per session scan A a9969c2ad3a3

Subscribe to this mod's changes

file-editing is a cursor rule published in the GitHub repository FrigateCaptain/ElucidatingYourLLM (14 stars, last pushed 18d ago), licensed MIT. It adds 315 tokens to every session, about $0.0013 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.

Related

Other cursor rules, from other repositories

language-agnostic-patterns

Language-agnostic programming patterns: SOLID, design patterns, clean code, and architecture. Load when refactoring, designing abstractions, or reviewing structure — not for everyday syntax.

madebyaris/advance-minimax-m3-cursor-rules · 37 tokens

cursor-tools-mastery

Cursor 3.7 runtime guide: choose the right tool, canvases, Design Mode, /worktree, /best-of-n, Await, and parallel execution where safe.

madebyaris/advance-minimax-m3-cursor-rules · 36 tokens

cursor-agent-orchestration

Cursor 3.7 orchestration guide: when to plan, when to delegate, nested subagents, multi-environment handoffs, /best-of-n, and Await for long-running branches.

madebyaris/advance-minimax-m3-cursor-rules · 39 tokens

fable5-reasoning

Fable 5 reasoning protocols: task interpretation, risk-first decomposition, approach selection, interleaved thinking, hypothesis ledgers, premortems, calibration, and the stuck-strategy ladder. Load for complex, ambiguous, or long-horizon tasks, for debugging strategy, or whenever progress stalls.

madebyaris/advance-minimax-m3-cursor-rules · 60 tokens

cursor-mcp-optimization

Cursor 3.7 MCP optimization: browser Design Mode, canvases, Figma, Cloudflare tools, MCP Apps structured content, and direct action patterns.

madebyaris/advance-minimax-m3-cursor-rules · 32 tokens

minimax-m3-self-evolution

MiniMax M3 self-evolution harness: iterative refinement loops, compress-before-iterate, autonomous debugging, and recursive improvement patterns.

madebyaris/advance-minimax-m3-cursor-rules · 26 tokens