← 返回 Skills 市场
vedantsingh60

Self Improvement For All

作者 vs · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1119
总下载
0
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install adaptive-learning-agents
功能描述
Capture, store, and retrieve errors, corrections, and best practices locally to continuously improve AI agent workflows and knowledge.
使用说明 (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:

Category Use For
technique Working methods, approaches, strategies
bug-fix Solutions to errors and problems
api-endpoint API-specific behaviors and quirks
constraint Limits, boundaries, restrictions
best-practice Recommended patterns and standards
error-handling How 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


📄 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.

安全使用建议
This skill appears to do what it says: a small, local Python module that records and searches 'learnings' in JSON files. Before installing or using it, note that it will create a .adaptive_learning directory (learnings.json, errors.json) in the working directory and stores any text you pass to it in plaintext. Do not record passwords, API keys, or other secrets into this store unless you encrypt or otherwise protect those files. Also verify the repository/contact listed in manifest.yaml if you want to confirm provenance (the registry metadata showed 'Source: unknown' while the manifest references a GitHub project). If you plan to share exported JSON with teammates, review it first for sensitive contents.
功能分析
Type: OpenClaw Skill Name: adaptive-learning-agents Version: 1.0.0 The skill is generally benign, emphasizing local-only storage and no external network calls. However, the `export_learnings` function in `adaptive_learning_agent.py` allows the `output_file` path to be specified by the caller. This presents a file overwrite vulnerability, as a malicious prompt could instruct the agent to export data to sensitive system files (e.g., `/etc/passwd`), potentially corrupting them. Similarly, the `storage_path` in the constructor could be manipulated. While there is no evidence of intentional malicious behavior within the skill's code or documentation, this vulnerability makes the skill 'suspicious' due to the risk of unintended file system modification if the agent is maliciously prompted.
能力评估
Purpose & Capability
The name/description (adaptive learning from errors and corrections) aligns with the included Python implementation and SKILL.md. The manifest and SKILL.md both advertise zero dependencies, local-only storage, and no API keys; the code implements local JSON files under a .adaptive_learning directory. Minor note: registry metadata indicated 'Source: unknown' while manifest.yaml contains a GitHub homepage/repository — a documentation inconsistency but not functionally suspicious.
Instruction Scope
SKILL.md instructs the agent/user to copy/import the Python file and use the provided record/search/export methods. The code's methods correspond directly to the documented API (record_learning, record_error, search_learnings, export_learnings, etc.). There are no instructions to read unrelated system files or environment variables, and runtime behavior is limited to managing learnings/errors in local JSON files.
Install Mechanism
There is no install spec (instruction-only skill) and the package includes a single Python module with no external downloads or install steps. This is low-risk: nothing is fetched from arbitrary URLs and no archives are extracted.
Credentials
The skill declares no required environment variables or credentials and the code does not access environment variables or external services. It only writes to the local storage path (default: .adaptive_learning). Note: because data is stored locally, the agent may persist any text passed into record_* calls — users should avoid recording secrets or sensitive data they would not want saved in plaintext.
Persistence & Privilege
The skill does not request permanent inclusion (always: false) and does not modify other skills or system-wide configuration. It only creates and manages its own storage files in a local directory.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install adaptive-learning-agents
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /adaptive-learning-agents 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Adaptive Learning Agent 1.0.0 - Initial public release. - Provides methods to record errors, corrections, best practices, and successful patterns. - Supports searching, filtering, and summarizing learnings. - Local-only storage with zero dependencies. - MIT licensed and fully open-source.
元数据
Slug adaptive-learning-agents
版本 1.0.0
许可证
累计安装 6
当前安装数 4
历史版本数 1
常见问题

Self Improvement For All 是什么?

Capture, store, and retrieve errors, corrections, and best practices locally to continuously improve AI agent workflows and knowledge. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1119 次。

如何安装 Self Improvement For All?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install adaptive-learning-agents」即可一键安装,无需额外配置。

Self Improvement For All 是免费的吗?

是的,Self Improvement For All 完全免费(开源免费),可自由下载、安装和使用。

Self Improvement For All 支持哪些平台?

Self Improvement For All 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Self Improvement For All?

由 vs(@vedantsingh60)开发并维护,当前版本 v1.0.0。

💬 留言讨论