Feature request for product/service
Cursor IDE
Describe the request
Feature request for: Cursor IDE + CLI
Summary
Cursor’s dual system (.cursor/ as primary + partial .agents/ / AGENTS.md support) forces duplication, weak scoping, and context pollution. In multi-package repos (especially C# + mixed tools), this makes the agent unreliable and expensive. We need Cursor to treat a single .agents/ directory (or the AGENTS.md hierarchy) as the canonical, portable config surface, with first-class scoping by:
- Tool (Cursor vs Grok Build vs VS Code vs other CLIs)
- Agent / subagent
- Glob / path
This is required for Cursor to become usable in real monorepos without fighting VS Code or burning context on irrelevant skills/MCPs.
Why this matters (the proof)
- Skills living primarily under .cursor/skills force duplicates and maintenance when the same skills must also work with Grok Build, Claude Code, Codex, etc. .agents/skills already exists as the portable path; making it the preferred source eliminates the mess.
- MCP configs are currently scattered or tool-specific. A single root-level (or .agents/mcp.json) file that is glob-, tool-, and agent-scoped is the only sane model. Example from a real C# monorepo (Project Fulcrum-style):
- Roslyn / C# analysis MCPs → glob to /Api/ or **/*.cs
- Coverage MCP → glob to /Tests/
- These must not be visible to an agent running under Apps/
- Cursor / VS Code use their built-in debug harness (e.g. debugmcp-style); pure CLIs (Grok Build and others) use mcp-debugger. The config must declare this so the wrong tool does not receive the wrong MCP.
- Skills must be scoped the same way (tool + agent + glob). Loading a test skill into a non-test agent or an Apps-folder agent wastes context and confuses the model. Nested directory scoping and paths frontmatter are a start but insufficient for agent-level and tool-level control.
- A consistent layout inside .agents/ (or equivalent) for plans/, scratch/, workflows/ (and similar) keeps everything in one portable place and inherits the same scoping rules.
- Walking the tree to load AGENTS.md and skills should never require a permission prompt when the user is not in autopilot / auto-accept mode. VS Code already does the annoying prompt; Cursor should not copy that failure.
6–8. (Reserved for additional concrete breakage.) - If the above is fixed, Cursor becomes viable. C# support can then be improved without breaking VS Code, provided that .cursor/ can supply overrides for tasks.json / launch.json that do not fall back to or read the .vscode versions. Different tools need different debug/launch behavior; forcing shared files creates the current conflicts.
Current state vs desired state
Skills
- Current: Loaded from .agents/skills/, .cursor/skills/, user-level equivalents, and nested dirs. Nested dirs give some path scoping; paths frontmatter exists. Still no reliable agent-level or tool-level filter. Duplication is the practical result.
- Desired: Prefer .agents/skills as the single source. Add frontmatter or sibling config for tools: [cursor, grok-build, …], agents: [tester, …], and stronger globs. Skills that do not match the current tool + agent + path are never presented.
MCP
- Current: Tool-specific files and limited scoping.
- Desired: One mcp.json (root or .agents/mcp.json). Each server entry supports globs, tools, and agents. Discovery walks the tree correctly. Irrelevant MCPs are invisible to the model.
AGENTS.md / rules / plans / scratch / workflows
- Current: AGENTS.md is supported (root + nested, more-specific wins) but flaky in multi-root and some session types. .cursor/rules remains the full-featured path. No standard place for plans/scratch/workflows. Permission prompts appear when walking up.
- Desired: Treat the AGENTS.md hierarchy (or a single .agents/ tree) as primary. Explicit folders (plans/, scratch/, workflows/) with the same scoping. Silent, automatic tree walk for non-autopilot sessions (no permission dialogs).
C# / tasks / launch
- Desired: .cursor/tasks.json and .cursor/launch.json (or equivalent) that fully override and do not read .vscode counterparts, so Cursor-specific debug behavior can coexist with VS Code without breakage.
Concrete example (C# monorepo)
repo/
.agents/
mcp.json # single file
skills/
roslyn-analyze/ # tools: [cursor, vscode], agents: [api], paths: ["**/Api/**", "**/*.cs"]
coverage/ # paths: ["**/Tests/**"], agents: [tester]
plans/
scratch/
workflows/
Api/
AGENTS.md
Apps/
AGENTS.md
Tests/
AGENTS.md
An agent started under Apps/ never sees Roslyn or coverage skills/MCPs. A testing subagent under Tests/ does. Grok Build and Cursor both read the same files; only the tool filter decides which MCP binary is relevant.
Existing discussions & standards this builds on
- AGENTS.md format:
agents.mdandgithub.com/agentsmd/agents.md - .agents/ folder proposal:
github.com/agentsfolder/spec - Cursor Skills docs (nested + paths already partially exist):
cursor.com/docs/skills(and/context/skills) - Related forum threads:
- Workspace/profile-scoped config (rules/skills/subagents/MCP)
- Support for .agent / .agents folder compatibility
- Agent Plugins packaging
- Nested AGENTS.md loading bugs
- Multi-root AGENTS.md leakage
Requested sub-discussions
Please split or reply with focused threads for:
- Skills: single .agents/skills source + tool/agent/glob filters
- MCP: single scoped mcp.json (tool + agent + glob + tree walk)
- Standard .agents/ layout for plans/scratch/workflows + silent tree walk (no permission prompts)
- .cursor overrides for tasks/launch that ignore .vscode (C# / multi-tool coexistence)
This is the minimum set of changes that removes the duplication, the context waste, and the tool-specific lock-in. Without it Cursor remains a specialized IDE that fights the portable standards the rest of the agent ecosystem is converging on.