# Cursor do

> Cursor do is an open-source agent skill for developer tools. Hands one write task to Cursor Composer in an isolated worktree, then reviews. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/Chachamaru127/claude-code-harness/tree/main/opencode/skills/cursor-do
- **Repository:** https://github.com/chachamaru127/claude-code-harness
- **GitHub stars:** 3,232
- **License:** MIT
- **Skill name:** cursor-do
- **Collection:** https://github.com/Chachamaru127/claude-code-harness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill sends a single implementation task to Cursor's Composer model through a companion shell script, running it inside a dedicated git worktree so the main working tree stays untouched. The agent first checks that the Cursor CLI is installed and notes the current branch, then resolves the plugin root, backend and model before creating the worktree.

After Composer finishes, the agent collects any uncommitted changes into a single commit, reads the full diff, and checks it against scope, protected config paths, and secrets. It then runs a few contract-wording checks inside the worktree. Only when the diff passes does it cherry-pick the commit into the current branch, optionally update a matching task marker in Plans.md, and remove the worktree.

It expects the Cursor agent CLI, a git repository, and the claude-code-harness plugin scripts. Multi-task team runs and read-only questions are routed to other skills.

## When your agent uses it

> Delegate a single write task to Cursor Composer via cursor-companion.sh inside an isolated worktree, then Lead-review the diff and cherry-pick. Use when user invokes cursor:do, says delegate to cursor, have composer write it, refactor with cursor, hand a file edit to Composer. Do NOT load for: planning, code review only, read-only investigation, or multi-task team runs (use breezing --cursor or cursor:ask instead).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Chachamaru127/claude-code-harness/tree/HEAD/opencode/skills/cursor-do)
- [License: MIT](https://github.com/Chachamaru127/claude-code-harness/tree/HEAD/opencode/skills/cursor-do)

## Features

- **Isolated worktree delegation:** Runs the Composer write task in a separate git worktree so the main tree is not modified during generation.
- **Lead diff review:** Reads the full diff and checks scope, protected paths and secrets before anything is merged.
- **Single-commit cherry-pick:** Folds Composer's changes into one commit and cherry-picks it by SHA into the current branch.
- **Contract wording checks:** Runs bundled consistency scripts from the repository inside the worktree when they exist.
- **Plans.md marker update:** Marks a matching open task as done in Plans.md when one is found.
- **Automatic worktree cleanup:** Removes the temporary worktree and branch after a successful cherry-pick.

## Good for

- Have Cursor Composer implement a small feature in an isolated branch
- Hand a single file refactor to Composer and review the diff before merging
- Delegate a bounded bug fix to Cursor and cherry-pick the result

## Install

### Claude Code

This skill ships in the `harness` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Chachamaru127/claude-code-harness
/plugin install harness@claude-code-harness-marketplace
```

Or copy only this skill to `~/.claude/skills/cursor-do`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/cursor-do &&
cp -R "$tmp/opencode/skills/cursor-do" ~/.claude/skills/cursor-do &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/cursor-do` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/cursor-do` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/cursor-do &&
cp -R "$tmp/opencode/skills/cursor-do" ~/.agents/skills/cursor-do &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/cursor-do` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/cursor-do` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/cursor-do &&
cp -R "$tmp/opencode/skills/cursor-do" ~/.cursor/skills/cursor-do &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/cursor-do` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Chachamaru127/claude-code-harness.git --path opencode/skills/cursor-do
```

Or copy the folder to `~/.gemini/skills/cursor-do` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/cursor-do`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/cursor-do &&
cp -R "$tmp/opencode/skills/cursor-do" ~/.copilot/skills/cursor-do &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/cursor-do` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git
```

Then copy `claude-code-harness/opencode/skills/cursor-do` into your agent's skills folder as `cursor-do`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Cursor do need installed?

It needs the cursor-agent CLI, which the skill checks for first, plus the claude-code-harness plugin scripts that contain the companion script.

### When should Cursor do not be used?

The skill says not to load it for planning, code review only, read-only investigation, or multi-task team runs; for those it points to breezing --cursor or cursor:ask.

### Does Cursor do force-run Cursor with unrestricted permissions?

The instructions prohibit passing --force or --yolo to the companion script.

### How do I install Cursor do in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/cursor-do to use it in all your projects, or to .claude/skills/cursor-do in one project. Or install the harness plugin, which includes it: /plugin marketplace add Chachamaru127/claude-code-harness, then /plugin install harness@claude-code-harness-marketplace.

### Does Cursor do run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Cursor do?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Cursor do?

The closest alternatives to Cursor do are Cursor ask, Cursor review, Harness work, Shiplog waves and Breezing.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Cursor ask](https://ai-powered.com/skills/cursor-ask-chachamaru127): Cursor ask is an open-source agent skill for developer tools.
- [Cursor review](https://ai-powered.com/skills/cursor-review-chachamaru127): Cursor review is an open-source agent skill for developer tools.
- [Harness work](https://ai-powered.com/skills/harness-work-chachamaru127-2): Harness work is an open-source agent skill for developer tools.
- [Shiplog waves](https://ai-powered.com/skills/shiplog-waves): Shiplog waves is an open-source agent skill for developer tools.
- [Breezing](https://ai-powered.com/skills/breezing-chachamaru127-2): Breezing is an open-source agent skill for developer tools.
- [Cursor setup](https://ai-powered.com/skills/cursor-setup-chachamaru127): Cursor setup is an open-source agent skill for developer tools.
- [Intent drift](https://ai-powered.com/skills/intent-drift): Intent drift is an open-source agent skill for developer tools.
- [Swarm](https://ai-powered.com/skills/swarm-michael-denyer): Swarm is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/cursor-do-chachamaru127
