Agent Skills: Call cursor-agent to perform a task

Call cursor-agent to perform a task.

UncategorizedID: dotneet/claude-code-marketplace/call-cursor-agent

Install this agent skill to your local

pnpm dlx add-skill https://github.com/dotneet/claude-code-marketplace/tree/HEAD/agent-call/skills/call-cursor-agent

Skill Files

Browse the full folder contents for call-cursor-agent.

Download Skill

Loading file tree…

agent-call/skills/call-cursor-agent/SKILL.md

Skill Metadata

Name
call-cursor-agent
Description
Call cursor-agent to perform a task.

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