advance-minimax-m3-cursor-rules / rules
Cursor rule126 starsChanged 6 months agoMITView on GitHub
Model compatibility guide: prompt hierarchy, M3-first model selection, tool discipline, read-before-edit safety, and context control across models.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,531 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository27 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- .cursor/rules/3d-graphics.mdcCursor rule
- .cursor/rules/agent-teams.mdcCursor rule
- .cursor/rules/clarify-first-prompting.mdcCursor rule
- .cursor/rules/cursor-agent-orchestration.mdcCursor rule
- .cursor/rules/cursor-mcp-optimization.mdcCursor rule
- .cursor/rules/cursor-tools-mastery.mdcCursor rule
- .cursor/rules/design-systems.mdcCursor rule
- .cursor/rules/devops-infrastructure.mdcCursor rule
- .cursor/rules/fable5-coding-craft.mdcCursor rule
- .cursor/rules/fable5-reasoning.mdcCursor rule
- .cursor/rules/language-agnostic-patterns.mdcCursor rule
- .cursor/rules/minimax-m3-core.mdcCursor rule
- .cursor/rules/minimax-m3-self-evolution.mdcCursor rule
- .cursor/rules/minimax-m3-status-verification.mdcCursor rule
- .cursor/rules/minimax-m3-verification.mdcCursor rule
- .cursor/rules/minimax-mcp-tools.mdcCursor rule
- .cursor/rules/mobile-cross-platform.mdcCursor rule
- .cursor/rules/skill-authoring.mdcCursor rule
- .cursor/rules/tool-discovery.mdcCursor rule
- 3d-web-experiencesSkill
- anti-slop-designSkill
- deep-researchSkill
- incident-triage-harnessSkill
- minimax-m3-long-contextSkill
- minimax-m3-multimodal-inputSkill
- minimax-multimodal-toolkitSkill
The file
Show its rules and text
We split this model-compatibility.mdc into the rules it gives an agent
16 rules. About 0 are common, 14 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Treat the current environment as the source of truth:
- Distinctive: line 16
always-on rules should stay short, durable, and canonical
- Distinctive: line 20
Do not assume an older rule or prompt shape is still valid just because it appears in this repo.
- Distinctive: line 21
Prefer a single always-on execution spine over duplicated policy spread across multiple files.
- Distinctive: line 46
If the prompt exposes a tool for the action, prefer that tool over shell.
- Distinctive: line 47
Follow the exact tool schema shown by the environment.
- Distinctive: line 49
Keep commentary short; spend prompt budget on execution, not narration.
- Very specific: line 62
If the environment offers a patch or search-replace edit tool, prefer it for focused edits (Composer-style agents often expose StrReplace.
- Distinctive: line 66
Never hardcode fast-moving versions in rules.
- Distinctive: line 67
Use web search with the actual current month and year when versions matter.
- Very specific: line 68
Do not leave placeholders such as [current year] in the query.
- Distinctive: line 69
Before adding a new package, framework, or toolchain, verify the latest stable version, compatibility, and official setup path against …
- Distinctive: line 70
Do not describe guidance as current, official, or best practice unless it is backed by those sources.
- Distinctive: line 74
Read only what is needed for the task.
- Distinctive: line 75
Prefer targeted searches over broad scans.
- Distinctive: line 76
Keep durable lessons, not raw output, in active context.
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- description: "Model compatibility guide: prompt hierarchy, M3-first model selection, tool discipline, read-before-edit safety, and context control across models." alwaysApply: false --- # Transferable Agent Behavior (M3-first, model-resilient) This repo is tuned for MiniMax M3 first. M3 is a generational shift: 1M-token MSA context, native multimodal input (text, image, video), and higher agentic and coding benchmarks. The purpose of this file is to define the transferable execution behavior the agent should copy across models: tool-first work, read-before-edit discipline, short prompts, and context-aware problem solving that also maps well to strong GPT/Codex/Composer-style coding agents. ## Prompt Hierarchy Treat the current environment as the source of truth: - system instructions and exposed tools win - always-on rules should stay short, durable, and canonical - requestable rules should carry runtime-specific guidance - user instructions still define the task Do not assume an older rule or prompt shape is still valid just because it appears in this repo. Prefer a single always-on execution spine over duplicated policy spread across multiple files. ## Model Selection | Need | Default | Why | |------|---------|-----| | Long context (multi-file refactor, transcript analysis, large retrieval pack, full-repo synthesis) | `MiniMax-M3` | 1M-token MSA context | | Visual-fidelity work, design parity, error UI triage, screenshot-driven dev | `MiniMax-M3` | Native multimodal input (text, image, video) | | Deep agentic / coding (SWE-Bench-class tasks, long-horizon planning) | `MiniMax-M3` | Higher agentic and coding benchmarks | | Anything where the user asks for "frontier" by name | `MiniMax-M3` | Positioned as the new frontier default | When the active model is **not** M3 (for example `composer-2.5`, GPT, or Claude), the always-on core continues to apply — tool discipline, read-before-edit, scope control, solver loop, status taxonomy. The M3-specific sections (long-context discipline, multimodal input discipline) become inert, and the agent must not promise multimodal or 1M-context behavior. Confirm the model's actual capabilities from the current runtime before relying on them. ## Main Failure Modes The most common failures are: - writing plausible prose instead of using tools - guessing file contents instead of reading them - teaching stale tool names as if they were universal - overloading the prompt with duplicate process text - on M3, over-loading context with raw search/fetch output instead of compressing (see `minimax-m3-long-context`) - on M3, making visual claims without re-reading the actual attached image/frame (see `minimax-m3-multimodal-input`) ## Tool Discipline - If the prompt exposes a tool for the action, prefer that tool over shell. - Follow the exact tool schema shown by the environment. - Batch independent reads and searches when helpful. - Keep commentary short; spend prompt budget on execution, not narration. ## Read-Before-Edit Canonical workflow lives in the always-on core **Code Discipline** section. In short: ```text 1. Read the target file in the current session 2. Base the change on exact contents 3. Use the current edit primitive 4. Verify with follow-up reads, build, tests, browser checks, shell output, or multimodal-grounded re-reads ``` If the environment offers a patch or search-replace edit tool, prefer it for focused edits (Composer-style agents often expose `StrReplace`; other surfaces may use `ApplyPatch` or similar). ## Version Handling - Never hardcode fast-moving versions in rules. - Use web search with the actual current month and year when versions matter. - Do not leave placeholders such as `[current year]` in the query. - Before adding a new package, framework, or toolchain, verify the latest stable version, compatibility, and official setup path against current authoritative sources. - Do not describe guidance as current, official, or best practice unless it is backed by those sources. ## Context Management - Read only what is needed for the task. - Prefer targeted searches over broad scans. - Keep durable lessons, not raw output, in active context. - For large work, push detailed procedures into requestable rules or skills instead of the always-on core. - On M3, with 1M tokens available, still compress after each iteration — see `minimax-m3-long-context`.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

