github / github/copilot-cli

Support skill metadata to invoke subagents

未關閉
#1,169 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
area:agents
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the feature or problem you'd like to solve

An equivalent to claude's `context: fork` metadata in skills

### Proposed solution

https://code.claude.com/docs/en/skills#run-skills-in-a-subagent

I have a main agent file that acts as a workflow that delegates to subagents by explicitly stating in the agent file `"Step 1: Run subagent to follow instructions in prompt file at c:/path"`

My wish is to turn each step into a skill instead of a prompt, and it would be great for those skills to define "this should be run in a subagent", because those skills are effectively instructions to follow

### Example prompts or workflows

_No response_

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

先閱讀連結的 Claude 文件中關於在 subagent 中執行的 skill 的內容,然後檢查此 CLI 中現有的 skill 和 subagent 呼叫行為。完成標準是:skill 可以宣告要求在 subagent 中執行的中繼資料,並且 workflow 會據此呼叫它。

由索引模型根據 Issue 內容生成。

評估

領域
cli
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。