advance-minimax-m3-cursor-rules / rules
Cursor rule126 starsChanged 6 months agoMITView on GitHub
MiniMax M3 + Cursor 3.7 tool discovery: runtime inventory, canvases, Design Mode inputs, schema-first MCP use, MCP Apps structured content, capability mapping, and safe fallbacks.
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/model-compatibility.mdcCursor rule
- .cursor/rules/skill-authoring.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
We split this tool-discovery.mdc into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
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 27
Read the current schema or descriptor before calling unfamiliar MCP tools.
- Distinctive: line 29
Do not infer hidden parameters or old wrapper names from memory.
- Distinctive: line 30
MCP Apps structured content: when a tool returns structured content, prefer the structured form over reconstructing from prose.
- Distinctive: line 34
Before acting, translate the task into:
- Distinctive: line 58
If a tool is unavailable, say so and choose the next best exposed path.
- Distinctive: line 59
If discovery fails, simplify the task step and re-check the current surface.
- Distinctive: line 60
Do not promise a tool-based deliverable until the path is confirmed.
≈ “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 + Cursor 3.7 tool discovery: runtime inventory, canvases, Design Mode inputs, schema-first MCP use, MCP Apps structured content, capability mapping, and safe fallbacks." alwaysApply: false --- # Tool Discovery (Cursor 3.7 + M3) Current through **Cursor 3.7** (Jun 2026). Use this rule when the runtime surface is unfamiliar, tool-heavy, or likely to differ across environments. ## Discovery Order Inventory the current surface in this order: 1. direct tools exposed in the prompt (`Read`, `Grep`, `Task`, `Await`, etc. — names vary by surface; the live list wins) 2. browser, canvas, and other IDE-native surfaces exposed in the prompt - **Browser MCP** (`cursor-ide-browser`): snapshot-first automation; read the server's tool descriptors - **Canvas** (`.canvas.tsx`): confirm the session supports canvases before promising one; load the `canvas` skill before authoring - **Design Mode** (3.7): user-driven in browser or canvas — not an agent tool; when the user has selected or annotated elements, treat that as the primary input for UI edits 3. **Cursor Marketplace** (or team marketplace) plugins already installed — same schema-first rules as other MCPs; discover tools and resources from each plugin's descriptors before calling 4. MCP tools and resources with their current schemas (including project-configured servers under the session's MCP descriptor path) 5. web docs only when discovery or versions still remain unclear For delegation, read the live `Task` schema for available `subagent_type` values and whether nesting or `run_in_background` applies (Multitask Mode expects background runs). ## Schema-First Use - Read the current schema or descriptor before calling unfamiliar MCP tools. - Match the task step to the smallest tool that can honestly do it. - Do not infer hidden parameters or old wrapper names from memory. - **MCP Apps structured content**: when a tool returns structured content, prefer the structured form over reconstructing from prose. When the structured data *is* the deliverable, route it to a **canvas** rather than a markdown table in chat. ## Capability Mapping Before acting, translate the task into: - what must be read - what must be changed - what must be verified - which currently exposed tool best serves each step For visual-fidelity work, also translate into: which image/frame must be read, which **Design Mode** selections the user provided (if any), and which post-change frame must be re-read after editing. For analytical or tabular deliverables, also translate into: whether a **canvas** is the right surface (audit, metrics breakdown, MCP query results) vs. inline chat prose. ## Discovery Loop ```text 1. Inventory current tools 2. Read the schema for unfamiliar options 3. Choose the smallest viable tool 4. Try the narrowest valid call 5. Verify the result 6. Escalate or fall back only if needed ``` ## Safe Fallbacks - If a tool is unavailable, say so and choose the next best exposed path. - If discovery fails, simplify the task step and re-check the current surface. - Do not promise a tool-based deliverable until the path is confirmed. ## Anti-Patterns - assuming a tool exists because it existed in another environment - using shell as the first choice when a direct tool is exposed - calling MCP tools without reading current schemas - hiding tool uncertainty behind confident prose - ignoring MCP Apps structured content and dumping it as prose or markdown tables when a canvas is available - promising canvas, Design Mode, browser, or nested `Task` behavior before confirming the current session exposes it
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.

