← Back to Skills Marketplace
whoisme007

Learning Coordinator

by whoisme007 · GitHub ↗ · v2.0.0 · MIT-0
linuxdarwinwin32 ⚠ suspicious
190
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install learning-coordinator
Description
Coordinates learning signals, pattern promotion, and stage management for self-improving memory. Monitors corrections and preferences to identify emerging pa...
README (SKILL.md)

When to Use

  • Need to check learning stage of a pattern or correction
  • Want to identify emerging patterns from repeated corrections
  • Need to coordinate promotion/demotion of patterns across memory tiers
  • Integrating with correction‑logger and preference‑tracker for learning workflows

Architecture

NeverOnce 增强功能

  • 有效性反馈集成:从增强correction-logger获取有效性分数,跟踪修正使用历史
  • 动态阶段转换算法:基于有效性的自动阶段提升/降级
    • 高有效性模式 → 加速确认
    • 低有效性模式 → 自动降级或标记
  • 反馈循环监控:跟踪模式有效性趋势,识别高/低效学习模式
  • 学习速度计算:基于有效性和反馈趋势的学习速度评估
  • 增强报告生成:模式有效性报告、反馈循环统计、学习进度跟踪
  • 自动调整规则:基于置信度的自动阶段调整,减少人工干预

增强算法

  1. 阶段置信度计算
    confidence = (repetition_count * 0.4) + (effectiveness_score * 0.4) + (time_factor * 0.2)
    
  2. 学习速度评估
    learning_speed = (help_ratio * 0.6) + (effectiveness_trend * 0.4)
    
  3. 自动调整阈值
    • 自动提升: confidence ≥ 0.8
    • 自动降级: effectiveness ≤ 0.2

集成说明

  • 依赖: 增强correction-logger v2.0.0+(可选,但推荐)
  • 数据源: 从纠正记录器获取有效性分数和反馈历史
  • 兼容性: 原有API完全兼容,新增增强方法可选使用

The plugin provides a LearningCoordinator class that:

  1. Monitors learning signals – watches corrections and preferences via their respective adapters.
  2. Manages learning stages – tracks patterns through stages: tentative, emerging, pending, confirmed, archived.
  3. Coordinates promotion/demotion – applies rules for when to move patterns between stages and tiers.
  4. Exposes learning statistics – reports on learning progress and pattern evolution.

The plugin does not store its own data; it relies on existing adapters (correction‑logger, preference‑tracker) and the learning‑rules file (learning.md).

Installation

clawhub install learning-coordinator

Or manually copy the plugin directory to your workspace skills folder.

Configuration

Default configuration loads the learning rules file and references other adapters:

learning_rules_file: ~/self-improving/learning.md
correction_adapter: "correction_logger"
preference_adapter: "preference_tracker"
auto_create: true

API Reference

LearningCoordinator Class

from learning_coordinator import LearningCoordinator

coordinator = LearningCoordinator(config=None)

# Get learning statistics
stats = coordinator.get_learning_stats()

# Check emerging patterns
emerging = coordinator.get_emerging_patterns(threshold=2)

# Promote a pattern (after user confirmation)
result = coordinator.promote_pattern(correction_ids=[1, 2, 3], new_status="confirmed")

# Get stage counts
stage_counts = coordinator.get_stage_counts()

# Health check
health = coordinator.health_check()

Adapter Interface

The plugin includes a LearningCoordinatorAdapter that conforms to the star‑architecture MemoryAdapter base class, providing:

  • health_check() – reports availability of required adapters and rule file
  • get_stats() – returns learning statistics (stage counts, promotion rates, etc.)
  • search(query, limit=10) – searches across learning rules and pattern descriptions
  • sync() – ensures coordinator state is in sync (no‑op for this plugin)
  • get_learning_stats(), get_emerging_patterns(), promote_pattern() – convenience methods

Integration with Star Architecture

Once installed and its adapter is registered in the star‑architecture registry, other plugins can query learning coordination via the adapter factory:

from integration.adapter_factory import AdapterFactory

factory = AdapterFactory()
coordinator_adapter = factory.get_adapter("learning_coordinator")
if coordinator_adapter:
    stats = coordinator_adapter.get_learning_stats()
    emerging = coordinator_adapter.get_emerging_patterns(threshold=2)

Learning Rules

The plugin reads the learning.md file (see SIPA skill) to obtain:

  • Trigger definitions – what counts as a learning signal
  • Confirmation flow – how and when to ask for user confirmation
  • Stage evolution – rules for moving between stages
  • Anti‑patterns – what not to learn

The file is treated as read‑only; modifications must be made manually.

Troubleshooting

Missing adapters – If correction‑logger or preference‑tracker adapters are unavailable, the coordinator will operate with limited functionality.

Rule file not found – If learning.md does not exist, the plugin will create a minimal version based on the SIPA skill's default content.

Permission errors – Ensure the process has read access to the learning rules file.

Related Plugins

  • correction‑logger – logs user corrections and system improvements
  • preference‑tracker – manages user preferences and patterns
  • heartbeat‑manager – manages heartbeat state and logs
  • reflection‑logger – logs self‑reflection entries

Version History

  • v0.1.0 – Initial split from SIPA skill, basic coordination, star‑architecture adapter.

错误码

错误码 描述 解决方案
E001 未知错误 检查日志,联系开发者
E002 配置错误 验证配置文件格式
E003 依赖缺失 安装所需依赖包
Usage Guidance
This skill appears to implement the learning-coordinator functionality it describes, but take these precautions before installing: - Inspect adapters: The code attempts to load adapters via an AdapterFactory from a hard-coded integration path (/root/.openclaw/workspace/integration). Verify what adapters exist in that registry and whether they expose or access sensitive data. If you run in a shared environment, ensure adapters are trusted. - Backup and review files: The skill will create and write ~/self-improving/learning.md (and may create corrections db files). Back up any existing files in that directory and review the content the skill will write. - Run in a restricted environment first: Test the skill in a sandbox or developer environment to observe what files it reads/writes and which adapters it loads. - Check file permissions: Ensure created files do not gain broader access than intended (set appropriate filesystem permissions). - Review related plugins: The skill integrates with correction-logger and preference-tracker; review those plugins' code and configs so you understand what data flows into the coordinator. If you want to proceed more confidently, provide the skill with an explicit configuration that points to an isolated rules directory (not a shared root path) and disable auto_create until you have inspected the code and integration adapters.
Capability Analysis
Type: OpenClaw Skill Name: learning-coordinator Version: 2.0.0 The learning-coordinator skill is a legitimate component designed to manage an AI agent's self-improvement logic by tracking user corrections and promoting them to permanent preferences. The core logic in scripts/learning_coordinator.py implements a feedback loop that calculates pattern confidence and effectiveness scores, storing its state in the designated ~/self-improving/ directory. The skill follows its stated purpose, lacks any network exfiltration or unauthorized execution capabilities, and contains no malicious prompt injection instructions in SKILL.md.
Capability Assessment
Purpose & Capability
The name/description (learning coordination, pattern promotion, stage management) lines up with the provided code and examples. The skill reads a learning rules file, integrates with correction and preference adapters, and exposes the expected API. However, the code inserts a hard-coded integration path (/root/.openclaw/workspace/integration) to load adapters, which is environment-specific and could cause the skill to load other adapters or modules outside its apparent scope.
Instruction Scope
SKILL.md and the code focus on reading/creating the learning rules file, reading correction/preference adapters, computing statistics, and promoting/demoting patterns. The instructions do not request unrelated files or environment variables. The skill will create and write the learning rules file (learning.md) under the user's home by default and reads other files referenced in configuration (e.g., corrections.md, corrections_enhanced.db). This file I/O is consistent with the stated purpose but is write-capable on the user's filesystem.
Install Mechanism
There is no install spec (instruction-only install), and included code files are provided in the package. No external downloads, package installers, or archive extraction are used. Risk from the install mechanism itself is low.
Credentials
The skill declares no required environment variables or credentials, and the code does not attempt to read secret environment variables. It does operate on files under ~/self-improving by default; those paths are proportional to a learning rules/adapter integration skill. The ability to import adapters from an integration registry means the skill could indirectly access adapter-provided data, which is expected for its purpose but worth reviewing.
Persistence & Privilege
always:false (no forced-inclusion). The skill writes a rules file (creates ~/self-improving/learning.md if missing) and may create other files (corrections_enhanced.db) per config; this persistent presence on disk is consistent with its function but should be noted. Also, the skill attempts to load adapters from a fixed absolute path (/root/.openclaw/workspace/integration), which may let it access other adapters or shared resources on the host — this increases its effective reach beyond only its own files.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install learning-coordinator
  3. After installation, invoke the skill by name or use /learning-coordinator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
learning-coordinator 2.0.0 – Initial standalone release, split from SIPA skill. - Coordinates learning signals, pattern promotion, and stage management across memory tiers. - Monitors corrections and preferences to identify emerging patterns and manage learning stages. - Integrates with Memory Sync Enhanced star architecture via adapter, with optional correction-logger v2.0.0+ support. - Exposes learning statistics, pattern evolution, and handles automatic stage adjustments based on feedback. - Provides a `LearningCoordinator` class and a star-architecture compatible adapter for querying learning data.
Metadata
Slug learning-coordinator
Version 2.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Learning Coordinator?

Coordinates learning signals, pattern promotion, and stage management for self-improving memory. Monitors corrections and preferences to identify emerging pa... It is an AI Agent Skill for Claude Code / OpenClaw, with 190 downloads so far.

How do I install Learning Coordinator?

Run "/install learning-coordinator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Learning Coordinator free?

Yes, Learning Coordinator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Learning Coordinator support?

Learning Coordinator is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).

Who created Learning Coordinator?

It is built and maintained by whoisme007 (@whoisme007); the current version is v2.0.0.

💬 Comments