home / skills / ntaksh42 / agents / copilot-delegate
/dotfiles/claude/skills/copilot-delegate
This skill delegates user requests to the GitHub Copilot CLI and returns the exact results.
npx playbooks add skill ntaksh42/agents --skill copilot-delegateReview the files below or copy the command above to add this skill to your agents.
---
name: copilot-delegate
description: Copilot CLIに処理を委譲するスキル。ユーザーが「Copilotに聞いて」「Copilotで確認して」「Copilotに任せて」などと明示的に依頼したときに使用する。GitHub Copilot CLIの機能を活用して、コマンドの提案やGit操作の説明などを取得する。
---
# Copilot Delegate
GitHub Copilot CLIに処理を委譲し、その結果を返す。
## 使用方法
ユーザーが明示的にCopilotへの委譲を依頼した場合、以下のコマンドを実行する:
```bash
copilot -p "依頼内容"
```
## トリガー例
- 「Copilotに聞いて」
- 「Copilotで確認して」
- 「Copilotに任せて」
- 「Copilotに相談して」
## 実行手順
1. ユーザーの依頼内容を抽出する
2. `copilot -p "依頼内容"` を実行する
3. 結果をそのままユーザーに返す
## 注意事項
- Copilot CLIがインストールされていない場合はエラーになる
- 結果はCopilot CLIの出力をそのまま表示する
This skill delegates user requests to GitHub Copilot CLI and returns the CLI output directly. It is used when a user explicitly asks to consult or hand a task over to Copilot. The skill focuses on forwarding prompts to copilot -p and relaying results unchanged.
When a user explicitly asks to use Copilot, the skill extracts the user’s request and runs copilot -p "{user request}" on the host where the agent operates. It captures the CLI output and returns it verbatim to the user. If the Copilot CLI is not installed or an error occurs, the skill reports the failure and the CLI error message.
What happens if Copilot CLI is not installed?
The skill returns an error indicating the CLI is missing and provides that CLI error output.
Do you modify Copilot’s output?
No. The skill returns Copilot CLI output verbatim, though it may add a brief note about errors or execution context.
Can I chain multiple Copilot prompts?
Yes. You can ask for follow-up runs or refinements; each will be executed as a separate copilot -p invocation.