Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Instinct-based learning system for OpenClaw. Analyzes sessions, detects patterns, creates atomic learnings with confidence scoring, and suggests optimization...
Instinct-based learning system for OpenClaw. Analyzes sessions, detects patterns, creates atomic learnings with confidence scoring, and suggests optimization...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
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.
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.
An instinct-based learning system that helps AI agents improve themselves through observation and pattern detection.
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
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
~/.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) β βββββββββββββββββββββββββββββββββββββββββββββ
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
# 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
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.
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
Aggregated observations grouped by category: code_style testing git debugging workflow communication
Actionable improvements derived from patterns.
# 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
mkdir -p ~/.openclaw/workspace/memory/learning
Add to cron for periodic analysis: { "id": "continuous-learning", "schedule": "0 22 * * *" }
Connect to daily summary for optimization delivery.
~/.openclaw/workspace/ βββ memory/ βββ learning/ βββ instincts.jsonl # Atomic learnings βββ patterns.json # Aggregated patterns βββ optimizations.json # Suggestions
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
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.
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
Agent frameworks, memory systems, reasoning layers, and model-native orchestration.
Largest current source with strong distribution and engagement signals.