Using

GitHub Copilot

Last reviewed

Inline completion in VS Code, and agents for the work a team repeats. My current experiment: predefined agents on github.com or GHE, with a learning loop built on agentic GitHub Actions.

Predefined agents

A team gets the same agents on github.com or GHE. Each one is a file in .github/agents/ with a description, a model and a tool allowlist. The knowledge stays in skills, so the agent file stays thin.

The learning loop, still an experiment

After an agent's pull request closes, an agentic GitHub Actions workflow writes a retro and can propose one lesson as an issue. A reviewer does the same with a /lesson <what went wrong> comment on the PR. A confirming label on the issue starts a second workflow, which opens the pull request that changes the skill. Agents never edit skills themselves.

Commands

  • /agent in Copilot CLI to pick one of the predefined agents.
  • /chronicle: session history and tips, still trying it.
  • /model plan sets a specific model for plan mode, and /model a different, cheaper one for regular work.
gh aw compile <workflow>

History

  • 29 Nov 2026 Checked against current docs; the learning loop now also takes a /lesson comment.
  • 2 Sep 2026 Reviewed. No change.