mcpField
C
call-cursor-agent

call-cursor-agent

github.com/dotneetAgent workflows3445 installsUpdated 40w ago
Repository

About call-cursor-agent

call-cursor-agent is a skill that submits a described task to the cursor-agent command-line tool. It checks whether the command is installed and uses composer-1 when no model is specified.

Key features

  1. 01Check for cursor-agent installation
  2. 02Submit tasks through the command line
  3. 03Set a model with --model
  4. 04Default to composer-1 when unspecified

Use cases

  1. 01Checking whether cursor-agent is available
  2. 02Delegating a task to cursor-agent
  3. 03Choosing a model for a task

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/dotneet/claude-code-marketplace --skill call-cursor-agent

After installing, type/call-cursor-agentin Claude Code to confirm it loaded.

Details

From the project README

Call cursor-agent to perform a task

This skill requests a task to cursor-agent.

Checking for the Existence of cursor-agent

# Check if cursor-agent is installed. Exit code 0 means success, 1 means failure.
# If not installed, skip the subsequent steps of the skill.
which cursor-agent
if [ $? -ne 0 ]; then
  echo "cursor-agent is not installed"
fi

Requesting a Task to cursor-agent

# If the model is not specified, the default model is composer-1.
model=composer-1
cursor-agent --model=$model <<EOT
{task_description}
EOT

Comments

Markdown supported