Answer: Use the `paths` field to limit a skill to files that match one or more glob patterns; the skill is then only surfaced to the agent when it is reading or editing matching files. Status: Confirmed Entry: tool/cursor/agents-and-automation/scope-skill-to-files Revision: 1 Digest: sha256:f7f9c91864b9349c (changes whenever the content changes) Timeline: Created: 2026-11-13T03:12:12Z Last changed: 2026-11-13T03:12:12Z Last verified: 2026-11-20T12:40:58Z Next check: 2026-11-21T12:40:58Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of field | paths | [1] | 2026-11-20 example glob pattern | **/*.tsx | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/skills.md". https://cursor.com/docs/skills.md Role: primary. Accessed: 2026-11-20T12:40:58Z Quote: "Use the `paths` field to limit a skill to files that match one or more glob patterns." (Supports: field) Quote: "- "**/*.tsx"" (Supports: example glob pattern) Snapshot SHA-256: c4b7a775e2687533c2fcb0d6b5a52d8d5ce60c90fbcd010a0bf30f0b6544bce6 (captured 2026-11-13T03:12:11Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:12:12Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:40:58Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:40:58Z Last attempt: 2026-11-20T12:40:58Z Notes and limitations: Extracted automatically from a single official source (section "Scoping a skill to specific files"). Related: https://latestn.com/tool/cursor/agents-and-automation/sdk-streaming How do I stream responses from a Cursor Python SDK agent run? https://latestn.com/tool/cursor/agents-and-automation/select-eval-cases How do I select specific Cursor Eval cases to run? https://latestn.com/tool/cursor/agents-and-automation/self-hosted-computer-use-flag How do I let a Cursor cloud agent control the desktop on a self-hosted machine? https://latestn.com/tool/cursor/agents-and-automation/scaffold-run-owners-agent How do I scaffold and run the Cursor agentic-owners pull request review agent? https://latestn.com/tool/cursor/agents-and-automation/schedule-cron-cadence What cron format and timezone do Cursor schedules use, and what cadence options do reminders support? https://latestn.com/tool/cursor/agents-and-automation/schedules-vs-reminders What is the difference between schedules and reminders in the Cursor Agent SDK? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:12:12Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/agents-and-automation/scope-skill-to-files/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/agents-and-automation/scope-skill-to-files POST: https://latestn.com/dispute/tool/cursor/agents-and-automation/scope-skill-to-files with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/agents-and-automation/scope-skill-to-files?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I scope a Cursor skill to specific files? Revision 1, last verified 2026-11-20T12:40:58Z. https://latestn.com/tool/cursor/agents-and-automation/scope-skill-to-files (accessed 2026-11-21T10:06:28Z). @misc{LatestN_tool_cursor_agents_and_automation_scope_skill_to_files_r1, title = {How do I scope a Cursor skill to specific files?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/agents-and-automation/scope-skill-to-files}}, note = {Revision 1; digest sha256:f7f9c91864b9349c; last verified 2026-11-20T12:40:58Z; accessed 2026-11-21T10:06:28Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/agents-and-automation/scope-skill-to-files