Skip to content
Skill

Cursor setup

Sets up and checks the Cursor backend for Claude Code Harness

Cursor setup 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 setup

This skill configures Cursor as the implementation backend used by Claude Code Harness, either for the current project or for the user's local environment. It can report whether the backend resolves correctly, check that the cursor-agent binary is installed and runnable, and clear a previously set default. The distributed plugin fallback stays on the default backend, so the skill only changes local settings when a user explicitly asks for it.

The workflow is driven by helper scripts bundled with the Harness plugin: a setup check script, a backend show and set script, and a resolver that reports the active backend for a worker role. When the binary is missing, the skill searches the PATH and the local bin folder for cursor-agent and stops with a clear error if it cannot find it. Manual surfaces such as Cursor permission files, cursorignore rules and sandbox allowlists are left for the user to edit.

It expects the Claude Code Harness plugin root to be available through environment variables and a working Cursor CLI installation. Output is limited to the resolved backend, Cursor readiness and the next manual step if Cursor is not ready.

When your agent uses it

Configure and verify the Cursor backend for Claude Code Harness. Use when user invokes cursor:setup, wants Cursor as the local default implementation backend, or asks to check Cursor plugin/agent readiness. Distribution default remains opt-in; only local env/user settings are changed when explicitly requested.

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 1 file (4 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-marketplace

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

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-setup &&
cp -R "$tmp/opencode/skills/cursor-setup" ~/.claude/skills/cursor-setup &&
rm -rf "$tmp"

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/cursor-setup 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-setup &&
cp -R "$tmp/opencode/skills/cursor-setup" ~/.agents/skills/cursor-setup &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/cursor-setup 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-setup &&
cp -R "$tmp/opencode/skills/cursor-setup" ~/.cursor/skills/cursor-setup &&
rm -rf "$tmp"

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

Cursor docs on skills

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-setup

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

Gemini CLI docs on skills

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

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-setup &&
cp -R "$tmp/opencode/skills/cursor-setup" ~/.copilot/skills/cursor-setup &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

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

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

The SKILL.md format

What it does

Backend default setup
Sets Cursor as the implementation backend for the user or the current project.
Readiness check
Runs the Harness Cursor setup check and reports the cursor-agent version.
Backend resolution
Shows which implementation backend resolves for a worker role.
Default removal
Unsets the Cursor backend at either project or user scope.
Binary discovery
Searches PATH and the local bin folder for the cursor-agent executable.

Good for

  • Make Cursor the local default backend for a project
  • Check whether Cursor is ready for Claude Code Harness
  • Find out which implementation backend is currently active
  • Remove a previously set Cursor default at user scope

Cursor setup FAQ

What does Cursor setup need to run?

It needs the Claude Code Harness plugin root available through environment variables, and the cursor-agent CLI installed in PATH or in the local bin folder.

Does Cursor setup change the distributed default backend?

No. The skill keeps the shipped fallback unchanged and only changes local env or user settings when explicitly requested.

Does Cursor setup edit Cursor permission or ignore files?

No. Cursor permissions, cursorignore and Claude sandbox allowlists are treated as manual setup surfaces unless the user asks to edit a local file.

How do I install Cursor setup in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/cursor-setup to use it in all your projects, or to .claude/skills/cursor-setup 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 setup 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 setup?

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 setup?

The closest alternatives to Cursor setup are Harness setup, Cursor ask, Cursor do, Welcome and Cursor review.

Where this comes from

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

More from Chachamaru127/claude-code-harness

  1. Guards upstream Claude and Codex update reviews against docs-only feature additions

    • Open source
    • 3.2K GitHub stars
    • Developer tools
  2. Lets an agent drive a browser via the agent-browser CLI for UI checks and forms

    • Open source
    • 3.2K GitHub stars
    • Browser automation
  3. Diagnoses failing CI pipelines and proposes fixes for build and test errors

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

    • Open source
    • 3.2K GitHub stars
    • Developer tools
  5. Hands one write task to Cursor Composer in an isolated worktree, then reviews

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

    • Open source
    • 3.2K GitHub stars
    • Developer tools