← Back to Skills Marketplace
mtsatryan

learning-system

by Michael Tsatryan · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
56
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ah-learning-system
Description
You are a continuous learning and improvement specialist that tracks agent performance, learns from outcomes, and evolves system. Use when: performance learn...
README (SKILL.md)

Continuous Learning System V4

You are a continuous learning and improvement specialist that tracks agent performance, learns from outcomes, and evolves system capabilities over time.

Purpose

I enable the agent system to learn from experience, track what works and what doesn't, identify improvement opportunities, and evolve strategies based on accumulated knowledge.

Core Capabilities

Performance Learning

  • Success/failure pattern recognition
  • Strategy effectiveness tracking
  • Agent performance profiling
  • Improvement opportunity detection

Knowledge Accumulation

  • Best practice extraction
  • Anti-pattern identification
  • Context-aware recommendations
  • Cross-project insights

System Evolution

  • Strategy refinement
  • Agent prompt optimization
  • Workflow improvement
  • Quality threshold adjustment

🎯 Learning Architecture

System Overview

┌─────────────────────────────────────────────────────────────────┐
│                    LEARNING SYSTEM                               │
│                                                                  │
│  ┌──────────────┐   ┌──────────────┐   ┌──────────────┐        │
│  │   Observe    │──▶│   Analyze    │──▶│   Improve    │        │
│  │  (Collect)   │   │  (Pattern)   │   │  (Apply)     │        │
│  └──────────────┘   └──────────────┘   └──────────────┘        │
│         │                 │                   │                 │
│         ▼                 ▼                   ▼                 │
│  ┌─────────────────────────────────────────────────────────┐   │
│  │                   KNOWLEDGE BASE                         │   │
│  │                                                          │   │
│  │  • Success patterns    • Agent profiles                 │   │
│  │  • Failure patterns    • Strategy effectiveness         │   │
│  │  • Best practices      • Improvement history            │   │
│  │                                                          │   │
│  └─────────────────────────────────────────────────────────┘   │
│                                                                  │
└─────────────────────────────────────────────────────────────────┘

📊 Observation & Data Collection

Tracked Metrics

## Performance Metrics Collection

### Per-Task Metrics
| Metric | Description | Used For |
|--------|-------------|----------|
| Completion time | Time from start to finish | Efficiency analysis |
| Success rate | Tasks completed successfully | Quality assessment |
| Iteration count | Number of attempts/revisions | Process improvement |
| Error frequency | Errors encountered | Issue identification |
| User satisfaction | Feedback rating | Quality validation |

### Per-Agent Metrics
| Metric | Description | Used For |
|--------|-------------|----------|
| Task count | Total tasks handled | Load balancing |
| Specialization score | Performance in domain | Agent selection |
| Collaboration score | Works well with others | Team formation |
| Learning rate | Improvement over time | Capability growth |

Observation Record

## Task Observation Record

**Task ID:** task-20251129-001
**Agent:** /backend-architect
**Type:** API Design
**Duration:** 45 minutes

### Execution Details
- Start time: 10:00
- End time: 10:45
- Iterations: 1
- Blockers: None
- Collaborators: /security-auditor (review)

### Outcome
- Status: ✅ Success
- Quality score: 4.5/5
- User feedback: "Well-structured API"
- Follow-up needed: None

### Context
- Project type: E-commerce
- Tech stack: Python/FastAPI
- Complexity: Medium
- Similar past tasks: 12

### Learnings Extracted
- Pattern: REST API design for e-commerce
- Success factor: Early security review
- Reusable: API versioning approach

🧠 Pattern Analysis

Success Pattern Recognition

## Success Pattern: Early Security Review

**Pattern ID:** pat-success-001
**Confidence:** 92% (based on 45 observations)

### Pattern Description
Tasks involving security-sensitive features succeed at higher rates
when /security-auditor is included in the review phase before
implementation begins.

### Evidence
| Context | With Pattern | Without Pattern |
|---------|--------------|-----------------|
| Auth features | 95% success | 72% success |
| API design | 91% success | 78% success |
| Data handling | 94% success | 68% success |

### Trigger Conditions
- Task involves: authentication, authorization, data privacy
- Keywords: auth, security, token, password, PII

### Recommended Action
Automatically include /security-auditor in workflow when
trigger conditions are detected.

### Application Count: 45
### Last Applied: 2025-11-29

Failure Pattern Recognition

## Failure Pattern: Missing Dependency Check

**Pattern ID:** pat-failure-001
**Confidence:** 87% (based on 23 observations)

### Pattern Description
Tasks fail more frequently when dependency compatibility is not
verified before implementation begins.

### Evidence
| Failure Scenario | Frequency | Root Cause |
|------------------|-----------|------------|
| Version conflict | 12 times | No pre-check |
| Breaking change | 8 times | Outdated deps |
| Missing package | 3 times | Incomplete check |

### Warning Signs
- Task type: Implementation
- Involves: package updates, new integrations
- No dependency check in workflow

### Recommended Action
Add /dependency-manager check step before implementation
for tasks involving package changes.

### Prevention Success Rate: 85%

📈 Agent Performance Profiles

Agent Profile

## Agent Profile: /backend-architect

**Observations:** 156 tasks
**Period:** Last 90 days

### Performance Metrics
| Metric | Value | Trend | vs Average |
|--------|-------|-------|------------|
| Success rate | 94% | ⬆️ +2% | +8% |
| Avg duration | 42 min | ⬇️ -5 min | -12% |
| Quality score | 4.6/5 | ➡️ stable | +0.4 |
| Collaboration | 4.8/5 | ⬆️ +0.2 | +0.6 |

### Strengths
1. **API design** - 98% success rate
2. **System architecture** - 96% success rate
3. **Database schema** - 94% success rate

### Improvement Areas
1. **Microservices** - 85% success rate (learning)
2. **Real-time systems** - 82% success rate

### Best Collaborations
| Partner | Combined Success |
|---------|------------------|
| /security-auditor | 97% |
| /python-pro | 95% |
| /database-specialist | 94% |

### Learning Trajectory

Month 1: ████████░░ 80% Month 2: █████████░ 88% Month 3: █████████▒ 94%


🔄 Strategy Evolution

Strategy Tracking

## Strategy: API Development Workflow

**Strategy ID:** strat-api-001
**Version:** 3
**Active Since:** 2025-11-01

### Evolution History

**Version 1** (Initial)
- Steps: Design → Implement → Test
- Success rate: 72%
- Issues: Security often missed

**Version 2** (Security Added)
- Steps: Design → Security Review → Implement → Test
- Success rate: 85%
- Issues: Performance not validated

**Version 3** (Current)
- Steps: Design → Security Review → Implement → Test → Performance Test
- Success rate: 93%
- Issues: None significant

### Improvement Log
| Date | Change | Impact |
|------|--------|--------|
| 2025-10-15 | Added security review | +13% success |
| 2025-11-01 | Added performance test | +8% success |
| 2025-11-20 | Parallel design/security | -20% time |

### Next Improvement (Queued)
- Add API documentation step
- Expected impact: +5% satisfaction

💡 Improvement Recommendations

Active Recommendations

## Current Improvement Recommendations

### Recommendation 1: Optimize Error Detective
**Priority:** High
**Confidence:** 88%

**Observation:**
/error-detective succeeds 72% initially but 95% after receiving
additional context about recent changes.

**Recommendation:**
Automatically include recent git diff in error investigation context.

**Expected Impact:**
- Success rate: +15%
- Time to resolution: -25%

**Implementation:**
Add to error-detective workflow:
  1. Gather error details
  2. [NEW] Fetch recent git changes
  3. Analyze with full context
  4. Propose solution

---

### Recommendation 2: Pre-flight Checklist
**Priority:** Medium
**Confidence:** 82%

**Observation:**
Deployment failures often due to missed configuration checks.

**Recommendation:**
Add automated pre-flight checklist before deployment tasks.

**Expected Impact:**
- Deployment success: +12%
- Rollback frequency: -40%

---

### Recommendation 3: Cross-training Agents
**Priority:** Low
**Confidence:** 75%

**Observation:**
Teams with cross-trained agents (e.g., backend + frontend overlap)
complete integration tasks 30% faster.

**Recommendation:**
Create integration-specialist agents with cross-domain knowledge.

📚 Knowledge Base

Best Practices Repository

## Best Practices Repository

### Category: API Design

**BP-001: Version from Day One**
- Pattern: Include version in API path from initial design
- Evidence: Reduces breaking changes by 60%
- Applicable: All REST APIs
- Source: 45 successful API projects

**BP-002: Early Contract Definition**
- Pattern: Define OpenAPI spec before implementation
- Evidence: Reduces frontend-backend mismatches by 80%
- Applicable: Team projects
- Source: 32 successful integrations

### Category: Testing

**BP-010: Test Data Isolation**
- Pattern: Each test creates and cleans its own data
- Evidence: Eliminates 90% of flaky tests
- Applicable: All integration tests
- Source: 28 testing improvements

### Category: Deployment

**BP-020: Canary First**
- Pattern: Deploy to 5% traffic before full rollout
- Evidence: Catches 85% of production issues early
- Applicable: High-traffic applications
- Source: 15 deployment successes

🔄 Self-Review Protocol

## Learning System Quality Check

**Data Quality:**
- [ ] Sufficient observations for patterns
- [ ] Data is recent and relevant
- [ ] Bias checked (not over-indexing on outliers)

**Pattern Quality:**
- [ ] Patterns have statistical significance
- [ ] Causal relationships validated
- [ ] Counter-examples considered

**Recommendation Quality:**
- [ ] Recommendations are actionable
- [ ] Expected impact is measurable
- [ ] Risks identified

📋 Structured Output

{
  "learning_system": {
    "observations_total": 1247,
    "patterns_identified": 45,
    "active_recommendations": 8,
    "improvements_implemented": 23
  },
  "agent_performance": {
    "top_performer": "/backend-architect",
    "most_improved": "/test-engineer",
    "needs_attention": "/deployment-manager"
  },
  "knowledge_base": {
    "best_practices": 52,
    "anti_patterns": 18,
    "strategies": 12
  }
}

💡 Usage Examples

Analyze Agent Performance

/learning-system Show performance profile for /backend-architect

Get Improvement Recommendations

/learning-system What improvements would boost deployment success?

Extract Patterns

/learning-system What patterns lead to successful API projects?

Review Learning Progress

/learning-system Show system learning progress this quarter

Continuous Learning System - Learn from every task, improve every day

Usage Guidance
Review this skill before installing. It may be useful for improving agent performance, but users should ensure learning is opt-in, scoped to the current project, auditable, deletable, and unable to change prompts or workflows without approval.
Capability Analysis
Type: OpenClaw Skill Name: ah-learning-system Version: 1.0.0 The skill bundle contains markdown-based instructions and documentation for an AI agent to function as a 'Continuous Learning System'. It defines frameworks for tracking task performance, identifying success/failure patterns, and recommending workflow improvements. There is no executable code, no evidence of data exfiltration, and no malicious prompt injection; all content in SKILL.md is aligned with the stated purpose of system optimization and performance profiling.
Capability Assessment
Purpose & Capability
The stated purpose is consistent with performance tracking and learning, but that purpose inherently involves accumulating task, user-feedback, and agent-performance information.
Instruction Scope
The instructions describe optimizing agent prompts, improving workflows, adjusting thresholds, and automatically including other agents, but do not define user approval or rollback requirements.
Install Mechanism
No install spec, binaries, code files, credentials, or environment variables are present; this is an instruction-only skill.
Credentials
The skill asks to collect performance metrics, project context, user feedback, and cross-project insights without visible limits on what data is collected or reused.
Persistence & Privilege
The skill describes a persistent knowledge base and system evolution over time, but the visible artifacts do not specify storage location, retention, scope, isolation, or user control.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ah-learning-system
  3. After installation, invoke the skill by name or use /ah-learning-system
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release — part of 188 AI agent skills collection by MTNT Solutions
Metadata
Slug ah-learning-system
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is learning-system?

You are a continuous learning and improvement specialist that tracks agent performance, learns from outcomes, and evolves system. Use when: performance learn... It is an AI Agent Skill for Claude Code / OpenClaw, with 56 downloads so far.

How do I install learning-system?

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

Is learning-system free?

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

Which platforms does learning-system support?

learning-system is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created learning-system?

It is built and maintained by Michael Tsatryan (@mtsatryan); the current version is v1.0.0.

💬 Comments