Borrowing it
Nothing to install: this file belongs to cnoe-io/openapi-mcp-codegen. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/cnoe-io/openapi-mcp-codegen/main/.cursorrulesgit clone --depth 1 https://github.com/cnoe-io/openapi-mcp-codegenWrote 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.
[](https://agentmods.dev/rules/cnoe-io/openapi-mcp-codegen/cursorrules)<a href="https://agentmods.dev/rules/cnoe-io/openapi-mcp-codegen/cursorrules"><img src="https://agentmods.dev/badge/rules/cnoe-io/openapi-mcp-codegen/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.
<a href="https://agentmods.dev/rules/cnoe-io/openapi-mcp-codegen/cursorrules"><img src="https://agentmods.dev/badge/rules/cnoe-io/openapi-mcp-codegen/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01315 | $0.01315 |
| Opus 5.5 | $0.00526 | $0.00526 |
| Sonnet 5.5 | $0.00263 | $0.00263 |
| Haiku 4.5 | $0.00131 | $0.00131 |
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.
How it starts
The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cursor Rules for OpenAPI MCP Codegen
ADR (Architecture Decision Record) Guidelines
When to Create ADRs
Create an ADR for:
- ✅ New features that introduce architectural changes
- ✅ Significant refactoring or code reorganization
- ✅ Integration with external systems or tools
- ✅ Changes to core algorithms or processing pipelines
- ✅ Breaking changes to public APIs or CLI interfaces
- ✅ Performance optimizations with trade-offs
- ✅ Security-related changes or fixes
- ✅ Documentation of important bug fixes that affect architecture
ADR Template Structure
When creating ADRs, use this exact structure:
# ADR-XXX: [Short Descriptive Title]
## Status
**[PROPOSED|ACCEPTED|DEPRECATED|SUPERSEDED]** [✅ *Implemented* | 🚧 *In Progress* | ❌ *Rejected*]
## Context
[Describe the forces at play, including technological, political, social, and project local. These forces are probably in tension, and should be called out as such.]
### Problems Identified:
1. **Problem 1**: Description
2. **Problem 2**: Description
3. **Problem 3**: Description
### User Request (if applicable):
> "Direct quote from user request or issue"
## Decision
[Describe the response to these forces. This is the statement of what we will do.]
### Implementation Strategy:
1. **Step 1**: Detailed approach
2. **Step 2**: Detailed approach
3. **Step 3**: Detailed approach
## Consequences
[Describe the resulting context, after applying the decision. All consequences should be listed here, not just the "positive" ones. A particular decision may have positive, negative, and neutral consequences.]
### Positive:
- ✅ **Benefit 1**: Description
- ✅ **Benefit 2**: Description
### Negative (if any):
- ❌ **Trade-off 1**: Description
- ⚠️ **Risk 1**: Description and mitigation
### Architecture Changes (if applicable):
#### Before:
[Current architecture diagram/description]
#### After:
[New architecture diagram/description]
### Implementation Status
**[PROPOSED|IN PROGRESS|COMPLETED]** [Status emoji]
[Brief summary of implementation status and any remaining work]
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.
- 2mo ago First seen · 183 lines · 1,315 tokens per session scan A 6149e1a6e890
cursorrules is a cursor rule published in the GitHub repository cnoe-io/openapi-mcp-codegen (42 stars, last pushed 4d ago), licensed Apache-2.0. It adds 1,315 tokens to every session, about $0.0053 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-30.
cursorrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cursorrulescnoe-io/openapi-mcp-codegen | Cursor rule | 42 | 4d ago | Apache-2.0 | A | 1,315 | Cursor |
| denoskmtc/skmtc | Cursor rule | 19 | 6d ago | Apache-2.0 | A | 48 | Cursor |
| clean-codeRenvia-code/best-cursor-rules | Cursor rule | 13 | 11mo ago | CC0-1.0 | A | 0 | Cursor |
| pythonRenvia-code/best-cursor-rules | Cursor rule | 13 | 11mo ago | CC0-1.0 | A | 0 | Cursor |
| controllerslevifig/rails-instructions | Cursor rule | 57 | 1y ago | MIT | A | 0 | Cursor |
| profileApexIQ/skillsmith | Cursor rule | 5 | 7mo ago | MIT | A | 100 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 185k | 8d ago | MIT | A | 604 | Cursor |