Skills Plugins MCP Prompt Model 博客 我的中心
Education #ai #agent

continual-learning

Guide for implementing continual learning in AI coding agents — hooks, memory scoping, reflection patterns. Use when setting up learning infrastructure for agents.

DeepseekModel Curated skill Quality Excellent · 90 v1.0.0

Get

https://deepseekmodel.com/api/download.php?id=microsoft-skills-github-skills-continual-learning-skill-md&format=skill
Download .skill Standard format with system_prompt and model_config, ready for any agent framework
The actual content of the system_prompt field in the .skill file.
name continual-learning description Guide for implementing continual learning in AI coding agents — hooks, memory scoping, reflection patterns. Use when setting up learning infrastructure for agents. Continual Learning for AI Coding Agents Your agent forgets everything between sessions. Continual learning fixes that. The Loop Experience → Capture → Reflect → Persist → Apply ↑ │ └───────────────────────────────────────┘ Quick Start Install the hook (one step): cp -r hooks/continual-learning .github/hooks/ Auto-initializes on first session. No config needed. Two-Tier Memory Global ( ~/.copilot/learnings.db ) — follows you across all projects: Tool patterns (which tools fail, which work) Cross-project conventions General coding preferences Local ( .copilot-memory/learnings.db ) — stays with this repo: Project-specific conventions Common mistakes for this codebase Team preferences How Learnings Get Stored Automatic (via hooks) The hook observes tool outcomes and detects failure patterns: Session 1: bash tool fails 4 times → learning stored: "bash frequently fails" Session 2: hook surfaces that learning at start → agent adjusts approach Agent-native (via store_memory / SQL) The agent can write learnings directly: INSERT INTO learnings ( scope , category, content, source) VALUES ( 'local' , 'convention' , 'This project uses Result<T> not exceptions' , 'user_correction' ); Categories: pattern , mistake , preference , tool_insight Manual (memory files) For human-readable, version-controlled knowledge: # .copilot-memory/conventions.md - Use DefaultAzureCredential for all Azure auth - Parameter is semantic _configuration_ name=, not semantic _configuration= Compaction Learnings decay over time: Entries older than 60 days with low hit count are pruned High-value learnings (frequently referenced) persist indefinitely Tool logs are pruned after 7 days This prevents unbounded growth while preserving what matters. Best Practices One step to install — if it takes more than cp -r , it won't get adopted Scope correctly — global for tool patterns, local for project conventions Be specific — "Use semantic_configuration_name=" beats "use the right parameter" Let it compound — small improvements per session create exponential gains over weeks
Keywords that activate this skill. Click one to copy it.

This skill does not provide trigger words.

The downloaded .skill package contains the following fields.
Field Description
formatFormat tag (skill/v1)
skill_idUnique skill ID
nameSkill name
versionVersion
descriptionDescription
categoryCategories (array)
trigger_wordsTrigger words
tagsTags
sourceSource
source_urlSource URL (this page)
exported_atExported at (set per download)
system_promptSystem prompt body
model_configModel config: provider / model / temperature / max_tokens / top_p
examplesExamples
install_guideImport guide for Coze / Dify / Claude / custom frameworks
The same skill can be exported in different platform formats.
.skill Standard format with system_prompt and model_config, ready for any agent framework Download
.skillpro Enhanced format with scripts, tools, dependencies and hooks Download
.json Plain JSON export with system_prompt and model parameters only Download
Coze Markdown with frontmatter, for Coze platform import Download
Dify Dify DSL, import directly after creating an app Download

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。