npx skills add ...
npx skills add microsoft/skills --skill continual-learning
npx skills add microsoft/skills --skill continual-learning
Guide for implementing continual learning in AI coding agents — hooks, memory scoping, reflection patterns. Use when setting up learning infrastructure for agents.
Your agent forgets everything between sessions. Continual learning fixes that.
Install the hook (one step):
Auto-initializes on first session. No config needed.
Global (~/.copilot/learnings.db) — follows you across all projects:
Local (.copilot-memory/learnings.db) — stays with this repo:
The hook observes tool outcomes and detects failure patterns:
The agent can write learnings directly:
Categories: pattern, mistake, preference, tool_insight
For human-readable, version-controlled knowledge:
Learnings decay over time:
This prevents unbounded growth while preserving what matters.
cp -r, it won't get adopted"Use semantic_configuration_name=" beats "use the right parameter"# .copilot-memory/conventions.md
- Use DefaultAzureCredential for all Azure auth
- Parameter is semantic_configuration_name=, not semantic_configuration=