advance-minimax-m3-cursor-rules / rules
Cursor rule126 starsChanged 6 months agoMITView on GitHub
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.
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-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/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 cursor-agent-orchestration.mdc into the rules it gives an agent
22 rules. About 0 are common, 16 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Prefer local when you need fast edit–run–debug loops, full filesystem access, or machine-specific verification.
- Distinctive: line 19
Prefer /worktree (isolated git worktree) when the task must not collide with the main tree, when you are running parallel branches, or when …
- Distinctive: line 20
Consider cloud when a task should keep running while you are away, or when you want continuation without tying up the local machine — then …
- Distinctive: line 21
Consider SSH when the runtime is on a remote host (e.g.
- Distinctive: line 37
Do not over-plan one-file fixes or straightforward edits.
- Distinctive: line 38
Use the environment's active planning workflow or mode when it exists instead of assuming a specific planning tool name.
- Distinctive: line 48
Avoid delegation overhead for instant or light work.
- Very specific: line 50
When several independent branches exist, do not launch them serially by habit.
- Very specific: line 54
Multitask Mode: when the session is in Multitask Mode, background subagent runs are expected — set run_in_background: true on Task and …
- Very specific: line 70
Keep prompts bounded. /best-of-n is wasted when the prompt is vague.
- Distinctive: line 100
Prefer 2 to 4 concurrent subagents over a long serial chain.
- Distinctive: line 101
Do not split work so finely that coordination costs more than the saved time.
- Distinctive: line 102
If one branch depends on another, keep it sequential.
- Distinctive: line 103
If two subagents may overlap, assign different directories, files, or questions.
- Very specific: line 104
When you can name the environment (local/worktree/cloud/SSH) and the model per subagent, do — it makes the synthesis cleaner.
- Very specific: line 110
Use TodoWrite for real multi-step execution:
- Distinctive: line 115
Keep the list current. Do not let stale in-progress items pile up.
- Distinctive: line 134
Do not postpone all checks to the end.
- Distinctive: line 135
after code changes, run the smallest relevant command
- Very specific: line 136
after UI changes, use browser checks or multimodal-grounded re-reads of post-change frames
- Distinctive: line 137
after a major feature phase, run broader validation
- Distinctive: line 139
Use the diff / review surface in Cursor when it helps you stage, review, and ship.
≈ “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: "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." alwaysApply: false --- # Cursor 3.7 Agent Orchestration Current through **Cursor 3.7** (Jun 2026). Use this rule for deep or exhaustive tasks where coordination matters more than raw implementation speed. ## Core Idea The main agent should own synthesis. Plans, subagents, and task tracking exist to reduce context load and make large work safer. On M3, the main agent also owns the 1M-context loader — see `minimax-m3-long-context`. ## Local, worktree, cloud, and SSH sessions Cursor 3.7 emphasizes moving work between execution environments inside the Agents Window. Treat this as workflow guidance, not a requirement: - Prefer **local** when you need fast edit–run–debug loops, full filesystem access, or machine-specific verification. - Prefer **/worktree** (isolated git worktree) when the task must not collide with the main tree, when you are running parallel branches, or when you want a disposable environment. - Consider **cloud** when a task should keep running while you are away, or when you want continuation without tying up the local machine — then **hand back to local** to validate on the real environment when claims are environment-specific. - Consider **SSH** when the runtime is on a remote host (e.g. an edge box, a build farm, a server) and the work needs direct access. Handoffs should still use explicit goals, owned paths, environment, model, and what was verified (see `agent-teams.mdc`). ## Parallel sessions and the sidebar Cursor 3.7 can show **many agent sessions** at once (including from other surfaces — mobile, web, Slack, GitHub, Linear). That mirrors the idea of concurrent **`Task`** / subagent delegation: only parallelize **independent** slices, merge results in one synthesis step, and avoid two sessions racing the same files. The UI makes parallelism easier; it does not remove the need for clear ownership, non-overlapping paths, and one synthesis step. ## When to Plan Plan when: - the task is ambiguous - multiple valid approaches exist - many files or systems will change - the user needs approval before implementation Do not over-plan one-file fixes or straightforward edits. Use the environment's active planning workflow or mode when it exists instead of assuming a specific planning tool name. ## When to Use Task (subagents) In Composer-style Cursor agents the tool is usually **`Task`** (subagent-style delegation; types such as explore, debugger, verifier — see the live schema). Use it when: - repo exploration is broad and would pollute main context - independent investigations can run in parallel - a verifier or debugger pass would help - the task has a long-running research branch Avoid delegation overhead for instant or light work. When several independent branches exist, do not launch them serially by habit. Launch multiple `Task` calls together with separate scopes and merge their results in the main thread. **Nested subagents (3.7):** a subagent can spawn its own `Task` children. Treat nesting as a depth budget, not a default — prefer one delegation layer; use two only when the child slice is still too broad. The main thread still owns synthesis, edits, and final verification; do not let nested branches drift into parallel implementation on the same files. **Multitask Mode:** when the session is in Multitask Mode, background subagent runs are expected — set `run_in_background: true` on `Task` and `Await` the result instead of blocking the main thread. ## /best-of-n as an Orchestration Primitive For high-stakes decisions (architecture, refactor approach, design parity), the `/best-of-n` command runs the same prompt across 2–4 models in parallel worktrees and then compares outcomes. A small workflow for using it well: ```text 1. Pick 2-4 models (mix is fine: `composer-2.5` + MiniMax-M3 + a third) 2. Write one bounded prompt that names the question, the constraint, and the deliverable shape 3. Run /best-of-n in isolated worktrees 4. Read each result centrally; tag them with the model 5. Pick the strongest, merge complementary ideas, or escalate to the user with the comparison ``` Keep prompts bounded. `/best-of-n` is wasted when the prompt is vague. ## Await for Long-Running Branches For dev servers, watchers, build jobs, parallel subagents, or CLI tools that take seconds-to-minutes, do not poll. Use the `Await` tool to wait for a background shell/subagent or a specific output token (`Ready`, `Compiled`, `Error`). ```text 1. Start the long-running work in the background 2. Await the result or a specific output string 3. If it fails, Await the error message and form the next hypothesis ``` This prevents the "waste 30s polling" failure mode and keeps the main thread responsive on M3. ## Delegation Pattern ```text 1. Define the slices 2. Delegate only independent work 3. Launch independent subagents concurrently when possible 4. Await long-running branches 5. Read subagent summaries 6. Synthesize decisions in the main thread 7. Implement and verify centrally ``` ## Parallel Delegation Rules - Give each subagent a bounded scope, not a vague restatement of the whole task. - State exactly what the subagent should return: findings, file paths, risks, or a decision recommendation. - Prefer 2 to 4 concurrent subagents over a long serial chain. - Do not split work so finely that coordination costs more than the saved time. - If one branch depends on another, keep it sequential. - If two subagents may overlap, assign different directories, files, or questions. - When you can name the environment (local/worktree/cloud/SSH) and the model per subagent, do — it makes the synthesis cleaner. Parallel subagents are best for research and analysis. Centralize edits and final verification unless there is a strong reason to delegate them. ## Todo and Progress Tracking Use `TodoWrite` for real multi-step execution: - large refactors - multi-file features - research plus implementation plus validation Keep the list current. Do not let stale in-progress items pile up. ## Solver Loop for Complex Tasks For deep work: ```text Orient Find the spine Choose the smallest proving slice Implement Verify Broaden carefully ``` For exhaustive work, break the task into independently verifiable milestones rather than broad abstract epics. On M3, also load `minimax-m3-long-context` once the milestones cross ~200K tokens of input. Cursor 3.7 can surface a **context usage report** canvas — use it when token pressure is the blocker, then compress or drop slices before expanding scope. ## Verification During Orchestration Do not postpone all checks to the end. Verify per phase: - after code changes, run the smallest relevant command - after UI changes, use browser checks or `multimodal-grounded` re-reads of post-change frames - after a major feature phase, run broader validation Use the **diff / review surface** in Cursor when it helps you stage, review, and ship; keep claims aligned with the always-on status and verification rule regardless of UI. Final user-facing completion claims should follow the always-on status and verification rule rather than ad-hoc wording.
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.

