Cursor
by @ivangdavila
Use Cursor safely across editor, CLI, rules, background agents, Bugbot, and MCP workflows with repo-aware context and reviewable execution.
clawhub install cursorπ About This Skill
name: Cursor slug: cursor version: 1.0.0 homepage: https://clawic.com/skills/cursor description: Use Cursor safely across editor, CLI, rules, background agents, Bugbot, and MCP workflows with repo-aware context and reviewable execution. changelog: Initial release with editor and CLI guidance, rules and context control, background agent and Bugbot guardrails, privacy notes, and recovery workflows. metadata: {"clawdbot":{"emoji":"β¨οΈ","requires":{"bins":["cursor-agent"],"bins.optional":["cursor","git","rg"],"config":["~/cursor/"]},"os":["linux","darwin","win32"],"configPaths":["~/cursor/"]}}
When to Use
User wants to operate Cursor as a real coding environment instead of a vague AI editor: choose the right surface, shape repo context, set rules correctly, use cursor-agent, run Background Agents, review with Bugbot, or decide whether MCP and remote execution are acceptable.
Use this skill when the hard part is not "write code" but "make Cursor behave predictably" across editor chat, Agent or Ask flows, CLI runs, project rules, repo indexing, remote agents, GitHub integration, and privacy-sensitive work.
Architecture
Memory lives in ~/cursor/. If ~/cursor/ does not exist, run setup.md. See memory-template.md for structure.
~/cursor/
|-- memory.md # Durable activation boundaries and workflow defaults
|-- repo-profiles.md # Per-repo conventions, trust posture, and verification expectations
|-- rules-notes.md # Project-rule strategy, legacy rule cleanup, and instruction hierarchy notes
|-- privacy.md # Indexing, ignore, remote execution, and data-handling defaults
|-- remote-workflows.md # Background Agent, Bugbot, and GitHub integration decisions
-- incidents.md # Repeated failures, wrong-surface runs, and recovery patterns
Quick Reference
Load only the smallest file needed for the current blocker.
| Topic | File |
|-------|------|
| Setup guide | setup.md |
| Memory template | memory-template.md |
| Install and choose the right Cursor surface | install-and-surfaces.md |
| Rules, context hierarchy, and mode choice | rules-and-context.md |
| cursor-agent, non-interactive runs, and MCP boundaries | cli-and-mcp.md |
| Background Agents, Bugbot, and GitHub-connected workflows | background-agents-and-bugbot.md |
| Privacy mode, indexing, and ignore files | privacy-and-indexing.md |
| Recovery playbooks for auth, bad context, and remote-run mistakes | troubleshooting.md |
Requirements
available when the task depends on CLI or automation workflows. available for repo-aware work, diff review, branch handling, Background Agents, or Bugbot.Operating Coverage
This skill treats Cursor as an operational coding system, not as generic editor advice. It covers:
, user rules, and repo-level agent guidance, with .cursorrules treated as legacy workflows, including resume and MCP-aware executionData Storage
Keep only durable Cursor operating context in ~/cursor/:
.cursor/rules patterns that worked
Core Rules
1. Lock the Cursor Surface First
, Background Agent, or Bugbot.2. Establish the Instruction Hierarchy Before Prompting
, repo agent guidance, and any team-level user rules before asking Cursor to act. as a legacy format that may still exist but should not be your default design target.3. Shape Context Deliberately
and .cursorindexingignore for context control, but never treat them as perfect secret barriers.4. Separate Local Work From Remote Work
5. Treat Non-Interactive CLI and MCP as High-Trust Modes
is powerful, and non-interactive usage does not deserve casual assumptions about safety.6. Make Privacy and Data Flow Explicit
7. End With Reviewable Evidence
Cursor Traps
or repo agent guidance -> the repo's own guidance loses to prompt churn. blocks every possible data path -> terminal and MCP tool calls can still touch things you did not intend. automation as if it had interactive approvals -> non-interactive runs can widen scope quickly.External Endpoints
Only these endpoint categories are allowed unless the user explicitly approves more:
| Endpoint | Data Sent | Purpose | |----------|-----------|---------| | https://cursor.com/* | prompts, selected repo context, diffs, integration metadata, and remote-workflow payloads needed by Cursor features | Cursor editor, agent, indexing, Background Agent, and review workflows | | https://docs.cursor.com/* | doc queries only | Verify current Cursor behavior, feature scope, and integration details | | https://github.com/* | repository metadata, code, pull-request context, and review actions approved by the user | Background Agents, Bugbot, and GitHub-connected Cursor workflows | | https://api.github.com/* | repository, branch, PR, and review metadata approved by the user | GitHub API access used by Cursor-connected review and remote execution flows | | https://{user-approved-mcp-host} | request payloads required by the approved MCP server | Optional MCP tool access beyond the local machine |
No other data is sent externally unless the user explicitly approves more hosts or integrations.
Security & Privacy
Data that leaves your machine:
Data that stays local:
This skill does NOT:
as a perfect protection layer for secrets is still the right target for new setupsTrust
By using this skill, prompts and selected code context may be sent to Cursor services, plus optional GitHub and user-approved MCP hosts. Only install if you trust those services with that data.
Scope
This skill ONLY:
This skill NEVER:
Related Skills
Install with clawhub install if user confirms:
agentic-engineering - Strengthen multi-agent workflow design, review discipline, and blast-radius thinking around Cursor usage.
coding - Improve implementation quality once Cursor is operating inside the right repo boundaries.
git - Handle branches, diffs, stashes, and non-destructive repo recovery around Cursor-driven changes.
api - Reuse request-debugging and integration patterns when Cursor work touches external services.
workflow - Turn recurring Cursor tasks into cleaner, repeatable operating procedures.Feedback
If useful: clawhub star cursor
Stay updated: clawhub sync`