
Cursor do
Hands one write task to Cursor Composer in an isolated worktree, then reviews
Cursor do is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 3.2K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Cursor do
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).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (33 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the harness plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add Chachamaru127/claude-code-harness
/plugin install harness@claude-code-harness-marketplaceOr copy only this skill to ~/.claude/skills/cursor-do:
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.
Copy the skill folder to ~/.agents/skills/cursor-do to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/cursor-do to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/Chachamaru127/claude-code-harness.git --path opencode/skills/cursor-doOr copy the folder to ~/.gemini/skills/cursor-do yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/cursor-do:
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.
Get the folder:
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.gitThen 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.
What it does
- 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
Cursor do 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.
More from Chachamaru127/claude-code-harness

Guards upstream Claude and Codex update reviews against docs-only feature additions
- Open source
- 3.2K GitHub stars
- Developer tools

Lets an agent drive a browser via the agent-browser CLI for UI checks and forms
- Open source
- 3.2K GitHub stars
- Browser automation

Diagnoses failing CI pipelines and proposes fixes for build and test errors
- Open source
- 3.2K GitHub stars
- Developer tools

Gets a read-only second opinion from Cursor's Composer agent on questions and designs
- Open source
- 3.2K GitHub stars
- Developer tools

Gets an advisory second-opinion review of a diff from Cursor Composer, read-only
- Open source
- 3.2K GitHub stars
- Developer tools

Sets up and checks the Cursor backend for Claude Code Harness
- Open source
- 3.2K GitHub stars
- Developer tools


