Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

adaptive-learning-agents自适应学习 Agent

Agent Skill

adaptive-learning-agents 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

36,866

周安装

1,477

GitHub Stars

公开资料未说明

下载量

11,934
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:adaptive-learning-agents(自适应学习 Agent)
来源仓库:https://github.com/vedantsingh60/adaptive-learning-agents
安装命令:
openclaw skills install adaptive-learning-agents
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install adaptive-learning-agents

简介

持续记录错误、修正与最佳实践,优化工作流程。

  • 适合 OpenClaw 中希望 Agent 沉淀经验与能力缺口的场景。
  • 自动捕获任务执行中的问题并存储至本地知识库。
  • 需确认是否允许写入日志文件或持久化存储。adaptive-learning-agents 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 注意维护状态,避免数据丢失影响学习连续性。

SKILL.md

Adaptive Learning Agent

Learn from errors and corrections in real-time. Continuously improve by capturing failures, user feedback, and successful patterns.

Free and open-source (MIT License) • Zero dependencies • Works locally


🚀 Why This Skill?

Problem Statement

Working with Claude or any AI agent means encountering:

  • Mistakes that need correction
  • Unexpected API behaviors
  • Better approaches discovered through experimentation
  • Knowledge gaps that get revealed during use

But there's no systematic way to learn from these moments and apply the knowledge next time.

The Solution

Adaptive Learning Agent captures every error, correction, and successful pattern automatically. Then retrieves relevant learnings before tackling similar problems again.

Real Use Cases

  • Bug discovery: Record an error once, never struggle with it again
  • Prompt optimization: Keep track of what prompt variations work best
  • API integration: Remember quirky behaviors and workarounds
  • Workflow improvement: Document shortcuts and best practices
  • Team knowledge: Export and share learnings across projects

✨ What You Get

Four Core Functions

1. Record Learnings

agent.record_learning(
    content="Use claude-sonnet for 90% of tasks—faster and cheaper",
    category="technique",
    context="Model selection"
)

Capture successful patterns, insights, and best practices.

2. Record Errors

agent.record_error(
    error_description="JSON parsing failed on null values",
    context="Processing API response",
    solution="Add null check before parsing"
)

Document failures and solutions automatically.

3. Search & Retrieve Learnings

results = agent.search_learnings("JSON parsing")
recent = agent.get_recent_learnings(limit=5)
by_category = agent.get_learnings_by_category("bug-fix")

Find relevant knowledge instantly when you need it.

4. View Summaries

summary = agent.get_learning_summary()
print(agent.format_learning_summary())

Understand what you've learned at a glance.

Key Features

Zero dependencies - Pure Python, works everywhere ✅ Local-only storage - All data on your machine, no uploads ✅ MIT Licensed - Free to use, modify, fork, redistribute ✅ Automatic categorization - Errors become learnings ✅ Search and filter - Find knowledge by keyword or category ✅ Export capability - Share learnings as JSON ✅ No API keys - Works without any external credentials


📊 Real-World Example

from adaptive_learning_agent import AdaptiveLearningAgent

# Initialize agent
agent = AdaptiveLearningAgent()

# Day 1: Discover a bug
agent.record_error(
    error_description="Anthropic API rejects prompts with excessive newlines",
    context="Testing prompt with formatted lists",
    solution="Use \\
.strip() to clean whitespace before sending"
)

# Day 2: Same bug, but now you have the solution
similar_errors = agent.search_learnings("newlines")
# Result: [Previous learning with solution] ✅

# Week 1: Document successful pattern
agent.record_learning(
    content="Always use temperature=0 for deterministic output in tests",
    category="best-practice",
    context="Prompt engineering"
)

# Get weekly summary
summary = agent.get_learning_summary()
print(f"You've recorded {summary['total_learnings']} learnings this week!")
print(f"Resolved {summary['error_statistics']['resolved']} errors")

🔧 Installation

No installation needed! The skill is pure Python with zero dependencies.

# Copy the adaptive_learning_agent.py file to your project
# Or import it directly:

from adaptive_learning_agent import AdaptiveLearningAgent

💡 Use Cases

Software Development

Record bugs you find and their fixes. Next time you hit a similar error, you have the solution ready.

agent.record_error(
    error_description="Port 8000 already in use",
    context="Running local dev server",
    solution="Use `lsof -i :8000` to find process, then kill it"
)

Prompt Engineering

Keep track of prompting techniques that work for your specific use cases.

agent.record_learning(
    content="Chain-of-thought works better for math problems, direct answers for facts",
    category="technique"
)

API Integration

Remember quirky behaviors and workarounds for each provider.

agent.record_learning(
    content="OpenAI API requires explicit 'assistant' role messages",
    category="api-endpoint",
    context="Chat completion endpoint"
)

Team Knowledge

Export learnings and share with your team or future projects.

agent.export_learnings("team_learnings.json")
# Share this file with teammates

Continuous Improvement

Before major tasks, review what you've learned to avoid repeating mistakes.

summary = agent.get_learning_summary()
unresolved = summary['error_statistics']['unresolved']
if unresolved > 0:
    print(f"⚠️ {unresolved} unresolved errors—review before proceeding")

📚 Categories

When recording learnings, choose from these categories:

CategoryUse For
techniqueWorking methods, approaches, strategies
bug-fixSolutions to errors and problems
api-endpointAPI-specific behaviors and quirks
constraintLimits, boundaries, restrictions
best-practiceRecommended patterns and standards
error-handlingHow to handle specific types of errors

🎯 Sources

When recording learnings, specify the source:

  • user-correction - User told you something was wrong
  • error-discovery - You found the solution to an error
  • successful-pattern - You discovered something that works well
  • user-feedback - User suggested an improvement

📖 API Reference

Core Methods

record_learning(content, category, source, context)

Record a successful pattern or insight.

Parameters:

  • content (str, required): What was learned
  • category (str): One of the category types above
  • source (str): One of the source types above
  • context (str): Optional context about where this applies

Returns: Learning object with ID and timestamp

record_error(error_description, context, solution, prevention_tip)

Record an error and optionally its solution.

Parameters:

  • error_description (str, required): What went wrong
  • context (str, required): What was being attempted
  • solution (str): How to fix it
  • prevention_tip (str): How to avoid it

Returns: Error object with ID

search_learnings(query)

Search learnings by keyword or category.

Parameters:

  • query (str): Search term

Returns: List of matching Learning objects (sorted by relevance)

get_recent_learnings(limit)

Get the most recent learnings.

Parameters:

  • limit (int): Number to return (default: 10)

Returns: List of Learning objects, newest first

get_learning_summary()

Get comprehensive summary of learnings and errors.

Returns: Dictionary with statistics and recent items

export_learnings(output_file)

Export all learnings and errors to JSON file.

Parameters:

  • output_file (str): Path to save JSON (default: "learnings_export.json")

🔒 Privacy & Security

  • Zero telemetry - No data sent anywhere
  • Local-only storage - Everything stored in .adaptive_learning/ on your machine
  • No API calls - Works completely offline
  • No authentication - No accounts, keys, or logins needed
  • Full transparency - Source code included and open-source

🤝 Contributing

This is MIT Licensed and community-maintained. You're encouraged to:

  • Fork the repository
  • Submit improvements and features
  • Integrate it into your projects
  • Share learnings with others

📝 Changelog

[1.0.0] - 2026-02-14

✨ Initial Release

  • Core learning system - Record and retrieve learnings
  • Error tracking - Capture errors with solutions
  • Search functionality - Find learnings by keyword or category
  • Local storage - All data stays on your machine
  • Export capability - Share learnings as JSON files
  • Zero dependencies - Pure Python, no external packages
  • MIT Licensed - Free to use, modify, redistribute
  • Comprehensive API - Simple, Pythonic interface

📞 Support

  • GitHub: https://github.com/clawhub-skills/adaptive-learning-agent
  • Issues & Contributions: Open an issue or PR on GitHub
  • Community: Share your learnings and improvements!

📄 License

MIT License - Free and open-source

Use, modify, fork, and redistribute freely. See LICENSE.md for full details.

Copyright © 2026 UnisAI Community

Last Updated: February 14, 2026 Current Version: 1.0.0 Status: Active & Community-Maintained

Free to use, modify, and fork. No restrictions.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

75.77%
按下载量换算9,042

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills