Feature Request: Support per-skill model selection through SKILL.md frontmatter

未關閉
#2,895 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
22/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
活躍
技術堆疊
java

研究方向

Start by finding SkillProviderDescriptor in the SDK and reading how the existing model field on custom agents is declared and passed through, then check how skills are loaded from SKILL.md frontmatter. The open question is whether the closed-source Copilot CLI runtime can honour a per-skill model, so the first step is a maintainer answer, not code. Done means the maintainers have agreed on an approach and a scope for the SDK-side change.

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

描述

Hi! I'd like to contribute support for specifying a model in a skill's SKILL.md frontmatter, similar to how custom agents support the model field.

For example:

---
name: architecture-review
description: Reviews application architecture.
model: claude-sonnet-4
---

My understanding is that this requires more than adding a model property to the SDK's SkillProviderDescriptor. The runtime must actually honour the declared model when executing the skill.

Since the Copilot CLI runtime is closed source, I'd like to clarify the intended implementation approach before proceeding.

Does the Copilot SDK already expose a mechanism that allows a skill to execute using a different model from the parent session, or would this require an internal change to the Copilot CLI runtime?

If it requires a runtime change, is there an extension point or contribution path available for external contributors to implement this?

I'd appreciate your guidance so I can work on the right part of the architecture.

主要語言
Java
星號
10.7k
分支
1.5k
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/copilot-sdk 的其他 Issue

查看 github/copilot-sdk 的全部 Issue

相似的 Issue

更多 Java Issue

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

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