Workspace-open agent hook — trigger on folder open

Feature request for product/service

Cursor IDE

Describe the request

Description:

Cursor rules (.cursor/rules/*.mdc) and agents are context injection only. They
are included in the system prompt when their glob patterns match an active file, but they
cannot initiate an agent turn — the agent only responds when a user message is received.

This makes it impossible to implement rules like:

“When a C++ workspace is opened and no .cursor/intro.done marker exists, greet the
user, survey the project, and ask a planning question.”

The rule is loaded, but nothing happens until the user types. If their first message is
about a bug, the agent must awkwardly interrupt with an intro they didn’t ask for.

Please add a new frontmatter key, e.g. onWorkspaceOpen: true, that causes Cursor to
initiate an agent turn automatically when the workspace is opened and the rule’s glob
conditions are met:

---
globs: "**/*.cpp,**/*.hh,**/*.h"
onWorkspaceOpen: true
onWorkspaceOpenOnce: true   # skip if .cursor/intro.done exists
---

Use cases: Mentoring/onboarding intro, project health check on repo open, first-time
contributor welcome, stale config/dependency nudge.

Workaround I’m using: A /mentor-intro slash command the user runs manually —
works, but defeats the “proactive” intent.

Happy to test a build.