Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计通过

cursorCursor 命令行

Agent Skill

cursor 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

30,532

周安装

1,285

GitHub Stars

3

下载量

10,691
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cursor(Cursor 命令行)
来源仓库:https://github.com/ivangdavila/cursor
安装命令:
openclaw skills install cursor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install cursor

简介

通过存储库感知上下文和可审查的执行,跨编辑器、CLI、规则、后台代理、Bugbot 和 MCP 工作流程安全地使用 Cursor。

SKILL.md

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.

TopicFile
Setup guidesetup.md
Memory templatememory-template.md
Install and choose the right Cursor surfaceinstall-and-surfaces.md
Rules, context hierarchy, and mode choicerules-and-context.md
cursor-agent, non-interactive runs, and MCP boundariescli-and-mcp.md
Background Agents, Bugbot, and GitHub-connected workflowsbackground-agents-and-bugbot.md
Privacy mode, indexing, and ignore filesprivacy-and-indexing.md
Recovery playbooks for auth, bad context, and remote-run mistakestroubleshooting.md

Requirements

  • Cursor installed and usable on the target machine, or permission to guide installation.
  • 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.
  • Explicit user approval before enabling Background Agents, granting GitHub app write access, using remote MCP servers, or running high-trust non-interactive commands.
  • Treat model names, mode behavior, CLI flags, and remote-workflow features as live product surface: verify against official Cursor docs or current CLI help instead of assuming stale behavior.

Operating Coverage

This skill treats Cursor as an operational coding system, not as generic editor advice. It covers:

  • editor-side usage across Agent, Ask, Manual, and custom mode patterns
  • project rules through .cursor/rules, user rules, and repo-level agent guidance, with .cursorrules treated as legacy
  • context shaping through repo boundaries, indexing, and ignore files
  • local and non-interactive cursor-agent workflows, including resume and MCP-aware execution
  • Background Agents and Bugbot when work shifts from local interaction to remote GitHub-connected execution
  • privacy, data exposure, and review discipline when Cursor features move code or prompts off the local machine

Data Storage

Keep only durable Cursor operating context in ~/cursor/:

  • which repos, teams, or task types are approved for Cursor use
  • preferred surface by task type: editor, CLI, Background Agent, or Bugbot
  • rule hierarchy decisions and recurring .cursor/rules patterns that worked
  • privacy and trust defaults around indexing, ignore files, GitHub integration, and remote MCP
  • repeated failures such as wrong repo scope, ignored rules, unsafe non-interactive runs, or remote review noise

Core Rules

1. Lock the Cursor Surface First

  • Name the active surface before doing anything else: editor Agent, Ask, Manual, custom mode, cursor-agent, Background Agent, or Bugbot.
  • Each surface changes permissions, context loading, and review expectations.
  • Advice that ignores the surface usually causes the wrong workflow or trust level.

2. Establish the Instruction Hierarchy Before Prompting

  • Check for project rules in .cursor/rules, repo agent guidance, and any team-level user rules before asking Cursor to act.
  • Treat .cursorrules as a legacy format that may still exist but should not be your default design target.
  • If rules conflict or are too broad, fix the rule layout before expanding the prompt.

3. Shape Context Deliberately

  • Control what Cursor sees through repo selection, indexing posture, and ignore files instead of assuming it "just knows the repo."
  • Use .cursorignore and .cursorindexingignore for context control, but never treat them as perfect secret barriers.
  • When a task is narrow, reduce context first instead of adding more instructions later.

4. Separate Local Work From Remote Work

  • Editor Agent and local CLI use are different from Background Agents and Bugbot.
  • Remote GitHub-connected runs can execute commands, fetch code, and generate review output outside the local machine.
  • Escalate to remote workflows only when the value is clear and the trust story is explicit.

5. Treat Non-Interactive CLI and MCP as High-Trust Modes

  • cursor-agent is powerful, and non-interactive usage does not deserve casual assumptions about safety.
  • Review MCP server scope, host, and side effects before turning it on.
  • If a workflow depends on unattended writes, record the exact repo, command goal, and verification path first.

6. Make Privacy and Data Flow Explicit

  • Cursor requests, indexing, and remote workflows may send code or prompts to Cursor services, GitHub, or user-approved MCP hosts.
  • Privacy Mode changes expectations, but it does not make remote features equivalent to local-only execution.
  • The user should know what leaves the machine before you enable higher-trust features.

7. End With Reviewable Evidence

  • A good Cursor run ends with a diff, a check result, or a clear checkpoint, not just "the agent handled it."
  • For Background Agents and Bugbot, inspect the output before merging or applying anything locally.
  • Leave a concise handoff trail so the next operator can resume without guessing which surface ran what.

Cursor Traps

  • Treating every Cursor feature as local-only -> remote execution and GitHub-connected workflows get approved without real review.
  • Dumping instructions into chat before checking .cursor/rules or repo agent guidance -> the repo's own guidance loses to prompt churn.
  • Assuming .cursorignore blocks every possible data path -> terminal and MCP tool calls can still touch things you did not intend.
  • Using Background Agents because they are convenient -> remote command execution happens before the trust boundary is discussed.
  • Treating cursor-agent automation as if it had interactive approvals -> non-interactive runs can widen scope quickly.
  • Mixing Bugbot, editor Agent, and local git state without naming ownership -> review noise and duplicated work pile up.
  • Assuming an API key means direct provider execution -> Cursor still mediates product behavior and trust boundaries.

External Endpoints

Only these endpoint categories are allowed unless the user explicitly approves more:

EndpointData SentPurpose
https://cursor.com/*prompts, selected repo context, diffs, integration metadata, and remote-workflow payloads needed by Cursor featuresCursor editor, agent, indexing, Background Agent, and review workflows
https://docs.cursor.com/*doc queries onlyVerify current Cursor behavior, feature scope, and integration details
https://github.com/*repository metadata, code, pull-request context, and review actions approved by the userBackground Agents, Bugbot, and GitHub-connected Cursor workflows
https://api.github.com/*repository, branch, PR, and review metadata approved by the userGitHub API access used by Cursor-connected review and remote execution flows
https://{user-approved-mcp-host}request payloads required by the approved MCP serverOptional 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:

  • prompts and selected code context sent to Cursor services
  • indexing-related code chunks or metadata needed for Cursor codebase features
  • optional repo, branch, and PR context when Background Agents or Bugbot use GitHub-connected flows
  • optional MCP payloads only for user-approved MCP servers

Data that stays local:

  • durable operating notes under ~/cursor/
  • local repo state, local rules, and diffs unless the user enables remote features
  • any ignored or unshared files that never enter a Cursor request or approved tool call

This skill does NOT:

  • treat .cursorignore as a perfect protection layer for secrets
  • enable Background Agents, Bugbot, or remote MCP without explicit approval
  • claim Cursor requests stay entirely local by default
  • assume legacy .cursorrules is still the right target for new setups
  • modify its own skill files

Trust

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:

  • helps operate Cursor safely across editor, CLI, rules, indexing, remote agents, and review workflows
  • structures repo work into the right local or remote execution surface
  • keeps durable notes for approved repos, rule strategy, privacy posture, and recurring failure fixes

This skill NEVER:

  • blur the line between local editor help and remote Background Agent execution
  • claim ignore files solve every privacy or access problem
  • recommend unattended high-trust Cursor runs as a default
  • treat Cursor as just another generic chat wrapper

Related Skills

Install with clawhub install <slug> 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

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

81.31%
按下载量换算8,693

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills