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.
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
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 |
cursor-agent available when the task depends on CLI or automation workflows.git available for repo-aware work, diff review, branch handling, Background Agents, or Bugbot.This skill treats Cursor as an operational coding system, not as generic editor advice. It covers:
.cursor/rules, user rules, and repo-level agent guidance, with .cursorrules treated as legacycursor-agent workflows, including resume and MCP-aware executionKeep only durable Cursor operating context in ~/cursor/:
.cursor/rules patterns that workedcursor-agent, Background Agent, or Bugbot..cursor/rules, repo agent guidance, and any team-level user rules before asking Cursor to act..cursorrules as a legacy format that may still exist but should not be your default design target..cursorignore and .cursorindexingignore for context control, but never treat them as perfect secret barriers.cursor-agent is powerful, and non-interactive usage does not deserve casual assumptions about safety..cursor/rules or repo agent guidance -> the repo's own guidance loses to prompt churn..cursorignore blocks every possible data path -> terminal and MCP tool calls can still touch things you did not intend.cursor-agent automation as if it had interactive approvals -> non-interactive runs can widen scope quickly.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.
Data that leaves your machine:
Data that stays local:
~/cursor/This skill does NOT:
.cursorignore as a perfect protection layer for secrets.cursorrules is still the right target for new setupsBy 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.
This skill ONLY:
This skill NEVER:
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.clawhub star cursorclawhub sync共 1 个版本