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 從公開儲存庫中收錄這些內容。

檢舉或申請下架