← All skills
Tencent SkillHub Β· AI

OpenClaw Continuous Learning

Instinct-based learning system for OpenClaw. Analyzes sessions, detects patterns, creates atomic learnings with confidence scoring, and suggests optimization...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Instinct-based learning system for OpenClaw. Analyzes sessions, detects patterns, creates atomic learnings with confidence scoring, and suggests optimization...

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, scripts/analyze.mjs

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.3.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 24 sections Open source page

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

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs1 Scripts
  • SKILL.md Primary doc
  • scripts/analyze.mjs Scripts