plugin-files-mode

plugin-files-mode is a cursor rule for Cursor from griddynamics/rosetta. It costs 273 tokens per session, scanned A, original, Apache-2.0.

A set of startup rules for running Rosetta as a plugin whose instructions come from local files. It defines which files contain rules, skills, agents, workflows, and configuration.

In plain words
What is it for?
It is for bootstrapping plugin sessions and loading the correct local project guidance.
Why use it?
It prevents the agent from using the wrong instruction source or skipping required setup files.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: mentions subagents.

Good fit It is for bootstrapping plugin sessions and loading the correct local project guidance.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/griddynamics/rosetta/plugin-files-mode
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/griddynamics/rosetta

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 plugin-files-mode

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/griddynamics/rosetta/plugin-files-mode"><img src="https://agentmods.dev/badge/rules/griddynamics/rosetta/plugin-files-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 273 This file is loaded in full into every session.
When invoked 273 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.00273 $0.00273
Opus 5.5 $0.00109 $0.00109
Sonnet 5.5 $0.00055 $0.00055
Haiku 4.5 $0.00027 $0.00027

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

Security

Grade A, and why

plugin-files-mode 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 27d 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.

plugins/rosetta-cursor-light/rules/plugin-files-mode.mdc · 19 lines

What it actually says

<rosetta:plugin_files_mode REQUIRED="true" OVERRIDABLE="FALSE" PLAN_MODE="FULLY COMPATIBLE" severity="CRITICAL" use="ALWAYS" compact="NEVER" summarize="AS-IS">

Rosetta bootstrap, release R3 of instructions itself (the tool developing this workspace). RUNNING AS PLUGIN — Plugin Mode Active, context appended via hooks.

Rosetta Prep Steps = execute once per session: USE SKILL load-project-context, hitl.

PLUGIN FILES ONLY — any Rosetta/KB MCP mention resolves to installed Rosetta plugin files, NEVER Rosetta MCP. SKILL, AGENT/SUBAGENT and WORKFLOW/COMMAND resolve BY NAME across EVERY installed Rosetta plugin, not only the one the hook reports; each path is relative to the plugin that OWNS that unit: RULE rules/*.mdc, SKILL skills/*/SKILL.md, AGENT/SUBAGENT agents/*.md, WORKFLOW/COMMAND commands/*.md. Load the actual plugin file; reconstruction/assumption != loading.

</rosetta:plugin_files_mode>

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. 27d ago Changed · +38 tokens per session 869d601aebcb
  2. 3mo ago First seen · 19 lines · 235 tokens per session scan A 3aadec0ac73e

Subscribe to this mod's changes

plugin-files-mode is a cursor rule published in the GitHub repository griddynamics/rosetta (384 stars, last pushed today), licensed Apache-2.0. It adds 273 tokens to every session, about $0.0011 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-09-03.

Related

plugin-files-mode compared with cursor rules from other repositories

plugin-files-mode next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plugin-files-modegriddynamics/rosettaCursor rule384todayApache-2.0A273Cursor
cursorrulesFredAntB/Spec-Driven-DevelopmentCursor rule1606mo agoMITA430Cursor
ponytailDietrichGebert/ponytailCursor rule205k13d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor