Call Cursor Agent

作者 dotneet07fa7eac95c2无许可证3 个星标收录于 2026年10月8日更新于 2026年10月8日仓库8个月前更新

Call cursor-agent to perform a task.

仅含说明AI & Agents
AI 生成的概览

调用 cursor-agent 命令行工具,把任务描述交给外部编码代理执行。

功能
该技能先检查是否安装了 cursor-agent 命令行工具,然后通过标准输入把任务描述传给该工具执行。它使用一个模型变量,未指定模型时默认为 composer-1。技能只包含说明,本身不生成文件,输出由 cursor-agent 产生。
适用场景
当任务需要交给 cursor-agent 命令行工具而不是直接处理时使用。适用于已安装该外部代理程序、并能通过标准输入接收提示的工作流程。
运行要求
需要安装 cursor-agent 命令行工具并使其位于 PATH 中;若未安装,技能会跳过后续步骤。需要 shell 来执行检查与调用命令,技能本身不附带脚本。

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

来源与署名

来源:dotneet/claude-code-marketplace位于agent-call/skills/call-cursor-agent提交07fa7ea

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架