commit-message-ai-mcp: Cursor rule for Cursor

.cursorrules

cursorrules is a cursor rule for Cursor from CSOAI-ORG/commit-message-ai-mcp. It costs 73 tokens per session, scanned A, original, MIT.

A rule that tells an agent to use commit-message-ai-mcp whenever the user asks about commit messages.

In plain words
What is it for?
Use it to automatically trigger commit-message generation, diff analysis, type suggestions, and conventional-format validation.
Why use it?
It ensures commit-message requests are routed to the tools that generate, analyze, classify, and validate them.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

This is CSOAI-ORG/commit-message-ai-mcp's own configuration. It tells Cursor how to work on commit-message-ai-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything commit-message-ai-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to CSOAI-ORG/commit-message-ai-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/CSOAI-ORG/commit-message-ai-mcp/main/.cursorrules
Clone the repo
git clone --depth 1 https://github.com/CSOAI-ORG/commit-message-ai-mcp

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 cursorrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/csoai-org/commit-message-ai-mcp/cursorrules/github.svg)](https://agentmods.dev/rules/csoai-org/commit-message-ai-mcp/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/csoai-org/commit-message-ai-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/csoai-org/commit-message-ai-mcp/cursorrules/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 cursorrules

Your own site · 80×15
<a href="https://agentmods.dev/rules/csoai-org/commit-message-ai-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/csoai-org/commit-message-ai-mcp/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 This file is loaded in full into every session.
When invoked 73 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.00073 $0.00073
Opus 5.5 $0.00029 $0.00029
Sonnet 5.5 $0.00015 $0.00015
Haiku 4.5 $0.00007 $0.00007

Measured 2mo ago against content hash e54846644c78, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cursorrules 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 2mo 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.

.cursorrules · 10 lines

What it actually says

commit-message-ai-mcp - Auto-trigger Rules

When the user asks about commit message, use commit-message-ai-mcp tools: generate_commit_message, analyze_diff, suggest_type, validate_conventional

MCP server for commit message ai mcp operations

Install: pip install commit-message-ai-mcp

By MEOK AI Labs — MIT licensed.

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. 2mo ago First seen · 10 lines · 73 tokens per session scan A e54846644c78

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository CSOAI-ORG/commit-message-ai-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 73 tokens to every session, about $0.0003 per session on Opus 5.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.

Related

cursorrules compared with cursor rules from other repositories

cursorrules next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cursorrulesCSOAI-ORG/commit-message-ai-mcpCursor rule01mo agoMITA73Cursor
apexyardme2resh/apexyardCursor rule542yesterdayMITA544Cursor
changelogOrlojHQ/orlojCursor rule1267d agoApache-2.0A196Cursor
git-commitsasap-protocol/asap-protocolCursor rule16yesterdayApache-2.0A891Cursor
50-pr-and-gitJott2121/agent-gateCursor rule323d agoMITA20Cursor
conventional-commitstrustxai/airbyte-mcpCursor rule54mo agoApache-2.0A279Cursor
no-cursor-attributionroynertr/cobie-mcpCursor rule13mo agoMITA100Cursor