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 摘要。