control-files-archive

control-files-archive is a cursor rule for Cursor from FrigateCaptain/ElucidatingYourLLM. It costs 31 tokens per session (232 once invoked), scanned A, original, MIT.

A file-management rule for outdated control files, such as plans, checklists, maps, diagrams, and registries. When the described state changes, the old file moves to an archive and the live and archived copies link to each other.

In plain words
What is it for?
It is for updating and archiving files used to make decisions or diagnose work after the state they describe changes.
Why use it?
It prevents obsolete instructions from being mistaken for the current state while preserving the historical version.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It is for updating and archiving files used to make decisions or diagnose work after the state they describe changes.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/frigatecaptain/elucidatingyourllm/control-files-archive
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 control-files-archive

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/frigatecaptain/elucidatingyourllm/control-files-archive"><img src="https://agentmods.dev/badge/rules/frigatecaptain/elucidatingyourllm/control-files-archive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 232 The whole file, excluding the scripts and references it only reads on demand.
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.00031 $0.00232
Opus 5 $0.00015 $0.00116
Sonnet 5 $0.00006 $0.00046
Haiku 4.5 $0.00003 $0.00023

Measured 4d ago against content hash dc2f2bd14cf4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

control-files-archive 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 4d 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/control-files-archive.mdc · 15 lines

What it actually says

A control file is one used to make a decision or to diagnose: a map of links, a diagram, a registry, a plan, a checklist. A historical incident record, a change journal, and a history of blocks are not control files in this sense: they are not archived and not rewritten after the fact to match a new state.

When the state described in a control file has changed, or when it is found that the file describes a state that no longer exists:

  1. Rewrite the live version to match the actual state.
  2. Move the outdated version into archive/ in the same folder. Do not leave an outdated copy next to the live file in the shared folder.
  3. Put a link to the live file in the archived copy. Put a link to the archived copy in the live file.

The trigger is a state change or a discovered mismatch, not "sometime at the next review."

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. 4d ago First seen · 15 lines · 31 tokens per session scan A dc2f2bd14cf4

Subscribe to this mod's changes

control-files-archive is a cursor rule published in the GitHub repository FrigateCaptain/ElucidatingYourLLM (14 stars, last pushed 4d ago), licensed MIT. It adds 31 tokens to every session and 232 once invoked, about $0.0002 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-09-05.