copilot-goal-skill — плагин для GitHub Copilot
Ставит задачу в цикл: один субагент делает, второй проверяет результат по свежему контексту, пока не выполнит цель.
copilot plugin install copilot-goal-skill@awesome-copilotЧто делает copilot-goal-skill
Плагин добавляет скилл goal, который ведёт работу до выполнения цели. Сначала он задаёт уточняющие вопросы, пока не получится формулировка с измеримыми критериями приёмки, потом изучает репозиторий на предмет соглашений, правил коммитов и проверок качества. Дальше пишет неизменяемый goal.md — он и становится источником правды для всей работы.
Основной цикл такой: субагент Builder реализует и коммитит, а отдельный Inspector на другой модели и со свежим контекстом проверяет результат против цели. Если FAIL, Builder получает замечания и пробует снова. Каждая итерация попадает в git, так что решения кодера и проверяющего видно по истории. Когда Inspector говорит PASS, вы получаете сводку и готовую команду squash.
По умолчанию Builder работает на GPT-5.6 Luna (copilot), Inspector — на GPT-6.1 Sol (copilot), а сам скилл запускается на GPT-6 Luna (copilot). Модели задаются в goal-builder.agent.md и goal-inspector.agent.md. Лимита итераций нет, но на пятой появляется мягкое предупреждение. Для эффективной работы нужен включённый Copilot YOLO mode — без него цикл будет постоянно упираться в подтверждения.
Артефакты складываются в .goals/<id>/: goal.md, status.json для отслеживания итераций и возобновления, файлы inspector-feedback-01.md и далее, а после PASS — summary.md.
Какие задачи решает
- довести задачу до конца без ручной проверки каждого шага
- получить независимую оценку результата, а не согласие того же агента
- сформулировать цель с измеримыми критериями приёмки
- разобрать по git-истории, почему итерация провалилась
- возобновить прерванный цикл по
status.json
Примеры запросов агенту
- /copilot-goal-skill:goal Добавь retry-логику в API-клиент
- /copilot-goal-skill:goal Доведи миграцию на новый конфиг до конца
- /copilot-goal-skill:goal Почини падающие тесты в модуле оплаты
Как установить copilot-goal-skill
Команда из источника
copilot plugin install copilot-goal-skill@awesome-copilotПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о copilot-goal-skill
Как установить copilot-goal-skill в GitHub Copilot?
Через маркетплейс: copilot plugin install copilot-goal-skill@awesome-copilot. Вручную можно клонировать репозиторий и прописать путь к plugins/copilot-goal-skill в настройке github.copilot.chat.agent-plugins в .vscode/settings.json.
Что делает copilot-goal-skill?
Гоняет задачу по кругу между Builder и Inspector, пока цель не будет выполнена. Builder реализует и коммитит, Inspector независимо проверяет результат по goal.md.
Чем это отличается от Autopilot в Copilot?
Autopilot тоже умеет оценивать завершение задачи, но использует небольшую utility-модель. Здесь Inspector работает на более умной модели, цель лежит в репозитории в виде goal.md, а вся история ревью и повторов остаётся в git.
Исходный текст
copilot-goal-skill · MIT
# Goal Skill for GitHub Copilot
**Verified autonomous task completion** — an orchestrator that bounces
between a Builder (does the work) and an Inspector (judges the result)
until the goal is met.
> [!TIP]
> You need to enable [Copilot YOLO mode](vscode://settings/chat.tools.global.autoApprove)
> to use this skill efficiently.

## Important: Why Not Just Autopilot?
[Autopilot](https://code.visualstudio.com/updates/v1_124#_autopilot-preview) is a similar feature
directly provided by Copilot. It used to use hardcoded rules to find out if a task is done,
which was not reliable.
> [!IMPORTANT]
>
> Starting [VS Code 1.124](https://code.visualstudio.com/updates/v1_124#_autopilot-preview),
> **Autopilot CAN be configured to use an utility model to evaluate to completion of the task**,
> instead of relying on custom rules.
>
> For that you need to set [chat.autopilot.advanced.enabled](vscode://settings/chat.autopilot.advanced.enabled)
> to `true` in your VS Code settings.
>
> However, **this skill is not deprecated** by Autopilot if you care about the following:
>
> - the `goal.md` is clearly defined, written in your repository
> - Use a smarter model for inspector (Autopilot uses a small utility model)
> - Git audit trail (you can see in the history the different review, retry, ...)
## How It Works
1. **Relentless interview** — asks clarifying questions until it can
write a clear goal with measurable acceptance criteria
2. **Project discovery** — explores your repo for conventions, quality
gates, commit rules
3. **Writes a goal file** — immutable `goal.md` with acceptance criteria
that becomes the single source of truth
4. **Builder → Inspector loop** — the Builder implements and commits;
a separate Inspector (different model, fresh context) independently
verifies against the goal; if FAIL, the Builder gets feedback and
tries again
5. **Git commit trail** — each iteration is committed,
so you can review the history of coder and inspector decisions
6. **Summary and squash** — when the Inspector says PASS, you get a
summary and a ready-to-use squash command
## Architecture
Run the Goal skill with **GPT-6 Luna (copilot)**. The default subagent models are:
| Agent | Model | Role |
| ------------- | ---------------------- | ---------------------- |
| **Builder** | GPT-5.6 Luna (copilot) | Implements the goal |
| **Inspector** | GPT-6.1 Sol (copilot) | Verifies independently |
The Inspector runs on a separate model with fresh context by design —
it forces clear, verifiable acceptance criteria. If the Inspector
can't tell whether the goal is met, the goal was poorly defined.
## Installation
### Marketplace
Install this project as Marketplace in [VS code settings](vscode://settings/chat.plugins.marketplaces):
```raw
https://github.com/gsemet/copilot-goal-skill.git
```
### Manual
Clone this repo and point VS Code at it as a Copilot plugin:
```jsonc
// .vscode/settings.json
{
"github.copilot.chat.agent-plugins": [
"/path/to/copilot-goal-skill/plugins/copilot-goal-skill"
]
}
```
Or install from the marketplace if your setup supports
`marketplace.json`-based plugins.
## Usage
Invoke the skill through Copilot chat:
```raw
/copilot-goal-skill:goal Add retry logic to the API client
```
The skill will:
1. Ask you clarifying questions until the goal is clear
2. Write `.goals/<id>/goal.md`
3. Start the Builder → Inspector loop
4. Show a summary and squash command when done
## Skill documentation
Read [`docs/goal.md`](docs/goal.md) for an explanation of the workflow, its
artifacts, verification boundaries, and the value it brings to users.
## File Structure
When the skill runs, it creates in your project:
```raw
.goals/<id>/
├── goal.md # What must be achieved (immutable)
├── status.json # Iteration tracking + resumability
├── inspector-feedback-01.md # First iteration feedback
├── inspector-feedback-02.md # Second iteration (if needed)
└── summary.md # Final report (after PASS)
```
## Plugin Structure
```raw
copilot-goal-skill/
├── .github/plugin/marketplace.json
├── images
│ └── goal-loop.svg # Animated workflow diagram
├── README.md
├── LICENSE
└── plugins/copilot-goal-skill/
├── .github/plugin/plugin.json
├── skills/goal/
│ ├── SKILL.md # Orchestrator instructions
│ └── assets/
│ └── goal-template.md # Template for goal files
└── agents/
├── goal-builder.agent.md
└── goal-inspector.agent.md
```
## Configuration
| Setting | Default | Notes |
|---------|---------|-------|
| Skill model | GPT-6 Luna (copilot) | Recommended orchestrator model |
| Builder model | GPT-5.6 Luna (copilot) | In `goal-builder.agent.md` |
| Inspector model | GPT-6.1 Sol (copilot) | Independent verification model |
| Iteration limit | None | Soft warning at 5 |
| Commit convention | Conventional commits | Overridden by project's own |
## License
MIT
© Gaetan Semet · MIT · gsemet/copilot-goal-skill