awesome-cursor-rules-mdc is a generator that creates Cursor MDC rule files from structured library information, using semantic search and language models to gather and organize guidance. Developers use it to produce reusable rules for libraries in Cursor, and the catalogue includes 200 of those rules.
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.
npx agentmods add rules/sanjeed5/awesome-cursor-rules-mdc/circlecigit clone --depth 1 https://github.com/sanjeed5/awesome-cursor-rules-mdcWrote 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/sanjeed5/awesome-cursor-rules-mdc/circleci)<a href="https://agentmods.dev/rules/sanjeed5/awesome-cursor-rules-mdc/circleci"><img src="https://agentmods.dev/badge/rules/sanjeed5/awesome-cursor-rules-mdc/circleci.svg" alt="Measured on agentmods" 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 | $0.01937 | $0.01937 |
| Opus 5 | $0.00968 | $0.00968 |
| Sonnet 5 | $0.00387 | $0.00387 |
| Haiku 4.5 | $0.00194 | $0.00194 |
Grade B, and why
circleci scanned grade B with 1 finding 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 5d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- run: sudo apt-get update How it starts
The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.
circleci Best Practices
CircleCI is the backbone of our CI/CD. Adhere to these guidelines to ensure our pipelines are efficient, secure, and maintainable.
1. Code Organization & Reusability
1.1. Author and Consume Orbs for Reusability
Encapsulate common logic into orbs. This promotes DRY principles and consistent patterns across projects.
-
Descriptive Naming: Use clear
namespace/orb-nameslugs. ❌ BAD:myorg/plugin,myorg/ci-tool✅ GOOD:myorg/docker-publish,myorg/aws-deploy -
Semantic Versioning: Lock to specific orb versions. ❌ BAD:
myorg/aws-deploy@volatile✅ GOOD:myorg/[email protected] -
Comprehensive Descriptions: Every orb component (commands, jobs, executors, parameters) must have a clear
description.# .circleci/orb.yml commands: my-command: description: "Utilize this command to echo Hello to a step in the UI." steps: - run: echo "Hello"
1.2. Reuse Commands, Executors, and Jobs
Within your config.yml or orbs, define reusable components to avoid duplication.
❌ BAD:
jobs:
build-and-test:
docker:
- image: cimg/node:18.17.1
steps:
- checkout
- run: npm install
- run: npm test
another-job:
docker:
- image: cimg/node:18.17.1
steps:
- checkout
- run: npm install # Duplication
- run: npm run build
✅ GOOD:
# .circleci/config.yml
version: 2.1
commands:
install_deps:
description: "Install Node.js dependencies."
steps:
- run: npm install
jobs:
build-and-test:
docker:
- image: cimg/node:18.17.1
steps:
- checkout
- install_deps
- run: npm test
build-app:
docker:
- image: cimg/node:18.17.1
steps:
- checkout
- install_deps
- run: npm run build
1.3. Use Pass-Through Parameters in Jobs
When a job uses a command or executor that accepts parameters, expose those parameters at the job level for flexibility.
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.
- 5d ago First seen · 289 lines · 0 tokens per session scan B dcfb47e114bf
circleci is a cursor rule published in the GitHub repository sanjeed5/awesome-cursor-rules-mdc (3,571 stars, last pushed 3mo ago), licensed CC0-1.0. It adds 1,937 tokens to every session, about $0.0097 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
beanstalk-deploy
Robust deployment patterns for Elastic Beanstalk with GitHub Actions, Pulumi, and edge case handling.
workflow-ci
Testing and verification workflow expectations.
infra-devops
Infrastructure, Cloud, Terraform, Docker & CI/CD Agent.
testing-ci-rule
testing-ci-rule from DaunteEth/woofi-pro-mcp.
infrastructure
Terraform infrastructure-as-code standards for multi-cloud (AWS, GCP, Azure, OCI) provisioning.
build_test_release_artifact
How to build and test a release artifact for Salesforce deployments.