cursorrules

cursorrules is a cursor rule for Cursor from sadiuysal/crawl4ai-mcp-server. It costs 1,614 tokens per session, scanned A, original, MIT.

A project rule set for Cursor, an AI coding editor, that keeps documentation and project practices aligned. It requires related documentation to be reviewed and synchronized when documentation changes.

In plain words
What is it for?
Use it in projects where Cursor and other coding assistants share documentation, rules, tools, and development procedures.
Why use it?
It reduces the risk that files such as README.md and CLAUDE.md describe different workflows or outdated code. It also encourages small, reviewed changes and clear commit messages.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions CLAUDE.md; mentions Claude Code.

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.

agentmods
npx agentmods add rules/sadiuysal/crawl4ai-mcp-server/cursorrules
Clone the repo
git clone --depth 1 https://github.com/sadiuysal/crawl4ai-mcp-server

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/sadiuysal/crawl4ai-mcp-server/cursorrules.svg)](https://agentmods.dev/rules/sadiuysal/crawl4ai-mcp-server/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/sadiuysal/crawl4ai-mcp-server/cursorrules"><img src="https://agentmods.dev/badge/rules/sadiuysal/crawl4ai-mcp-server/cursorrules.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,614 This file is loaded in full into every session.
When invoked 1,614 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.01614 $0.01614
Opus 5 $0.00807 $0.00807
Sonnet 5 $0.00323 $0.00323
Haiku 4.5 $0.00161 $0.00161

Measured 6d ago against content hash 86bb5ec350c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 6d 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 · 127 lines

How it starts

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

Project rules for Cursor in crawler_agent

Documentation Memory Rule (CRITICAL)

ALWAYS remember: When ANY documentation file is modified (CLAUDE.md, README.md, .cursorrules, etc.), you MUST:

  1. Read the current version of all related documentation files first
  2. Synchronize changes across Claude Code (CLAUDE.md) and Cursor (.cursorrules) configurations
  3. Update project knowledge to reflect any new patterns, tools, or workflows
  4. Verify consistency between documentation and actual implementation
  5. Document the change in git commit messages as a documentation update

Mission

  • Build and expose Crawl4AI functionality as MCP tools consumable by OpenAI Agents SDK, Cursor, and Cloud Code.
  • Deliver small, safe, reversible changes with high reliability and clear observability.
  • Maintain consistency with Claude Code environment via synchronized documentation.

Operating mode

  • Be a senior engineer: propose a short plan, then execute.
  • Prefer minimal diffs; change only what’s needed; avoid unrelated reformatting.
  • Preserve existing indentation and style; match the surrounding code.
  • Default to strict typing, meaningful names, small functions, early returns.

Workflow

  • Before coding: confirm scope in a numbered plan; call out risky edits for explicit approval.
  • Write/expand tests when feasible; keep coverage meaningful (no performative tests).
  • After edits: run the smallest checks (build/test/lint) required to validate; capture output.
  • Summarize changes and next steps succinctly.

Tooling rules (Cursor agents)

  • Use the repository’s docs for authoritative references:
    • Crawl4AI: https://docs.crawl4ai.com/
    • OpenAI Agents SDK MCP: https://openai.github.io/openai-agents-python/mcp/
    • Tools reference: https://openai.github.io/openai-agents-python/tools/
    • Agent reference (mcp_servers, mcp_config): https://openai.github.io/openai-agents-python/ref/agent/
    • MCP intro: https://modelcontextprotocol.io/introduction
  • When reading local docs:
    • Prefer targeted searches. For docs/modelcontextprotocol-python-sdk-CLAUDE-MD.txt, read specific sections only (never the entire file).
    • Use grep-style queries to locate symbols (e.g., Server(, @server.call_tool, MCPServerStdio).
  • Parallelize read-only queries to gather context quickly; sequence only when output A is needed for B.

Read the full file on GitHub · 127 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. 6d ago First seen · 127 lines · 1,614 tokens per session scan A 86bb5ec350c6

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository sadiuysal/crawl4ai-mcp-server (107 stars, last pushed 7mo ago), licensed MIT. It adds 1,614 tokens to every session, about $0.0081 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-30.