Call Cursor Agent

by dotneet07fa7eac95c2No license3 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 8 months ago

Call cursor-agent to perform a task.

Instructions onlyAI & Agents
AI-generated overview

Runs the cursor-agent command-line tool to hand a task description to an external coding agent.

What it does
This skill checks whether the cursor-agent command-line tool is installed, then invokes it with a task description passed on standard input. It uses a model variable that defaults to composer-1 when no model is specified. The skill contains instructions only and produces no files of its own; output comes from cursor-agent.
When to use it
Use it when a task should be delegated to the cursor-agent CLI rather than handled directly. It fits workflows where an external agent process is already installed and can accept a prompt through standard input.
Requirements
The cursor-agent command-line tool must be installed and available on PATH; if it is missing, the skill's later steps are skipped. It needs a shell to run the check and invocation commands, and it ships no scripts of its own.

Call cursor-agent to perform a task

This skill requests a task to cursor-agent.

Checking for the Existence of cursor-agent

bash
# 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-agentif [ $? -ne 0 ]; then  echo "cursor-agent is not installed"fi

Requesting a Task to cursor-agent

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

Source and attribution

Source:dotneet/claude-code-marketplaceinagent-call/skills/call-cursor-agentat commit07fa7ea

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal