cursor / cursor/cookbook

How do I prevent the agent from using local files, while letting it use the harness?

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4.1k
Forks
492
Avg merge
37m
Merged PRs (30d)
3

Description

Hi, I'd like my agent to use the .cursor directory and the AGENTS.md; but don't want it to use the local directory for any work.

E.g. if I connect it to a github MCP and I ask it "What does X repo do", it shouldn't grep from the local repository it's running in.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue mentions the .cursor directory, AGENTS.md, and a GitHub MCP connection; start by locating the configuration or documentation that controls agent filesystem access. Done means clearly documenting or implementing a way to allow those harness files while preventing work against the local directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
github
Domain
security, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.