mcpField
C
call-cursor-agent

call-cursor-agent

github.com/dotneetエージェントワークフロー3445 回インストール40 週間前に更新
リポジトリ

call-cursor-agent について

call-cursor-agentは、タスクの説明をcursor-agentコマンドラインツールに渡すスキルです。コマンドのインストール状況を確認し、モデルの指定がない場合はcomposer-1を使用します。

主な機能

  1. 01cursor-agentのインストール確認
  2. 02コマンドライン経由のタスク送信
  3. 03--modelによるモデル指定
  4. 04未指定時のcomposer-1使用

活用シーン

  1. 01cursor-agentの利用可否確認
  2. 02cursor-agentへのタスク委任
  3. 03タスクに使用するモデルの選択

インストール

コマンドをコピーしてターミナルで実行します。

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

インストール後、Claude Code で/call-cursor-agentを入力して読み込まれたか確認します。

詳細

タスクの実行を cursor-agent に依頼する

このスキルは、タスクを cursor-agent に依頼します。

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

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

コメント