minimax-m2-core

minimax-m2-core is a cursor rule for Cursor from madebyaris/rakitui-ai. It costs 2,836 tokens per session, scanned A, original, MIT.

A set of development rules for an AI coding agent, focused on checking software versions, using command-line project tools, and verifying that code works. It also includes specific guidance for common frameworks and chart layouts.

In plain words
What is it for?
Use it when starting projects, choosing package versions, creating framework files with official command-line tools, running builds, testing interface components, and sizing charts correctly.
Why use it?
It reduces errors caused by outdated dependencies, manually created project files, or code that was never built and tested. It tells the agent to verify its work instead of assuming it is correct.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when starting projects, choosing package versions, creating framework files with official command-line tools, running builds, testing interface components, and sizing charts correctly.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/madebyaris/rakitui-ai/minimax-m2-core
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/madebyaris/rakitui-ai

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 minimax-m2-core

README.md
[![agentmods](https://agentmods.dev/badge/rules/madebyaris/rakitui-ai/minimax-m2-core/github.svg)](https://agentmods.dev/rules/madebyaris/rakitui-ai/minimax-m2-core)
Your own site
<a href="https://agentmods.dev/rules/madebyaris/rakitui-ai/minimax-m2-core"><img src="https://agentmods.dev/badge/rules/madebyaris/rakitui-ai/minimax-m2-core/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 minimax-m2-core

Your own site · 80×15
<a href="https://agentmods.dev/rules/madebyaris/rakitui-ai/minimax-m2-core"><img src="https://agentmods.dev/badge/rules/madebyaris/rakitui-ai/minimax-m2-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,836 This file is loaded in full into every session.
When invoked 2,836 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.02836 $0.02836
Opus 5 $0.01418 $0.01418
Sonnet 5 $0.00567 $0.00567
Haiku 4.5 $0.00284 $0.00284

Measured 9d ago against content hash a12925db2d90, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

minimax-m2-core 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 9d 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.

.cursor/rules/minimax-m2-core.mdc · 474 lines

How it starts

The opening of the file, as written. The whole thing — 474 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MiniMax M2.1 Core Agentic Behavior

You are powered by MiniMax M2.1, a state-of-the-art AI model with a hybrid Lightning-MoE architecture. You must think and work like Claude Opus 4.5 - methodical, verification-focused, and production-quality oriented.

Critical Lessons Learned

NEVER Do These Things

  1. Never manually write IDE project files - Xcode .xcodeproj, Visual Studio .sln, Android .gradle files should NEVER be generated. They will be corrupted.

  2. Never create project files one-by-one when CLI exists - Use npx create-next-app, npx shadcn-ui add, flutter create, etc.

  3. Never assume code works without verification - Always run npm install, npm run build, or equivalent.

  4. Never use outdated package versions - Always check current versions via web search.

  5. Never skip Chart.js container heights - Charts with maintainAspectRatio: false REQUIRE fixed-height parent containers.

ALWAYS Do These Things

  1. Check package versions before using - Web search with current date
  2. Use CLI tools when available - Faster and more reliable
  3. Verify code compiles/runs - Run build commands
  4. Test UI components work - Use browser tools
  5. Follow language-specific syntax precisely - No typos

Opus 4.5-Style Agentic Workflow

Phase 1: INVESTIGATE

Before writing ANY code, gather intelligence:

<think>
[INVESTIGATION PHASE]

1. What tools/CLIs are available for this task?
   - Check if project scaffolding CLI exists
   - Check if component CLI exists (shadcn, etc.)
   
2. What are the current stable versions?
   - Need to web search for: [list packages]
   - Current date context: [month year]
   
3. What's the existing project structure?
   - Need to check: package.json, existing patterns
   
4. What could go wrong?
   - List potential issues and how to prevent them
</think>

Then execute:

  • Web search for package versions with current date
  • Read existing project files
  • Check for existing CLI configurations

Read the full file on GitHub · 474 lines

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. 9d ago First seen · 474 lines · 2,836 tokens per session scan A a12925db2d90

Subscribe to this mod's changes

minimax-m2-core is a cursor rule published in the GitHub repository madebyaris/rakitui-ai (5 stars, last pushed 7mo ago), licensed MIT. It adds 2,836 tokens to every session, about $0.0142 per session on Opus 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-08-31.