Dev & Engineering ✓ Microsoft · Official continual-learningagent-memoryshell-hookssqlitememory-scopingreflection-patterns

Continual Learning for Coding Agents

Builds cross-session memory so coding agents can capture experience, reflect on it, persist it, and apply it later.

FollowSkills review · FSRS-2.0
Not recommended
27/ 100 5-point scale 1.4 / 5
Trust7 / 25 · 1.4/5

The document distinguishes global and local memory scopes, but does not specify sensitive-data redaction, access control, user confirmation, data flows, dependency security, deletion/rollback, or audit mechanisms. Automatically observing tool outcomes and persisting them could expose project or user information, warranting substantial deductions. No explicit evidence of malware or credential theft was found.

Reliability4 / 20 · 1.0/5

The core loop and examples are concise and mostly self-consistent, but the installation source, hook contents, database schema, initialization behavior, and error handling are not reproducible from the selected file. The claims of no configuration and automatic initialization lack diagnosable failure feedback, so the static score remains low.

Adaptability5 / 15 · 1.7/5

The target scenario—setting up continual-learning infrastructure for coding agents—is reasonably clear, and global/local memory boundaries are described. However, trigger conditions, inputs, outputs, supported agents, non-fit cases, Chinese-language support, and network-environment fit are unspecified, leaving semantic boundaries weakly evidenced.

Convention5 / 15 · 1.7/5

The SKILL.md has clear sections, quick-start guidance, conceptual explanations, examples, and best practices. Repository-level MIT licensing and Microsoft provenance are available, but the skill lacks dependency notes, configuration parameters, limitation disclosures, troubleshooting, versioning, changelog, and maintenance/update instructions; the required hooks are not included in the supplied evidence.

Effectiveness4 / 15 · 1.3/5

The document presents a continual-learning loop, memory tiers, and three storage approaches, which could guide a basic design. However, it provides no directly usable hook implementation, schema, validation procedure, or complete output contract, so substantial implementation work remains and static evidence of task completion is limited.

Verifiability2 / 10 · 1.0/5

The skill includes a conceptual loop, SQL example, and markdown example, but no committed tests, execution results, or third-party reproduction evidence for its key paths. Repository-level CI and harness files do not demonstrate actual behavior of this skill, so verifiability is very low.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • The installation command copies hooks, but the hook contents, permissions, supply-chain integrity, and recovery procedure are unspecified.
  • The global database resides in the user home directory and may aggregate tool outcomes and preferences across projects; redaction, data minimization, access control, confirmation, deletion, and rollback guidance are needed.
  • The SQL example depends on an undefined learnings table and schema, with no SQLite initialization, concurrency, migration, or corruption-handling guidance.
  • The document does not define which agents trigger the skill or explain usability for Chinese-language users and mainland-China network conditions.
See the full review method →

What it does & when to use it

This skill provides infrastructure for continual learning in AI coding agents by observing tool outcomes through hooks and recording failure patterns. It separates memory into global and project-local tiers for reusable experience and repository-specific conventions. Agents can also write learnings directly through SQL, while teams can maintain human-readable Markdown memory files. A compaction policy removes low-value old entries and stale tool logs to limit growth.

Copies the continual-learning hook from the repository into .github/hooks/; auto-initializes it on the first session; observes tool outcomes and detects failure patterns; stores learnings in ~/.copilot/learnings.db or .copilot-memory/learnings.db; supports direct SQL INSERT statements into the learnings table with scope, category, content, and source fields; supports version-controlled knowledge in .copilot-memory/conventions.md; prunes low-hit entries older than 60 days and tool logs older than 7 days.

  1. A developer wants an agent to remember recurring tool failures across multiple projects.
  2. A team needs repository-local memory for project conventions, common mistakes, and team preferences.
  3. An agent operator wants user corrections to become categorized patterns, mistakes, preferences, or tool insights.
  4. A team wants human-readable, version-controlled conventions alongside automatically captured database learnings.

Pros & cons

Pros
  • Provides distinct global and project-local memory scopes.
  • Supports automatic hooks, direct SQL storage, and Markdown-based manual memory.
  • Includes decay and log-pruning rules to limit unbounded growth.
  • Uses a short installation command and requires no stated configuration.
Limitations
  • The source does not provide hook source code, test results, or detailed platform validation.
  • It requires local filesystem access and writes to a user or project directory.
  • The source does not specify the database implementation, concurrency behavior, backup process, or recovery behavior.
  • Its scope is learning infrastructure rather than SDK-specific or business-domain guidance.

How to install

From the repository root, run:
cp -r hooks/continual-learning .github/hooks/
The skill states that it auto-initializes on the first session and requires no configuration. The README also documents collection-level installation with: npx skills add microsoft/skills.

How to use

After installing the hook, continue using the coding agent; the hook observes tool outcomes and surfaces relevant learnings in later sessions. You can also ask the agent to “set up continual learning infrastructure for this project” or insert records directly into the learnings table with SQL. The source does not document the hook implementation, permission setup, or an exact trigger-command syntax.

FAQ

Does it require network access or a paid service?
The source shows no network or paid-service dependency; the documented workflow uses local hooks, database files, and Markdown files.
What is the difference between global and local memory?
Global memory is stored at ~/.copilot/learnings.db and follows the user across projects; local memory is stored at .copilot-memory/learnings.db and stays with the repository.
Does it automatically save every conversation?
The source only states that the hook observes tool outcomes and detects failure patterns; it does not say that complete conversations are stored.
Is manual configuration required after installation?
The SKILL.md says the hook auto-initializes on the first session with no configuration. Detailed permissions and failure handling are not documented.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills