Feature request for product/service
Cursor IDE
Describe the request
Add a new context-menu action on editor tabs called “Send to Agent Chat”. When invoked, Cursor should insert a reference to the currently active file into the Agent Chat input as an @contextcontext [email protected]., @context /relative/path/to/file (or whatever the canonical file-reference format is). This lets users quickly include the full current file in the agent’s context without manually copying the path or attaching the file.
Details / expected behavior
Where: Right-click menu on an editor tab (and optionally the editor itself).
What it does: Adds the active file to Agent Chat context@contextby inserting @context /{path} into the chat composer (preferably using the relative path).
UX: Focus moves to the Agent Chat composer after insertion (optional but nice).
Edge cases: If the file is unsaved/untitled, prompt to save first or handle with a temporary identifier.
Optional enhancements: A second action “Send Selected Files to Agent Chat” when multiple tabs are selected, and/or “Send Current Selection” to include highlighted text.
Why this is useful
It reduces friction and prevents mistakes when adding context: no more “Copy Relative Path → paste into chat → format it correctly.” One click makes the current file available to the agent for review/refactor/debugging
Screenshot / Screen Recording
Operating System (if it applies)
MacOS
