AGENTS.md vs .cursorrules vs CLAUDE.md: what goes where —…
    Neura Market
    Neura Market
    /Cursor
    Marketplace
    Directories
    Resources
    Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeekCoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorBlogAGENTS.md vs .cursorrules vs CLAUDE.md: what goes where
    Back to Blog
    AGENTS.md vs .cursorrules vs CLAUDE.md: what goes where
    ai

    AGENTS.md vs .cursorrules vs CLAUDE.md: what goes where

    Theodore Creates Co. November 6, 2026
    0 views

    If you use more than one AI coding tool, you have probably ended up with three nearly identical...

    If you use more than one AI coding tool, you have probably ended up with three nearly identical instruction files and no idea which one actually loaded. Here is the short version of what each file is for, and a setup that stops the drift.

    The three files in one table

    FileWho reads itBest use
    AGENTS.mdCursor, GitHub Copilot coding agent, Codex, Windsurf, Zed, Amp and a growing list of othersShared project brief: how to work, security, commands, what "done" means
    .cursor/rules/*.mdcCursor onlyNarrow rules that should load for certain globs (or always)
    CLAUDE.mdClaude CodeClaude-specific extras; can import AGENTS.md with @AGENTS.md

    .cursorrules (single file at the repo root) is the older Cursor format. It still works in many setups, but Cursor's current project-rules model is .cursor/rules/*.mdc with front matter for description, globs and alwaysApply.

    AGENTS.md is intentionally boring Markdown. There is no special schema. Agents just read the text. That is why it works as the cross-tool home for rules you do not want to rewrite three times.

    A setup that actually holds

    1. Put the real rules in AGENTS.md at the repo root: rule priority, security guardrails, how to make changes, which commands to run, what to report when finished.
    2. Make CLAUDE.md thin. Start it with @AGENTS.md, then add only Claude-specific notes if you need them.
    3. Add .cursor/rules/ only for things that should attach to certain files (for example a Next.js App Router rule with globs: ["app/**/*.tsx"]), plus one short always-on security rule if you want the guardrails in every Cursor chat even when AGENTS.md is long.

    Do not paste the same 200-line manifesto into all three. One source of truth beats three copies that disagree by Thursday.

    What belongs in the shared file

    Keep AGENTS.md short enough that a model will still follow it:

    • Rule priority when instructions clash (security beats "just make it work").
    • Hard security lines: secrets stay in server env, auth checks on every sensitive path, no destructive git or force-push unless asked.
    • Working style: read before editing, smallest change, stay in scope, run the real tests.
    • Project commands: install, test, lint, start — the ones a new teammate would need.

    Leave stack fashion tips and long architecture essays for docs humans read, or for glob-scoped .mdc files.

    A free starter you can copy

    I keep a free MIT starter with a ready AGENTS.md, a CLAUDE.md that imports it, an always-on Cursor security rule, a 10-point pre-launch checklist and three copy-paste prompts:

    theodorecreatesco/vibe-coding-rules-starter

    Clone it, copy the three files into your project, and ask a fresh chat: "What are the top rules in this project?" If it cannot name the priority and the security lines, the files are not where the tool expects them.

    If you later want stack packs, more prompts and a one-command installer for several tools, that is the paid Vibe Coding Rules Kit on Etsy — same brand, optional upgrade. The starter on GitHub stays free either way.

    Quick decision guide

    • One tool, Cursor only, path-specific rules: .cursor/rules/*.mdc is enough.
    • One tool, Claude Code only: CLAUDE.md is enough.
    • Mixed tools, open source repo, or you are tired of syncing: AGENTS.md as the source of truth, thin pointers elsewhere.

    That is the whole map. Pick the shared file once, keep it short, and stop rewriting the same rules under three names.

    Tags

    aicursorproductivityopensource

    Comments

    More Blog

    View all
    How I stop AI coding agents breaking my projectai

    How I stop AI coding agents breaking my project

    I like AI coding agents. I do not like when they rewrite a file that was already fine, hard-code a...

    T
    Theodore Creates Co.
    1
    2026 MCP Gateway Benchmark: Cutting Cursor and Claude Token Bloat by 85% with Zero-Trust AST Securitymcp

    2026 MCP Gateway Benchmark: Cutting Cursor and Claude Token Bloat by 85% with Zero-Trust AST Security

    Connecting 3 to 5 Model Context Protocol (MCP) servers (GitHub, Postgres, Linear, Slack, Notion) into...

    N
    Neon Innovation Lab
    2
    Too many agent skills? What they cost in context and how to pruneai

    Too many agent skills? What they cost in context and how to prune

    How Claude Code, Codex and Cursor load skills, what really costs context, and how to audit, prune and scope installed skills.

    E
    Eliran Kotzero
    1
    How I Use Cursor and AI Coding Agents to Ship Features That Actually Last in Productionai

    How I Use Cursor and AI Coding Agents to Ship Features That Actually Last in Production

    I use Cursor almost every day. The hard part is not generating code. It is giving the agent enough context, constraints, and a plan so the feature still makes sense after it reaches production.

    A
    Aqib
    2
    What is Model Context Protocol (MCP) and how to use itai

    What is Model Context Protocol (MCP) and how to use it

    Learn how the Model Context Protocol standardizes AI integrations, with a look at connecting Claude and Cursor to custom environments.

    W
    WaterShow
    Talk to Your Coding Agent: What Cursor's Realtime Voice Chat Actually Changescursor

    Talk to Your Coding Agent: What Cursor's Realtime Voice Chat Actually Changes

    Cursor's November 6 changelog entry is short — "Voice Chat with Agents" — but it changes the shape of...

    野
    野鹤
    1

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Games
    • Blog
    • Videos
    • Guides
    • Courses
    • Community
    • Extensions

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • End-to-End Blog Generation for WordPress with LLM Agents & Image - GPT-5 Optimizedn8n · $24.99 · Related topic
    • Give AI Agents Power to Create Lists, Items with LoneScale Tool MCP Servern8n · $4.99 · Related topic
    • Automate PDF to Blog Conversion with AI Agentsn8n · $14.99 · Related topic
    • Build AI Agents with Think-Plan-Act Architecture Using Llama-4 Reasoningn8n · $24.99 · Related topic
    Browse all workflows