# Send OpenClaw Continuous Learning to your agent
Use the source page and any available docs to guide the install because the item currently does not return a direct package file.
## Fast path
- Open the source page via Open source listing.
- If you can obtain the package, extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the source page and extracted files.
## Suggested prompts
### New install

```text
I tried to install a skill package from Yavira, but the item currently does not return a direct package file. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required.
```
### Upgrade existing

```text
I tried to upgrade a skill package from Yavira, but the item currently does not return a direct package file. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-continuous-learning",
    "name": "OpenClaw Continuous Learning",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/adelpro/openclaw-continuous-learning",
    "canonicalUrl": "https://clawhub.ai/adelpro/openclaw-continuous-learning",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openclaw-continuous-learning",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-continuous-learning",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/analyze.mjs"
    ],
    "downloadMode": "manual_only",
    "sourceHealth": {
      "source": "tencent",
      "slug": "openclaw-continuous-learning",
      "status": "source_issue",
      "reason": "not_found",
      "recommendedAction": "review_source",
      "checkedAt": "2026-05-02T20:54:29.414Z",
      "expiresAt": "2026-05-03T20:54:29.414Z",
      "httpStatus": 404,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-continuous-learning",
      "contentType": "text/plain",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-continuous-learning",
        "contentDisposition": null,
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openclaw-continuous-learning"
      },
      "scope": "item",
      "summary": "Known item issue.",
      "detail": "This item's current download entry is known to bounce back to a listing or homepage instead of returning a package file.",
      "primaryActionLabel": "Open source listing",
      "primaryActionHref": "https://clawhub.ai/adelpro/openclaw-continuous-learning"
    },
    "validation": {
      "installChecklist": [
        "Open the source listing and confirm there is a real package or setup artifact available.",
        "Review SKILL.md before asking your agent to continue.",
        "Treat this source as manual setup until the upstream download flow is fixed."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-continuous-learning",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-continuous-learning",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-continuous-learning/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-continuous-learning/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-continuous-learning/agent.md"
  }
}
```
## Documentation

### Continuous Learning for AI Agents

An instinct-based learning system that helps AI agents improve themselves through observation and pattern detection.

### What This Skill Does

Analyzes session history - Reviews agent interactions and outputs
Detects patterns - Identifies recurring behaviors, preferences, workflows
Creates instincts - Atomic learnings with confidence scores
Suggests optimizations - Based on observed behavior patterns
Enables self-evolution - Converts insights into improvements

### When to Use

Use when:

Building self-improving AI agents
Want agent to learn from interactions
Discovering optimization opportunities
Creating adaptive automation
Tracking behavioral patterns

Skip when:

Static, unchanging behavior preferred
No session history available
Simple, deterministic workflows only

### Architecture

~/.openclaw/agents/ (session .jsonl files)
        │
        ▼
┌───────────────────────────────────────────┐
│ analyze.mjs                                │
│ • Reads session history                   │
│ • Extracts tool calls & errors             │
│ • Detects patterns                         │
└───────────────────────────────────────────┘
        │
        ▼
┌───────────────────────────────────────────┐
│ memory/learning/                           │
│ • instincts.jsonl (atomic learnings)       │
│ • patterns.json (aggregated)              │
│ • optimizations.json (suggestions)         │
└───────────────────────────────────────────┘

### External Feedback (Sub-Skill)

This skill works with agent-self-improvement (ClawHub) for external user feedback capture:

Internal Learning: Session analysis (this skill)
External Learning: User feedback via SKILL:agent-self-improvement

### Combined Usage

# Nightly: Internal analysis
SKILL:openclaw-continuous-learning --analyze

# After any output: Capture feedback
SKILL:agent-self-improvement --job <task> --feedback "<user response>"

# Daily: Generate combined improvements
SKILL:agent-self-improvement --improve all

### Feedback Flow

User Response → agent-self-improvement → Directive Hints
        ↓
Session Analysis → openclaw-continuous-learning → Internal Patterns
        ↓
Combined Insights → Agent Optimization

Both skills store learnings in memory/learning/ and can reference each other's data.

### Confidence Scoring

ScoreMeaningBehavior0.3TentativeSuggested but not enforced0.5ModerateApplied when relevant0.7StrongAuto-approved0.9Core behaviorAlways apply

Confidence increases when:

Pattern observed repeatedly
User doesn't correct behavior
Multiple observations agree

Confidence decreases when:

User explicitly corrects
Pattern not observed recently
Contradicting evidence appears

### Instincts

An instinct is a small learned behavior:

id: prefer-simplicity
trigger: "when solving problems"
confidence: 0.7
domain: problem_solving
---
# Prefer Simple Solutions

## Action
Always choose the simplest solution that meets requirements.

## Evidence
- Observed preference for minimal code
- User corrected over-engineered approaches

### Patterns

Aggregated observations grouped by category:

code_style
testing
git
debugging
workflow
communication

### Optimizations

Actionable improvements derived from patterns.

### 1. Agent Self-Improvement

Agent observes its own sessions:
- What works consistently?
- What gets corrected?
- What patterns emerge?

Creates instincts → Applies high-confidence patterns

### 2. User Preference Learning

Learn user preferences from interactions:
- Coding style preferences
- Communication preferences
- Workflow preferences

Adapt behavior accordingly

### 3. Performance Optimization

Detect performance patterns:
- Slow operations
- Bottlenecks
- Optimization opportunities

Suggest improvements

### 4. Error Pattern Detection

Track error patterns:
- Common failures
- Resolution strategies
- Prevention approaches

Build error-handling instincts

### Quick Start

# Analyze sessions (reads agent .jsonl files from ~/.openclaw/agents/)
cd ~/.openclaw/workspace/skills/openclaw-continuous-learning
node scripts/analyze.mjs

# List learned instincts
node scripts/analyze.mjs instincts

# Show optimizations
node scripts/analyze.mjs list

# Show error patterns
node scripts/analyze.mjs errors

### 1. Create storage directory

mkdir -p ~/.openclaw/workspace/memory/learning

### 2. Schedule analysis

Add to cron for periodic analysis:

{
  "id": "continuous-learning",
  "schedule": "0 22 * * *"
}

### 3. Integrate with daily tips

Connect to daily summary for optimization delivery.

### File Structure

~/.openclaw/workspace/
└── memory/
    └── learning/
        ├── instincts.jsonl    # Atomic learnings
        ├── patterns.json      # Aggregated patterns
        └── optimizations.json # Suggestions

### Example Output

🧠 Learning Report

Patterns Detected:
- prefer-simplicity (0.7) ↑2
- test-first (0.5) ↑1
- commit-often (0.3) new

Confidence Changes:
- minimal-code: 0.5 → 0.7

Suggested:
1. Prioritize simple solutions
2. Add pre-commit hooks
3. Enable stricter typing

### Best Practices

Start simple - Few patterns, low confidence
Validate often - Check if patterns still hold
Review suggestions - Don't auto-apply everything
Track confidence - Update based on results
Export/share - Build library of common patterns

### FAQ

How is this different from memory?
Memory stores facts. This learns behavioral patterns and preferences.

How long to see results?
Depends on session volume. Typically 1-2 weeks for meaningful patterns.

Is it safe to auto-apply?
Only high-confidence (0.7+) patterns. Always review suggestions first.

### Related Skills

skill-engineer - Quality-gated skill development
compound-engineering - Session review and learning
memory-setup - Memory configuration
openclaw-daily-tips - Daily optimization tips

Version: 1.1.0
Inspired by: Anthropic's continuous learning patterns, Claude Code homunculus
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: adelpro
- Version: 1.3.0
## Source health
- Status: source_issue
- Known item issue.
- This item's current download entry is known to bounce back to a listing or homepage instead of returning a package file.
- Health scope: item
- Reason: not_found
- Checked at: 2026-05-02T20:54:29.414Z
- Expires at: 2026-05-03T20:54:29.414Z
- Recommended action: Open source listing
## Links
- [Detail page](https://openagent3.xyz/skills/openclaw-continuous-learning)
- [Send to Agent page](https://openagent3.xyz/skills/openclaw-continuous-learning/agent)
- [JSON manifest](https://openagent3.xyz/skills/openclaw-continuous-learning/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openclaw-continuous-learning/agent.md)
- [Download page](https://openagent3.xyz/downloads/openclaw-continuous-learning)