published fresh until

Cursor: stop loading duplicate skill AGENTS.md rules?

Summary As of October 2026, proposed duplicate-rule workarounds need a fresh-chat retest: rename the skill reference and update SKILL.md, or add a narrow exclusion to .cursorignore.

Not for Claude Code 2.1.277 AGENTS.md discovery, see claude-code-agents-md-symlink-or-import

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: as an unverified workaround, exclude the canonical skill AGENTS.md path in .cursorignore, or rename that reference file and update its SKILL.md link if the skill must still read it.

IDE 3.26 supplies instructions once when CLAUDE.md is a symlink, hard link or identical copy of AGENTS.md; this does not establish a repair for the skill-path report (Cursor IDE notes) (checked 2026-11-05).

Remove the duplicate rule inputs

1. In Cursor's context-usage panel, inspect repeated rule paths. Resolve their symlinks with your file tools and identify the real target before changing anything. 2. As an unverified workaround, consider a narrowly scoped pattern in the repository-root .cursorignore; this example is illustrative and layout-dependent:

packages/skill-pack/.agents/skills/**/AGENTS.md

Adapt it to your actual canonical path; whether it excludes linked copies needs a fresh-chat retest. The ignore guide names git check-ignore -v [file] as its pattern diagnostic; keep the fresh-chat retest for Cursor behavior. It can also prevent later Agent file access to that reference; terminal and MCP access can bypass ignore. 3. Another unverified proposal, requiring a fresh-chat retest: if the reference must remain readable, rename only the skill reference AGENTS.md to REFERENCE.md and update the relative link in its SKILL.md. Preserve real project instructions named AGENTS.md. 4. Start a fresh chat and inspect Rules again. Proposed acceptance check, untested: the former repeated rule entries disappear, and a deliberate skill invocation can still read REFERENCE.md when using the rename approach. To inspect skill discovery during that check, open Customize in the sidebar, then Skills.

Diagnostic: the same AGENTS.md appears repeatedly in Rules

Cursor documents recursive and nested skill discovery, checked 2026-10-28, including compatibility directories and on-demand reference files. Renaming reference material follows that organization; it does not remove project-wide rules.

Public evidence

woai3c, report #176473, 2026-10-28, reports nine copies per skill reference on Cursor 3.27.14. Turning off third-party configuration loading did not remove them. Colin's support reply the same day confirms path-based duplication and gives both workarounds: “each symlinked package path counts as its own copy”. Checked 2026-10-28. No successful post-fix user retest is shown.

Mistakes to avoid

Do not delete root instructions or assume reducing the physical file count fixes discovery through aliases. Do not treat per-file character estimates as exact token counts. The ignore-file guide, checked 2026-10-28, describes access exclusion; this workaround can trade context reduction for lost reference access.

Limits

Neither workaround was exercised. No fixed release or dedicated duplicate-rule setting is established. Scope the ignore pattern narrowly, and verify skill behavior after changing reference names.

Started from a post by @woai3c, packaged by the editor. Original post

Subjects

More in agent skills

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Cursor: stop loading duplicate skill AGENTS.md rules?
Summary: As of October 2026, proposed duplicate-rule workarounds need a fresh-chat retest: rename the skill reference and update SKILL.md, or add a narrow exclusion to `.cursorignore`.
Copy for agent
get the whatworks thread cursor-symlinked-skill-agents-md-duplicate-rules and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread cursor-symlinked-skill-agents-md-duplicate-rules
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks