advance-minimax-m3-cursor-rules / rules
Cursor rule126 starsChanged 6 months agoMITView on GitHub
MiniMax M3 self-evolution harness: iterative refinement loops, compress-before-iterate, autonomous debugging, and recursive improvement patterns.
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-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/model-compatibility.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 minimax-m3-self-evolution.mdc into the rules it gives an agent
14 rules. About 0 are common, 14 are distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Do NOT repeat the same fix twice on the same hypothesis.
- Distinctive: line 31
Keep one canonical "current best hypothesis" line at the top of your scratchpad.
- Distinctive: line 49
Overall: If 5 total iterations pass without progress, summarize evidence and ask
- Distinctive: line 50
Context check: if you have run 3+ raw search/fetch operations without compressing, compress before continuing
- Distinctive: line 54
Always prefer direct evidence over inference:
- Distinctive: line 56
Test failures: Read the test output
- Distinctive: line 61
Never say "likely caused by" without reading the evidence first.
- Distinctive: line 65
When a fix doesn't work:
- Distinctive: line 76
Do not run the same diagnostic command twice expecting different results
- Distinctive: line 77
Do not make multiple changes between diagnostic cycles
- Distinctive: line 78
Do not assume a fix works without re-running the exact check
- Distinctive: line 79
Do not expand scope mid-iteration (finish the loop first)
- Distinctive: line 80
Do not accumulate raw search output across iterations without compressing
- Distinctive: line 81
Do not make a visual-fidelity claim without re-reading the post-change frame
≈ “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: "MiniMax M3 self-evolution harness: iterative refinement loops, compress-before-iterate, autonomous debugging, and recursive improvement patterns." alwaysApply: false --- # MiniMax M3 Self-Evolution Harness M3 has a 1M-token MSA context and high skill adherence, and supports autonomous self-improvement through iterative reinforcement learning loops. Use this rule when the task involves debugging, optimization, or recursive code improvement. ## Core Loop ``` Iterate until evidence shows the problem is solved or the approach is exhausted: 1. Run the smallest diagnostic check 2. Read the failure output directly 3. Compress prior raw evidence that you no longer need (see below) 4. Make ONE targeted fix based on evidence 5. Re-run the exact check that failed 6. If fixed, verify the broader surface 7. If not fixed, form a new hypothesis from the NEW evidence only ``` Do NOT repeat the same fix twice on the same hypothesis. Do NOT assume the cause without reading the evidence. ## Compress Before Next Iteration (M3) On M3 the failure mode shifts from "ran out of room" to "ran too many parallel hypotheses without compressing." Before each new iteration: - Replace raw search/fetch output from previous iterations with a 2–4 line summary. - Drop evidence that is no longer relevant to the current hypothesis. - Keep one canonical "current best hypothesis" line at the top of your scratchpad. - For very large work, use the `minimax-m3-long-context` skill to plan the loader. ## When to Use This Harness | Task | Harness Approach | |------|------------------| | Debug runtime error | Read error → one fix → re-run | | Optimize performance | Profile → smallest change → measure | | Fix failing test | Read test → read code → one fix → run test | | Investigate unexpected behavior | Log/check → hypothesis → targeted probe | | Iterative code improvement | Current state → one improvement → verify | | Triage a visual bug from a screenshot | Read the screenshot, form hypothesis, one fix, re-read the post-change frame (`multimodal-grounded`) | ## Iteration Limits - **Diagnostic phase**: 3 iterations to identify root cause - **Fix phase**: 2 iterations per hypothesis before switching strategy - **Overall**: If 5 total iterations pass without progress, summarize evidence and ask - **Context check**: if you have run 3+ raw search/fetch operations without compressing, compress before continuing ## Evidence Rules Always prefer direct evidence over inference: - Runtime errors: Read the actual error message - Test failures: Read the test output - Performance: Read the actual measurement - Behavior: Read the actual output/log - Visual claims: Read the actual attached image/frame, not a memory or guessed description Never say "likely caused by" without reading the evidence first. ## Self-Correction Pattern When a fix doesn't work: ``` Previous hypothesis: [what I thought was wrong] Evidence against it: [what actually happened] New hypothesis: [what the evidence suggests instead] Next action: [specific check to confirm new hypothesis] ``` ## Anti-Patterns - Do not run the same diagnostic command twice expecting different results - Do not make multiple changes between diagnostic cycles - Do not assume a fix works without re-running the exact check - Do not expand scope mid-iteration (finish the loop first) - Do not accumulate raw search output across iterations without compressing - Do not make a visual-fidelity claim without re-reading the post-change frame
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.

